Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ad27226a authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

[PiP2] Properly scale corner radii while animating

If a task leash is scaled by some factor x,
we need to scale the corner raddi by a factor of (1/x)
to make the rounded corners look visually invariant.

We can enforce this during pinching (i.e. schedulerUserResizePip)
and during the resize animation in PipResizeAnimator.

Bug: 397958290
Flag: com.android.wm.shell.enable_pip2
Test: double tap to resize
Test: pinch PiP to resize

Change-Id: I3b4dcdea7e2e5362d2e6504a49de06d73895cb6a
parent ce308321
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment