diff options
author | Alan Viverette <alanv@google.com> | 2014-06-17 14:51:45 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-06-17 14:51:45 -0700 |
commit | 911743652b597057a1bd7ef8a921e9ff8dce0f4a (patch) | |
tree | 8657a361d0a6c309dcab5c71a548a7f7c4443c4f /graphics | |
parent | 96401d99959afc2034a6b43580a93dae94da684a (diff) | |
download | frameworks_base-911743652b597057a1bd7ef8a921e9ff8dce0f4a.zip frameworks_base-911743652b597057a1bd7ef8a921e9ff8dce0f4a.tar.gz frameworks_base-911743652b597057a1bd7ef8a921e9ff8dce0f4a.tar.bz2 |
Add attributes and accessors for tinting View drawables
Also cleans up handling in setters for managed drawables.
BUG: 15391544
Change-Id: Idc08f7eaea0050feb6403566985a6d58185b81f8
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/drawable/Drawable.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java index cb88e3d..40b55a7 100644 --- a/graphics/java/android/graphics/drawable/Drawable.java +++ b/graphics/java/android/graphics/drawable/Drawable.java @@ -1260,8 +1260,10 @@ public abstract class Drawable { /** * Parses a {@link android.graphics.PorterDuff.Mode} from a tintMode * attribute's enum value. + * + * @hide */ - static PorterDuff.Mode parseTintMode(int value, Mode defaultMode) { + public static PorterDuff.Mode parseTintMode(int value, Mode defaultMode) { switch (value) { case 3: return Mode.SRC_OVER; case 5: return Mode.SRC_IN; |