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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22188102

Change-Id: I052941fca6d5def9bd9a7a37a0b0d0a8c287af69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jon Miranda
2023-03-22 17:44:18 +00:00
committed by Automerger Merge Worker

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);