removing workaround for fixed animator bug

Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5
This commit is contained in:
Michael Jurka
2010-12-17 20:15:06 -08:00
parent 800242b5b7
commit 8edd75c8bb
6 changed files with 32 additions and 104 deletions
+2 -2
View File
@@ -304,13 +304,13 @@ public class CellLayout extends ViewGroup implements Dimmable {
AnimatorSet bouncer = new AnimatorSet();
bouncer.play(scaleUp).before(scaleDown);
bouncer.play(scaleUp).with(alphaFadeOut);
bouncer.addListener(new LauncherAnimatorListenerAdapter() {
bouncer.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationStart(Animator animation) {
setHover(true);
}
@Override
public void onAnimationEndOrCancel(Animator animation) {
public void onAnimationEnd(Animator animation) {
setHover(false);
setHoverScale(1.0f);
setHoverAlpha(1.0f);