Remove resource overlays for system bar heights am: fd07328e5d am: 99167d2ec3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/15853909 Change-Id: I5296175591d2acc8f9e60f62888b915c6efcbb57
This commit is contained in:
commit
6b2868c33e
4 changed files with 16 additions and 21 deletions
|
@ -80,9 +80,9 @@
|
|||
|
||||
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
|
||||
M 492,0
|
||||
h 118
|
||||
h 124
|
||||
v 118
|
||||
h -118
|
||||
h -124
|
||||
Z
|
||||
@left
|
||||
</string>
|
||||
|
@ -90,12 +90,10 @@
|
|||
<!-- Radius of the software rounded corners. -->
|
||||
<dimen name="rounded_corner_radius">28px</dimen>
|
||||
|
||||
<!-- Height of the status bar in portrait. The height should be
|
||||
Max((status bar content height + waterfall top size), top cutout size) -->
|
||||
<dimen name="status_bar_height_portrait">124px</dimen>
|
||||
<dimen name="status_bar_height_landscape">74px</dimen>
|
||||
<!-- Height of area above QQS where battery/time go (equal to status bar) -->
|
||||
<dimen name="quick_qs_offset_height">124px</dimen>
|
||||
<!-- Height of the status bar.
|
||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||
-->
|
||||
<dimen name="status_bar_height_height">74px</dimen>
|
||||
|
||||
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
|
||||
<dimen name="rounded_corner_radius_adjustment">5px</dimen>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||
<dimen name="status_bar_padding_top">1px</dimen>
|
||||
|
||||
<!-- Height of the status bar header bar when on Keyguard (match status_bar_portrait) -->
|
||||
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height_portrait</dimen>
|
||||
<!-- Height of the status bar header bar when on Keyguard (match status_bar_height) -->
|
||||
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
|
||||
|
||||
<!-- Padding for the system icons on the keyguard (when no multi user switch is showing).
|
||||
The icons always have a 4dp padding in the container so we only need 26 extra px of padding
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
|
||||
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
|
||||
M 653,0
|
||||
h 130
|
||||
h 145
|
||||
v 130
|
||||
h -130
|
||||
h -145
|
||||
Z
|
||||
@left
|
||||
</string>
|
||||
|
@ -195,13 +195,10 @@
|
|||
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
||||
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
||||
|
||||
<!-- Height of the status bar in portrait. The height should be
|
||||
Max((status bar content height + waterfall top size), top cutout size) -->
|
||||
<dimen name="status_bar_height_portrait">145px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
||||
<!-- Height of area above QQS where battery/time go (equal to status bar) -->
|
||||
<dimen name="quick_qs_offset_height">145px</dimen>
|
||||
<!-- Height of the status bar.
|
||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||
-->
|
||||
<dimen name="status_bar_height">28dp</dimen>
|
||||
|
||||
<!-- If face auth sends the user directly to home/last open app, or stays on keyguard by default-->
|
||||
<bool name="config_faceAuthDismissesKeyguard">false</bool>
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||
<dimen name="status_bar_padding_top">1px</dimen>
|
||||
|
||||
<!-- Height of the status bar header bar when on Keyguard (match status_bar_portrait) -->
|
||||
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height_portrait</dimen>
|
||||
<!-- Height of the status bar header bar when on Keyguard (match status_bar_height) -->
|
||||
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
|
||||
|
||||
<!-- Padding for the system icons on the keyguard (when no multi user switch is showing).
|
||||
The icons always have a 4dp padding in the container so we only need 26 extra px of padding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue