diff options
author | Shawn Lin <shawnlin@google.com> | 2021-07-26 08:23:20 +0000 |
---|---|---|
committer | shawnlin <shawnlin@google.com> | 2021-10-19 14:51:20 +0800 |
commit | 16496cb5c1f9d5e745099de153de1ed921aab9ff (patch) | |
tree | 5b17abd0afc1340d8f4ef36a16ef7578fc1261ff /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8172fc3e42e54ac325640afc28fa538a8d8668e8 (diff) |
Add APIs to get system bar heights
In multi-display devices, there might be differnt cutout on each display
which also causes different status bar height.
Now we no longer overlay the status_bar_height dimen and keep it as
default value and add APIs to calculate the status bar size.
- Add APIs for getting status_bar_height & quick_qs_offset_height in
system.
- Add APIs for getting split_shade_header_height and
qs_header_system_icons_area_height in SystemUI.
- Remove all resource overlay for status_bar_height &
quick_qs_offset_height.
Bug: 186604541
Test: atest SmallClockPositionTest DisplayLayoutTest
HideDisplayCutoutOrganizerTest SizeCompatTests
NotificationPanelViewControllerTest
Change-Id: I5a6dfcc6ff06da8ea0fe119fc9d4c089f13b0dff
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions