summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2023-05-18 01:47:25 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2023-05-18 19:18:06 +0000
commite0a81640e53063fb028db45d04d41d073ffd6bab (patch)
tree747f0e5d24eea4f25f22bde54efe27cdce5b7110 /cmds/bootanimation/BootAnimation.cpp
parentd401bb91d697aaf454ab71813076ef94e2cd792f (diff)
Make PiP move away to not occlude IME when it's too big
Keep clear algorithm don't change position if there is no space, but in corner case scenario if the insets simply weren't big enough to even contain PiP height, it would lead to occluding IME. With this change we are now moving PiP when it doesn't fit in the insets to be positioned according to the gravity rules, even if user has interacted with it, which also brings PiP down when IME hides. Bug: 283172848 Test: http://recall/-/g8x7ZkgdfbqscttAA9wzl9/4Qxus5Q16e4SyHtJPgdtS Change-Id: Ia4c797ef484bc917cf1579ab2f0f72cfd4646169
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions