Skip to content

Commit 5559cbc

Browse files
dsn5ftdrchen
authored andcommittedOct 10, 2023
[Predictive Back][Search] Update to use decelerate interpolator
PiperOrigin-RevId: 571442671
1 parent b8b1a66 commit 5559cbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎lib/java/com/google/android/material/motion/MaterialMainContainerBackHelper.java

+2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ public void updateBackProgress(
115115
@VisibleForTesting
116116
public void updateBackProgress(
117117
float progress, boolean leftSwipeEdge, float touchY, float collapsedCornerSize) {
118+
progress = interpolateProgress(progress);
119+
118120
float width = view.getWidth();
119121
float height = view.getHeight();
120122
if (width <= 0f || height <= 0f) {

0 commit comments

Comments
 (0)
Please sign in to comment.