Loading src/com/android/launcher3/allapps/AllAppsTransitionController.java +1 −2 Original line number Diff line number Diff line Loading @@ -283,8 +283,7 @@ public class AllAppsTransitionController return; } float deceleratedProgress = Interpolators.PREDICTIVE_BACK_DECELERATED_EASE.getInterpolation(backProgress); float deceleratedProgress = Interpolators.BACK_GESTURE.getInterpolation(backProgress); float scaleProgress = ScrollableLayoutManager.PREDICTIVE_BACK_MIN_SCALE + (1 - ScrollableLayoutManager.PREDICTIVE_BACK_MIN_SCALE) * (1 - deceleratedProgress); Loading src/com/android/launcher3/views/AbstractSlideInView.java +1 −2 Original line number Diff line number Diff line Loading @@ -288,8 +288,7 @@ public abstract class AbstractSlideInView<T extends Context & ActivityContext> @RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE) public void onBackProgressed(BackEvent backEvent) { final float progress = backEvent.getProgress(); float deceleratedProgress = Interpolators.PREDICTIVE_BACK_DECELERATED_EASE.getInterpolation(progress); float deceleratedProgress = Interpolators.BACK_GESTURE.getInterpolation(progress); mSwipeToDismissProgress.updateValue(deceleratedProgress); } Loading Loading
src/com/android/launcher3/allapps/AllAppsTransitionController.java +1 −2 Original line number Diff line number Diff line Loading @@ -283,8 +283,7 @@ public class AllAppsTransitionController return; } float deceleratedProgress = Interpolators.PREDICTIVE_BACK_DECELERATED_EASE.getInterpolation(backProgress); float deceleratedProgress = Interpolators.BACK_GESTURE.getInterpolation(backProgress); float scaleProgress = ScrollableLayoutManager.PREDICTIVE_BACK_MIN_SCALE + (1 - ScrollableLayoutManager.PREDICTIVE_BACK_MIN_SCALE) * (1 - deceleratedProgress); Loading
src/com/android/launcher3/views/AbstractSlideInView.java +1 −2 Original line number Diff line number Diff line Loading @@ -288,8 +288,7 @@ public abstract class AbstractSlideInView<T extends Context & ActivityContext> @RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE) public void onBackProgressed(BackEvent backEvent) { final float progress = backEvent.getProgress(); float deceleratedProgress = Interpolators.PREDICTIVE_BACK_DECELERATED_EASE.getInterpolation(progress); float deceleratedProgress = Interpolators.BACK_GESTURE.getInterpolation(progress); mSwipeToDismissProgress.updateValue(deceleratedProgress); } Loading