Update status bar height to center the hole punch cutout

Bug: 253071694
Test: make
Change-Id: I036eff89d66fd93a7dba13408d920b726bf644bd
This commit is contained in:
Shawn Lin 2022-10-17 17:25:03 +08:00
parent 117e758bf7
commit b0dabc8ab3
2 changed files with 8 additions and 8 deletions

View file

@ -80,9 +80,9 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation"> <string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 492,0 M 492,0
h 124 h 118
v 118 v 128
h -124 h -118
Z Z
@left @left
</string> </string>
@ -94,7 +94,7 @@
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
--> -->
<dimen name="status_bar_height_height_default">74px</dimen> <dimen name="status_bar_height_height_default">74px</dimen>
<dimen name="status_bar_height_portrait">118px</dimen> <dimen name="status_bar_height_portrait">128px</dimen>
<dimen name="status_bar_height_landscape">74px</dimen> <dimen name="status_bar_height_landscape">74px</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. --> <!-- Adjustment for software rounded corners since corners aren't perfectly round. -->

View file

@ -34,9 +34,9 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation"> <string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 653,0 M 653,0
h 145 h 130
v 130 v 145
h -145 h -130
Z Z
@left @left
</string> </string>
@ -194,7 +194,7 @@
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
--> -->
<dimen name="status_bar_height_default">28dp</dimen> <dimen name="status_bar_height_default">28dp</dimen>
<dimen name="status_bar_height_portrait">130px</dimen> <dimen name="status_bar_height_portrait">145px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen> <dimen name="status_bar_height_landscape">28dp</dimen>
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default--> <!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->