Support overriding All Apps EDU animation on drag

Test: Dragging during All Apps EDU animation overrides the animation.
Bug: 160218103
Change-Id: I1c0a2d047bcb43ea7ce30cf87182b392dac313e4
This commit is contained in:
Brian Isganitis
2021-06-29 01:33:25 -04:00
parent 3a7df28e8d
commit ec4a56a311
2 changed files with 63 additions and 33 deletions

View File

@@ -65,12 +65,12 @@ public abstract class AbstractStateChangeTouchController
protected LauncherState mToState;
protected AnimatorPlaybackController mCurrentAnimation;
protected boolean mGoingBetweenStates = true;
// Ratio of transition process [0, 1] to drag displacement (px)
protected float mProgressMultiplier;
private boolean mNoIntercept;
private boolean mIsLogContainerSet;
private float mStartProgress;
// Ratio of transition process [0, 1] to drag displacement (px)
private float mProgressMultiplier;
private float mDisplacementShift;
private boolean mCanBlockFling;
private boolean mAllAppsOvershootStarted;