diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/drawable/Drawable.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java index 98767a7..247f94a 100644 --- a/graphics/java/android/graphics/drawable/Drawable.java +++ b/graphics/java/android/graphics/drawable/Drawable.java @@ -39,7 +39,6 @@ import android.graphics.Xfermode; import android.os.Trace; import android.util.AttributeSet; import android.util.DisplayMetrics; -import android.util.IntProperty; import android.util.StateSet; import android.util.TypedValue; import android.util.Xml; @@ -1372,20 +1371,5 @@ public abstract class Drawable { default: return defaultMode; } } - - /** @hide */ - public static final IntProperty<Drawable> ALPHA = new IntProperty<Drawable>("alpha") { - @Override - public void setValue(Drawable object, int value) { - object.mutate(); - object.setAlpha(value); - object.invalidateSelf(); - } - - @Override - public Integer get(Drawable object) { - return object.getAlpha(); - } - }; } |