diff options
author | Alan Viverette <alanv@google.com> | 2015-02-27 12:34:30 -0800 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2015-02-27 12:34:30 -0800 |
commit | 25f0e6183b632e6f2ba1963e3a4e94c27824dce7 (patch) | |
tree | 1acd8d54afb21acdf5a6d11a54b113293467e868 /graphics | |
parent | 228fd600cebe51e612357489310bc239d6bf24cc (diff) | |
download | frameworks_base-25f0e6183b632e6f2ba1963e3a4e94c27824dce7.zip frameworks_base-25f0e6183b632e6f2ba1963e3a4e94c27824dce7.tar.gz frameworks_base-25f0e6183b632e6f2ba1963e3a4e94c27824dce7.tar.bz2 |
Revert "Use ObjectAnimator for fading scrollbars, set initial duration to 1500"
Bug: 19522833
Bug: 19528265
This reverts commit 72710f11ecd3baf468bf649283453cb7aafe4d74.
Change-Id: I7235ae3ca53696f029cc18f19fe1d373c4f54bbf
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(); - } - }; } |