mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
All apps motion
Bug: 189970327 Test: manual TL;DR;; equation: settleVelocity = releaseVelocity + interpolator 2nd deritive * t Change-Id: I86fec339523fbc3bb347dec4affbd2d1c063d13d
This commit is contained in:
@@ -335,12 +335,10 @@ public abstract class AbstractStateChangeTouchController
|
||||
mCurrentAnimation.dispatchOnStart();
|
||||
if (targetState == LauncherState.ALL_APPS && !UNSTABLE_SPRINGS.get()) {
|
||||
if (mAllAppsOvershootStarted) {
|
||||
|
||||
mLauncher.getAppsView().onRelease();
|
||||
mAllAppsOvershootStarted = false;
|
||||
|
||||
} else {
|
||||
mLauncher.getAppsView().addSpringFromFlingUpdateListener(anim, velocity);
|
||||
mLauncher.getAppsView().addSpringFromFlingUpdateListener(anim, velocity, progress);
|
||||
}
|
||||
}
|
||||
anim.start();
|
||||
|
||||
Reference in New Issue
Block a user