Merge "Use ACCEL_DEACCEL when swiping up to enter grid" into sc-dev
This commit is contained in:
commit
505b4b2d8f
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