summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2024-02-27 18:26:58 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2024-02-27 22:13:54 +0000
commitd95d801a1928edad8193c40fd7c0466eaeaf76ba (patch)
treef8b4a83a8d7c0b0913c4508827414d6b72d36b4d /libs/hwui/FrameInfoVisualizer.cpp
parentaf9ab323ec072290ab4615ed8d0d7d847857c468 (diff)
For fixed rotation test assert that PiP is within screen bounds
This is done by asserting on the center point of the PiP window, since in the fixed rotation case the full PiP bounds can temporarily go outside of screen bounds, as it is resizing from landscape fullscreen to final PiP size. The transition also involves rotating the display, which is why we have to first assert against starting bounds in landscape, and then check against the portrait bounds at the end of the transition. At that point we are asserting full PiP bounds though, as it is expected to be fully inside the display bounds. Test: atest EnterPipToOtherOrientation Bug: 275092905 Flag: none Change-Id: I87f42c9c96e5a01c8aff44c6c44a06fb9d29c2de
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions