Separate notch value

This commit is contained in:
rinmichi 2023-03-23 22:52:09 +07:00
parent 05634432ef
commit 70dbca6599
7 changed files with 25 additions and 22 deletions

View file

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_header_height_keyguard">40dp</dimen>
<dimen name="status_bar_padding_start">8.0dip</dimen>
<dimen name="status_bar_padding_end">8.0dip</dimen>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_top">30.0px</dimen>
</resources>

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="physical_power_button_center_screen_location_y">1035px</dimen>
</resources>

View file

@ -1,11 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="physical_power_button_center_screen_location_y">1035px</dimen>
<dimen name="rounded_corner_content_padding">52.0px</dimen>
<dimen name="status_bar_padding_start">4.5dp</dimen>
<dimen name="status_bar_padding_end">4.5dp</dimen>
<dimen name="status_bar_header_height_keyguard">93px</dimen>
<dimen name="notch_height">106px</dimen>
<dimen name="notch_width">66px</dimen>
<dimen name="keyguard_carrier_text_margin">4.5dp</dimen>
<dimen name="system_icons_keyguard_padding_end">4.5dp</dimen>
<dimen name="rounded_corner_content_padding">52.0px</dimen>
<dimen name="keyguard_carrier_text_margin">4.5dp</dimen>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_height">28.0dip</dimen>
</resources>

View file

@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- displayCutout -->
<string name="config_mainBuiltInDisplayCutout">M 0,0 H -37 V 93 H 37 V 0 H 0 Z</string>
<!-- bools.xml files -->
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_supportAudioSourceUnprocessed">true</bool>
@ -13,15 +10,6 @@
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<!-- dimens.xml files -->
<dimen name="rounded_corner_radius">106.0px</dimen>
<dimen name="rounded_corner_radius_bottom">106.0px</dimen>
<dimen name="rounded_corner_radius_top">106.0px</dimen>
<dimen name="status_bar_height">93.0px</dimen>
<dimen name="status_bar_height_default">93px</dimen>
<dimen name="status_bar_height_portrait">93.0px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- fraction.xml files -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">100%</fraction>

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">M 0,0 H -37 V 93 H 37 V 0 H 0 Z</string>
<dimen name="rounded_corner_radius_bottom">102.0px</dimen>
<dimen name="rounded_corner_radius_top">102.0px</dimen>
<dimen name="status_bar_height">96.0px</dimen>
<dimen name="status_bar_height_default">96.0px</dimen>
<dimen name="status_bar_height_landscape">24.0dip</dimen>
<dimen name="status_bar_height_portrait">96.0px</dimen>
</resources>