summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2025-02-20 16:31:49 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2025-02-20 16:34:24 -0800
commitad27226a4ec17bc33c5a44523833a4ad6dd64aac (patch)
treed6c113ae67f60176b3efe33e2ee685c89bfe28c0 /libs/androidfw/FileStream.cpp
parentce30832109d7a0e6fa820f293a263d19563f46b7 (diff)
[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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions