diff options
| author | 2023-06-10 00:35:28 +0000 | |
|---|---|---|
| committer | 2023-06-10 01:36:59 +0000 | |
| commit | ef4a74170f2acc1150fc929775f084c4923c9f55 (patch) | |
| tree | 654acc8eb0af24a53c635aa008b725d6bf183f1c /libs/androidfw/StringPool.cpp | |
| parent | c831c399fa479edecdbaa22deff3937e7b7b5f19 (diff) | |
Fix stashed PiP so it only moves up/down if outside of insets
Add unit tests for adjust() method in PhonePipKeepClearAlgorithm.
This covers test cases for applying gravity, moving PiP away from
keep clear areas (which is equivalent to findUnoccludedPosition test
cases), and for ignoring keep clear areas if PiP is stashed, testing
only the up/down movement added by this change.
Bug: 286478425
Test: atest PhonePipKeepClearAlgorithmTest
Test: before http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/dY9IMjhv5eBf0501pUCPKp
Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/eLrBdqzAKlGiNvFetdIsh9
Change-Id: I478d364a31652f6507d2a289295d336b62d0db81
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions