commit | d3897cbab7f3f49fb388fe83fd7030ea14a73f83 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Thu Apr 05 12:20:06 2018 -0700 |
committer | Tony Wickham <twickham@google.com> | Thu Apr 05 12:20:06 2018 -0700 |
tree | 941f26052c867ed02af56a3fab38d8b5eba8d759 | |
parent | 5c7e6c258e06224c7c0d315f8c5b30eac4b2f9e5 [diff] |
Parallax all apps up slightly as you swipe up from overview Change-Id: Ib587844ca8a5a61322902c5415eef19186062aa2
diff --git a/quickstep/src/com/android/launcher3/uioverrides/AllAppsState.java b/quickstep/src/com/android/launcher3/uioverrides/AllAppsState.java index 0e3d2a4..d2f5487 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/AllAppsState.java +++ b/quickstep/src/com/android/launcher3/uioverrides/AllAppsState.java
@@ -89,9 +89,7 @@ @Override public float[] getOverviewScaleAndTranslationYFactor(Launcher launcher) { - // Keep the same transition properties as overview, so that we don't move around when - // transitioning to All Apps. - return LauncherState.OVERVIEW.getOverviewScaleAndTranslationYFactor(launcher); + return new float[] {1f, -0.2f}; } @Override