mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Merge "Fix jumpiness when dragging surface down and up." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dc51afd920
@@ -32,6 +32,7 @@ import static com.android.launcher3.util.window.RefreshRateTracker.getSingleFram
|
||||
|
||||
import android.animation.Animator.AnimatorListener;
|
||||
import android.animation.ValueAnimator;
|
||||
import android.util.Log;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.launcher3.Launcher;
|
||||
@@ -211,6 +212,10 @@ public abstract class AbstractStateChangeTouchController
|
||||
mFlingBlockCheck.blockFling();
|
||||
}
|
||||
}
|
||||
if (mFromState == LauncherState.ALL_APPS) {
|
||||
mAllAppsOvershootStarted = true;
|
||||
mLauncher.getAppsView().onPull(-progress , -progress);
|
||||
}
|
||||
} else if (progress >= 1) {
|
||||
if (reinitCurrentAnimation(true, isDragTowardPositive)) {
|
||||
mDisplacementShift = displacement;
|
||||
|
||||
Reference in New Issue
Block a user