Update status bar height to center the hole punch cutout am: a9187a3fae am: 2a600e256d

Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/20193742

Change-Id: I5d0b5459965a32d61629a6cee567c6ed3058177c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Shawn Lin 2022-10-27 07:42:50 +00:00 committed by Automerger Merge Worker
commit 9fdf1f9145
4 changed files with 4 additions and 4 deletions

View file

@ -61,7 +61,7 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation"> <string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 653,0 M 653,0
h 145 h 145
v 130 v 144
h -145 h -145
Z Z
@left @left

View file

@ -30,7 +30,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">144px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen> <dimen name="status_bar_height_landscape">28dp</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

@ -60,7 +60,7 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation"> <string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 480,0 M 480,0
h 145 h 145
v 118 v 136
h -145 h -145
Z Z
@left @left

View file

@ -30,7 +30,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">118px</dimen> <dimen name="status_bar_height_portrait">136px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen> <dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. --> <!-- Adjustment for software rounded corners since corners aren't perfectly round. -->