Refactor zooming animation, and apply it to customize drawer too.

Change-Id: I0bbd5a68adc82cea02dc583ac3d04e3de8c0346e
This commit is contained in:
Patrick Dubroy
2010-08-06 16:01:33 -07:00
parent 9cf976350b
commit 3ec8bdd576
6 changed files with 147 additions and 94 deletions
+1 -1
View File
@@ -1181,7 +1181,7 @@ public class Workspace extends ViewGroup
new PropertyAnimator(duration, cl, "translationX", 0.0f),
new PropertyAnimator(duration, cl, "translationY", 0.0f),
new PropertyAnimator(duration, cl, "scaleX", 1.0f),
new PropertyAnimator(duration, cl, "scaleY", cl.getScaleY(), 1.0f),
new PropertyAnimator(duration, cl, "scaleY", 1.0f),
new PropertyAnimator(duration, cl, "dimmedBitmapAlpha", 0.0f));
}
s.addListener(mUnshrinkAnimationListener);