Updating Clings. (5057945, 5056643)

Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
This commit is contained in:
Winson Chung committed 2011-09-18 18:38:11 -07:00
1 parent 23409c2a12
commit 7d7541e7b4
54 files changed
+515 -334

No files matched your search

@@ -271,7 +271,7 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
/* LauncherTransitionable overrides */
@Override
public void onLauncherTransitionStart(Animator animation, boolean toWorkspace) {
public void onLauncherTransitionStart(Launcher l, Animator animation, boolean toWorkspace) {
mInTransition = true;
// isHardwareAccelerated() checks if we're attached to a window and if that
// window is HW accelerated-- we were sometimes not attached to a window
@@ -294,14 +294,19 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
}
@Override
public void onLauncherTransitionEnd(Animator animation, boolean toWorkspace) {
public void onLauncherTransitionEnd(Launcher l, Animator animation, boolean toWorkspace) {
mInTransition = false;
if (animation != null) {
setLayerType(LAYER_TYPE_NONE, null);
}
if (!toWorkspace && !LauncherApplication.isScreenLarge()) {
mAppsCustomizePane.hideScrollingIndicator(false);
if (!toWorkspace) {
// Dismiss the cling if necessary
l.dismissWorkspaceCling(null);
if (!LauncherApplication.isScreenLarge()) {
mAppsCustomizePane.hideScrollingIndicator(false);
}
}
}