diff options
| author | 2022-03-16 01:40:09 +0000 | |
|---|---|---|
| committer | 2022-03-23 19:16:01 +0000 | |
| commit | 020aa38488ccb6bbc6491bc9f1c2765a73837d21 (patch) | |
| tree | b954e26626befe9ac67fe9d4d7cfef6b5328af0a /libs/androidfw/StringPool.cpp | |
| parent | 9d13dc956f319478f1f4fe31f952b6dd0cce53c0 (diff) | |
Fix bubbles IME alignment on tablet
There was a mistake in the math here, instead of using the y location
of the top of the IME, it was just using the height of the IME in
the calculation. This caused the bubbles to move out of the way
of the IME in tablet portrait when they didn't actually have to move.
This also impacted tablet landscape causing the bubbles to NOT move
out of the way of the IME when they should.
Test: manual - have bubbles on tablet in portrait and have the IME
show, bubbles should only move if the IME would
overlap with them.
- have 5 bubbles on tablet in landscape and have the IME
show, bubbles should move above the IME as much as
they can without going past the top of the expanded
view.
Bug: 223912157
Bug: 215063840
Change-Id: Ifd763caef6c521b1083757cade2898b1361198cd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions