Skip to content

Commit

Permalink
Clean up and reorder Redmi 9 overlays.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildbeetle committed Jul 3, 2024
1 parent 2bc9412 commit fb55808
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 4 additions & 2 deletions Xiaomi/Redmi9-SystemUI/res/values/dimens.xml
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>
7 changes: 0 additions & 7 deletions Xiaomi/Redmi9/res/values/bools.xml

This file was deleted.

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>
12 changes: 6 additions & 6 deletions Xiaomi/Redmi9/res/values/dimens.xml
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>
3 changes: 2 additions & 1 deletion Xiaomi/Redmi9/res/xml/power_profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
</array>
<item name="cpu.idle">4.08</item>
<item name="cpu.suspend">5</item>
<item name="cpu.active">2.55</item>. <item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.active">2.55</item>
<item name="cpu.cluster_power.cluster0">2.11</item>
<item name="cpu.cluster_power.cluster1">2.22</item>
<array name="cpu.core_speeds.cluster0">
<value>1800000</value>
Expand Down

0 comments on commit fb55808

Please sign in to comment.