diff options
author | Winson Chung <winsonc@google.com> | 2013-07-16 11:11:32 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2013-07-17 11:15:22 -0700 |
commit | d2be381d36485059d0108ae89cfe57a30a7a8499 (patch) | |
tree | 105185b3b15aed3a1ea825a8f6f73e54a1c5fec2 /src/com/android/launcher3/AppsCustomizeTabHost.java | |
parent | b5da44583957ffe9b0311074eeb77d33e753a9e5 (diff) | |
download | android_packages_apps_Trebuchet-d2be381d36485059d0108ae89cfe57a30a7a8499.tar.gz android_packages_apps_Trebuchet-d2be381d36485059d0108ae89cfe57a30a7a8499.tar.bz2 android_packages_apps_Trebuchet-d2be381d36485059d0108ae89cfe57a30a7a8499.zip |
Removing old scroll indicator and adding page indicator dots.
Change-Id: I44c5b4b532e8464010d45dd0a3dfeccb2d475216
Diffstat (limited to 'src/com/android/launcher3/AppsCustomizeTabHost.java')
-rw-r--r-- | src/com/android/launcher3/AppsCustomizeTabHost.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/com/android/launcher3/AppsCustomizeTabHost.java b/src/com/android/launcher3/AppsCustomizeTabHost.java index 51d2fba17..9868e8ba5 100644 --- a/src/com/android/launcher3/AppsCustomizeTabHost.java +++ b/src/com/android/launcher3/AppsCustomizeTabHost.java @@ -178,13 +178,9 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona } private void onTabChangedStart() { - mAppsCustomizePane.hideScrollingIndicator(false); } private void reloadCurrentPage() { - if (!LauncherAppState.getInstance().isScreenLarge()) { - mAppsCustomizePane.flashScrollingIndicator(true); - } mAppsCustomizePane.loadAssociatedPages(mAppsCustomizePane.getCurrentPage()); mAppsCustomizePane.requestFocus(); } @@ -370,9 +366,6 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona if (toWorkspace) { // Going from All Apps -> Workspace setVisibilityOfSiblingsWithLowerZOrder(VISIBLE); - // Stop the scrolling indicator - we don't want All Apps to be invalidating itself - // during the transition, especially since it has a hardware layer set on it - mAppsCustomizePane.cancelScrollingIndicatorAnimations(); } else { // Going from Workspace -> All Apps mContent.setVisibility(VISIBLE); @@ -380,10 +373,6 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona // Make sure the current page is loaded (we start loading the side pages after the // transition to prevent slowing down the animation) mAppsCustomizePane.loadAssociatedPages(mAppsCustomizePane.getCurrentPage(), true); - - if (!LauncherAppState.getInstance().isScreenLarge()) { - mAppsCustomizePane.showScrollingIndicator(true); - } } if (mResetAfterTransition) { @@ -421,10 +410,6 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona // prevent slowing down the animation) mAppsCustomizePane.loadAssociatedPages(mAppsCustomizePane.getCurrentPage()); - if (!LauncherAppState.getInstance().isScreenLarge()) { - mAppsCustomizePane.hideScrollingIndicator(false); - } - // Going from Workspace -> All Apps // NOTE: We should do this at the end since we check visibility state in some of the // cling initialization/dismiss code above. |