summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2024-02-15 19:56:22 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2024-02-15 23:56:36 +0000
commit1e3222e8dc82c9353f1495ee25977fa0a85c3ba0 (patch)
treeb0d0e773ca6f7b1ccf729b0a3c8695dd6ef2acfe /libs/input/SpriteController.cpp
parent1d895a47dc299cab05ed8168e3b8b3de02d1d8c4 (diff)
Make PiP reentry state to use scale instead of size
Beforehand the state was using fixed size, which could be below minimum size for a given screen size, e.g. after you fold/unfold the device. This change makes it so that the bounds scale is used instead of size, which makes the PiP size always align with PiP Size Spec after reentry. Bug: 316249837 Test: before http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/fiQwpwJW7bnFUeuop8olCB Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/gVg5R7FmwHU5xrxplIHsGH Flag: none Change-Id: I9962a40ccf5e96ab544f580740f5d2870ea8121d
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions