From 8edd75c8bb0729a10cb39f614183e3e9ae4288e8 Mon Sep 17 00:00:00 2001 From: Michael Jurka Date: Fri, 17 Dec 2010 20:15:06 -0800 Subject: removing workaround for fixed animator bug Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5 --- src/com/android/launcher2/AllAppsTabbed.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/com/android/launcher2/AllAppsTabbed.java') diff --git a/src/com/android/launcher2/AllAppsTabbed.java b/src/com/android/launcher2/AllAppsTabbed.java index 4feb9984c..2cc0a6bb2 100644 --- a/src/com/android/launcher2/AllAppsTabbed.java +++ b/src/com/android/launcher2/AllAppsTabbed.java @@ -16,9 +16,10 @@ package com.android.launcher2; -import java.util.ArrayList; +import com.android.launcher.R; import android.animation.Animator; +import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.content.Context; @@ -32,7 +33,7 @@ import android.widget.TabHost; import android.widget.TabWidget; import android.widget.TextView; -import com.android.launcher.R; +import java.util.ArrayList; /** * Implements a tabbed version of AllApps2D. @@ -91,9 +92,9 @@ public class AllAppsTabbed extends TabHost implements AllAppsView { final float alpha = mAllApps.getAlpha(); ValueAnimator alphaAnim = ObjectAnimator.ofFloat(mAllApps, "alpha", alpha, 0.0f). setDuration(duration); - alphaAnim.addListener(new LauncherAnimatorListenerAdapter() { + alphaAnim.addListener(new AnimatorListenerAdapter() { @Override - public void onAnimationEndOrCancel(Animator animation) { + public void onAnimationEnd(Animator animation) { String tag = getCurrentTabTag(); if (tag == TAG_ALL) { mAllApps.setAppFilter(AllAppsPagedView.ALL_APPS_FLAG); -- cgit v1.2.3