summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2022-04-08 21:09:06 +0000
committer Mady Mellor <madym@google.com> 2022-04-08 23:23:52 +0000
commitd303a0262785c2d1da3bb7ab354cdbddcd19f5d4 (patch)
treec2411a97723e9f5566a3b70d96bd3d4dc9bd61e6 /libs/androidfw/Util.cpp
parent89a9dcc8e9a853003a214906c94161684c5b76d0 (diff)
Fix bubble position with IME when the bubble has a custom height
Usually bubbles are full height, but it is possible for a bubble to have a smaller height. In this case the pointer didn't align correctly when the IME came up. This change makes it so that the expanded view will translate up a bit with the bubble (only when the view isn't full height and has space to translate), which keeps it aligned with the pointer. This is a bit of a nicer experience because the IME doesn't overlap as much of the app as it would before. Test: manual - have a bubble that has a small height, focus the IME => verify the pointer follows the bubble Bug: 223906486 Change-Id: I1542f06887ccc8370a762fc6ebe42aca26559cb4
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions