Update predictive back progress interpolator
Bug: 332512902 Flag: ACONFIG com.android.systemui.predictive_back_sysui TRUNKFOOD Test: Manual, i.e. analysing screenrecordings and verify that there are no more animation jumps at the start/end of the back animations Change-Id: I99b13199032f7098fedb1cbd02cfe478d6fbb1f7
This commit is contained in:
1 parent
60d4e8d3b8
commit
75dd62fd22
2 files changed
+2
-4
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user