summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsTransitionController.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-07-06 15:03:59 -0700
committerHyunyoung Song <hyunyoungs@google.com>2016-07-06 15:03:59 -0700
commit230b2b7f441cef5c842f0c6f13a0b91db043a94c (patch)
tree4dec9cff9d1a1dc4107cff656fa0038706720287 /src/com/android/launcher3/allapps/AllAppsTransitionController.java
parent8db7d68aaccb58a646d24080d3fa7e093900e11b (diff)
downloadandroid_packages_apps_Trebuchet-230b2b7f441cef5c842f0c6f13a0b91db043a94c.tar.gz
android_packages_apps_Trebuchet-230b2b7f441cef5c842f0c6f13a0b91db043a94c.tar.bz2
android_packages_apps_Trebuchet-230b2b7f441cef5c842f0c6f13a0b91db043a94c.zip
Second workspace page icons should not show up when all apps is shown in landscape.
b/29931405 > Also some method names to setTranslation -> setTranslationAndAlpha to match its implementation. Change-Id: Icb6ec5df8a267a9024803c70a694ea9b76e5e34d
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsTransitionController.java')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsTransitionController.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsTransitionController.java b/src/com/android/launcher3/allapps/AllAppsTransitionController.java
index 87236aa91..0babc1a80 100644
--- a/src/com/android/launcher3/allapps/AllAppsTransitionController.java
+++ b/src/com/android/launcher3/allapps/AllAppsTransitionController.java
@@ -288,14 +288,14 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
mDecelInterpolator.getInterpolation(alpha))));
mAppsView.getContentView().setAlpha(alpha);
mAppsView.setTranslationY(progress);
- mWorkspace.setWorkspaceTranslation(Direction.Y,
+ mWorkspace.setWorkspaceTranslationAndAlpha(Direction.Y,
PARALLAX_COEFFICIENT * (-mShiftRange + progress),
mAccelInterpolator.getInterpolation(workspaceHotseatAlpha));
if (!mLauncher.getDeviceProfile().isVerticalBarLayout()) {
- mWorkspace.setHotseatTranslation(Direction.Y, -mShiftRange + progress,
+ mWorkspace.setHotseatTranslationAndAlpha(Direction.Y, -mShiftRange + progress,
mAccelInterpolator.getInterpolation(workspaceHotseatAlpha));
} else {
- mWorkspace.setHotseatTranslation(Direction.Y,
+ mWorkspace.setHotseatTranslationAndAlpha(Direction.Y,
PARALLAX_COEFFICIENT * (-mShiftRange + progress),
mAccelInterpolator.getInterpolation(workspaceHotseatAlpha));
}