forked from phhusson/vendor_hardware_overlay
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up and reorder Redmi 9 overlays.
Changeset: * Fix status bar padding. Fixes phhusson/treble_experimentations#2631 * Set keyguard_carrier_text_margin * Cleanup power_profile.xml * Set quick_qs_offset_height to height of the cutout. * Reorder based on https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/core/res/res/values/config.xml https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/core/res/res/values/dimens.xml https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/packages/SystemUI/res/values/dimens.xml
- Loading branch information
1 parent
2bc9412
commit fb55808
Showing
5 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="navigation_side_padding">85.0dip</dimen> | ||
<dimen name="rounded_corner_content_padding">7.0dip</dimen> | ||
<dimen name="status_bar_padding_start">19.0dip</dimen> | ||
<dimen name="status_bar_padding_end">4.0dip</dimen> | ||
<dimen name="status_bar_padding_top">7.0dip</dimen> | ||
<dimen name="navigation_side_padding">85.0dip</dimen> | ||
<dimen name="keyguard_carrier_text_margin">28.0dip</dimen> | ||
</resources> |
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
Xiaomi/Redmi9/res/values/strings.xml → Xiaomi/Redmi9/res/values/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<bool name="config_dozeAfterScreenOffByDefault">true</bool> | ||
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool> | ||
<bool name="config_useDevInputEventForAudioJack">true</bool> | ||
<string name="config_mainBuiltInDisplayCutout">M84.0014003,76.0002722 C39.8036856,75.9997279 11.8039716,75.9996372 0.00225823708,76 C-11.8004588,76.0003629 -39.8012115,76.0004536 -84,76.0002722 L-84,-4.19220214e-13 L84.0014003,-4.19220214e-13 L84.0014003,76.0002722 Z</string> | ||
<string name="config_mainBuiltInDisplayCutoutRectApproximation">@string/config_mainBuiltInDisplayCutout</string> | ||
<bool name="config_fillMainBuiltInDisplayCutout">false</bool> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="status_bar_height_default">27.636353dip</dimen> | ||
<item type="dimen" name="status_bar_height">@dimen/status_bar_height_portrait</item> | ||
<dimen name="status_bar_height_portrait">27.636353dip</dimen> | ||
<item type="dimen" name="status_bar_height_landscape">@dimen/status_bar_height_portrait</item> | ||
<dimen name="quick_qs_offset_height">27.636353dip</dimen> | ||
<dimen name="navigation_bar_height">47.19998dip</dimen> | ||
<dimen name="navigation_bar_height_landscape">47.19998dip</dimen> | ||
<dimen name="navigation_bar_width">47.19998dip</dimen> | ||
<dimen name="quick_qs_offset_height">48.0dip</dimen> | ||
<dimen name="rounded_corner_radius">20.0dip</dimen> | ||
<dimen name="rounded_corner_radius_bottom">90.0px</dimen> | ||
<dimen name="rounded_corner_radius_top">95.0px</dimen> | ||
<item type="dimen" name="status_bar_height">@dimen/status_bar_height_portrait</item> | ||
<dimen name="status_bar_height_default">27.636353dip</dimen> | ||
<item type="dimen" name="status_bar_height_landscape">@dimen/status_bar_height_portrait</item> | ||
<dimen name="status_bar_height_portrait">27.636353dip</dimen> | ||
<dimen name="rounded_corner_radius_bottom">90.0px</dimen> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters