Merge "Use ACCEL_DEACCEL when swiping up to enter grid" into sc-dev am: 505b4b2d8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13790518 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9d511674e8911d75b8890da3d1ad3bb8fb558493
This commit is contained in:
commit
a8a86b7ed1
1 file changed
+3
-1
@@ -934,7 +934,9 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<?>, Q extends
|
||||
duration = Math.min(MAX_SWIPE_DURATION, 2 * baseDuration);
|
||||
}
|
||||
}
|
||||
Interpolator interpolator = endTarget == RECENTS ? OVERSHOOT_1_2 : DEACCEL;
|
||||
Interpolator interpolator =
|
||||
endTarget == RECENTS ? (mDp.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get()
|
||||
? ACCEL_DEACCEL : OVERSHOOT_1_2) : DEACCEL;
|
||||
|
||||
if (endTarget.isLauncher) {
|
||||
mInputConsumerProxy.enable();
|
||||
|
||||
Reference in new issue
Block a user