Merge "Update start radius for reveal animation to match spec." into tm-qpr-dev

This commit is contained in:
Jon Miranda
2023-03-22 16:51:27 +00:00
committed by Android (Google) Code Review

View File

@@ -345,8 +345,8 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
}
Rect stashedRect = new Rect(left, top, right, bottom);
float radius = 0;
float stashedRadius = stashedRect.width() / 2f;
float radius = viewBounds.height() / 2f;
float stashedRadius = stashedRect.height() / 2f;
return new RoundedRectRevealOutlineProvider(radius, stashedRadius, viewBounds, stashedRect)
.createRevealAnimator(view, !isStashed, 0);