Swipe interaction changes on home screen

> Increasing the distance to travel for the first swipe
> Adding support for custom interpolators when building an animation
> When quickly swiping twice from home, finished the first animation

Change-Id: Ibc3c8667e9b927376fd99f08f0ca027f2398914b
This commit is contained in:
Sunny Goyal
2018-03-21 09:32:27 -07:00
parent 9869f75825
commit 7a80b59e97
10 changed files with 266 additions and 98 deletions

View File

@@ -58,7 +58,7 @@ public class OverviewState extends LauncherState {
}
@Override
public float getOverviewTranslationX(Launcher launcher) {
public float getOverviewTranslationFactor(Launcher launcher) {
return 0;
}