Parallax all apps up slightly as you swipe up from overview

Change-Id: Ib587844ca8a5a61322902c5415eef19186062aa2
This commit is contained in:
Tony Wickham
2018-04-05 12:20:06 -07:00
parent 5c7e6c258e
commit d3897cbab7
@@ -89,9 +89,7 @@ public class AllAppsState extends LauncherState {
@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