diff options
author | Tony <twickham@google.com> | 2019-03-03 15:32:12 -0800 |
---|---|---|
committer | Tony <twickham@google.com> | 2019-03-03 15:43:50 -0800 |
commit | 4bb4b89b9a677ae3548fefdcbc11be9bd906c24a (patch) | |
tree | a2adacb392e5c6c4f23e55e634f6427017383840 /src/com/android/launcher3/allapps | |
parent | 9db9d62b278c69ba62993696f0456ab5c0e39a95 (diff) | |
download | android_packages_apps_Trebuchet-4bb4b89b9a677ae3548fefdcbc11be9bd906c24a.tar.gz android_packages_apps_Trebuchet-4bb4b89b9a677ae3548fefdcbc11be9bd906c24a.tar.bz2 android_packages_apps_Trebuchet-4bb4b89b9a677ae3548fefdcbc11be9bd906c24a.zip |
Scale and translate hotseat with workspace instead of all apps
- Move the hotseat alongside workspace instead of on top of all apps in xml layout
- Set pivot point of hotseat to match the workspace's, and apply the same scale
- Translate the hotseat with the workspace instead of all apps
- SpringLoadedState does not scale or translate the hotseat
Change-Id: Ic45fe99f83f0e0012afa78073d9577e65da444e2
Diffstat (limited to 'src/com/android/launcher3/allapps')
-rw-r--r-- | src/com/android/launcher3/allapps/AllAppsTransitionController.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java index bcb5eec61..93bf69daf 100644 --- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java +++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java @@ -124,12 +124,6 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil float shiftCurrent = progress * mShiftRange; mAppsView.setTranslationY(shiftCurrent); - float hotseatTranslation = -mShiftRange + shiftCurrent; - - if (!mIsVerticalLayout) { - mLauncher.getHotseat().setTranslationY(hotseatTranslation); - mLauncher.getWorkspace().getPageIndicator().setTranslationY(hotseatTranslation); - } // Use a light system UI (dark icons) if all apps is behind at least half of the // status bar. |