summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2020-04-21 17:26:36 -0700
committerchaviw <chaviw@google.com>2020-06-18 18:01:58 -0700
commitc9889ea63c37dc107d87977c03faba91e5dfa8ed (patch)
tree7df1824293ee8d98fd90b5f1e6f8e98446c87b83 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent85cac3bc25e57e1da0c8c16bc02b368317fd1b9f (diff)
Use WC bounds for insets calculation
When computing insets based on navigation bar and status bar, use the window's bounds instead of display bounds to ensure it compenstates for the display area. The system bars should use their bounds to ensure they aren't creating insets outside the display area. The window bounds are also used when calculating the size and placement of the system bars. Bug: 156676090 Test: DisplayPolicyLayoutTests Test: DisplayPolicyInsetsTests Test: InsetsPolicyTest Test: InsetsSourceProviderTest Test: InsetsStateControllerTest Change-Id: I9a3481fcd0146463c10077967b49bf46190f7946
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions