diff options
author | Alan Viverette <alanv@google.com> | 2013-11-04 13:46:29 -0800 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2013-11-04 13:46:29 -0800 |
commit | a211dd28b93473c452d68432c602d5209b01c178 (patch) | |
tree | bbb88efd1468f638e4fb85cd6decc09de0f05747 /api/current.txt | |
parent | d9ad63b9f7ead97e80d5e8478b67cbb3e4731308 (diff) | |
download | frameworks_base-a211dd28b93473c452d68432c602d5209b01c178.zip frameworks_base-a211dd28b93473c452d68432c602d5209b01c178.tar.gz frameworks_base-a211dd28b93473c452d68432c602d5209b01c178.tar.bz2 |
Add support for using ColorStateList as GradientDrawable's stroke
Refactors isOpaque() so that ColorStateList APIs previously added
on master branch are no longer needed.
Change-Id: I104c9a14ef81db6c4cf141e8fd0ebbd20bd52ee9
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index 745b33d93..238a5e1 100644 --- a/api/current.txt +++ b/api/current.txt @@ -7634,11 +7634,9 @@ package android.content.res { ctor public ColorStateList(int[][], int[]); method public static android.content.res.ColorStateList createFromXml(android.content.res.Resources, org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; method public int describeContents(); - method public int getColorAt(int); method public int getColorForState(int[], int); - method public int getCount(); method public int getDefaultColor(); - method public int[] getStateSpecAt(int); + method public boolean isOpaque(); method public boolean isStateful(); method public static android.content.res.ColorStateList valueOf(int); method public android.content.res.ColorStateList withAlpha(int); @@ -10284,6 +10282,7 @@ package android.graphics.drawable { method public void draw(android.graphics.Canvas); method public int getOpacity(); method public android.graphics.drawable.GradientDrawable.Orientation getOrientation(); + method public boolean onStateChange(int[]); method public void setAlpha(int); method public void setColor(int); method public void setColor(android.content.res.ColorStateList); @@ -10298,7 +10297,9 @@ package android.graphics.drawable { method public void setShape(int); method public void setSize(int, int); method public void setStroke(int, int); + method public void setStroke(int, android.content.res.ColorStateList); method public void setStroke(int, int, float, float); + method public void setStroke(int, android.content.res.ColorStateList, float, float); method public void setUseLevel(boolean); field public static final int LINE = 2; // 0x2 field public static final int LINEAR_GRADIENT = 0; // 0x0 |