summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2022-09-14 17:52:20 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2022-09-19 21:03:44 +0000
commit62f6fe2294dfd866beb62fdf401f27d0c7966baa (patch)
treeea7ee1dee7a449be4e6377e9d78cd4b84996fd1d /libs/androidfw/AttributeResolution.cpp
parent66f5377be9fd4fbabb2179fdde8d7f30b150ce58 (diff)
Move PiP swiftly in response to IME with keep clear areas flag enabled.
If the keep clear algorithm is enabled, PiP window will avoid the keep clear areas and move away from occluding keyboard. When IME is shown, we trigger the movement right away, for a smoother experience. If there is another animation ongoing, we delay moving PiP again, so that it's more smooth overall. Finally, we always apply gravity bottom with keep clear areas flag on, so that it goes back down after IME dismiss. Test: manually, http://recall/-/blXo3gy66k4fDYh7gFkrpe Bug: 183746978 Change-Id: I32c52e4b6dd3c083b2168fda6a8b3b13facdac69
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions