mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user