diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-02-26 22:49:29 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-02-27 14:53:50 +0800 |
commit | 55d7c4079d5b03253f14dfbc70df2900ecf11864 (patch) | |
tree | 9161d805da6e9c2028cf1643331acf0127fff5c6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f416c7f9cd7c6b87165cf7f649ea3504046f5fed (diff) |
Notify fixed rotation transformed insets state
- Use the corresponding insets state in notifyInsetsChanged and
notifyInsetsControlChanged.
- Move duplicated logic from addWindow and getWindowInsets to
getLayoutHint and make it fixed-rotation-transform aware.
- Get navigation bar position by display frames for calculating
insets frame, so it isn't always associated to real display.
Fix: 146415226
Test: atest DisplayPolicyLayoutTests
Change-Id: I581d8c234063ad399cb453f53fccc176089a020b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions