summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYunfan Chen <yunfanc@google.com>2021-09-15 18:38:03 +0900
committerYunfan Chen <yunfanc@google.com>2021-10-07 14:57:42 +0900
commit264193355857e409e9e0c0410425b3a318b6979d (patch)
treeba0d6153fde034611015b420317e9ed19c246d2a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2496d18f313c0dad8719c9ba65b31548d101dbd8 (diff)
Simulate extra navigation bar for fixed rotation
The change is to consider extra navigation bar and all other windows providing insets when simulate display for fixed rotation. This change introduced a potential behavior divergence between flexible insets and the legacy one. For the legacy usage, the extra navigation bar will be layout during the simulated layout process for the display frame calculation, and all the insets without a window, insets of status bar, navigation bar and extra navigation bar will be included in the result. For the new flexible insets implementation, all the windows providing insets will be simulated. Currently, there's no actual difference, but the behavior will be different if there're more window providing insets during fixed rotation. Bug: 199472694 Test: Check fixed rotation behavior with taskbar. Test: Check result of DisplayPolicy#simulateLayoutDisplay(). Change-Id: I5db1cb78dee50e593d229922d39c8898d5d4eef7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions