ca9375e755
Prior to 12L: - values: sbh links to sbh_port - values-land: sbh links to sbh_land However, in 12L this was flipped around: - values: sbh_port links to sbh - values-land: defines sbh standalone To fix for 12L without breaking them for prior versions, break the link and define each of them Also, while we're at it, remove a few links in my own overlays, as they might break similarly in the future Change-Id: Ib4d1896599f47a39274c4930fd765891bf143f7d
144 lines
6 KiB
XML
144 lines
6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
|
<item>3</item>
|
|
<item>3</item>
|
|
<item>3</item>
|
|
<item>3</item>
|
|
<item>8</item>
|
|
<item>13</item>
|
|
<item>20</item>
|
|
<item>25</item>
|
|
<item>33</item>
|
|
<item>41</item>
|
|
<item>45</item>
|
|
<item>45</item>
|
|
<item>45</item>
|
|
<item>55</item>
|
|
<item>70</item>
|
|
<item>80</item>
|
|
<item>88</item>
|
|
<item>100</item>
|
|
<item>110</item>
|
|
<item>120</item>
|
|
<item>130</item>
|
|
<item>140</item>
|
|
<item>208</item>
|
|
<item>248</item>
|
|
<item>255</item>
|
|
</integer-array>
|
|
|
|
<integer-array name="config_autoBrightnessLevels">
|
|
<item>1</item>
|
|
<item>2</item>
|
|
<item>4</item>
|
|
<item>5</item>
|
|
<item>8</item>
|
|
<item>13</item>
|
|
<item>17</item>
|
|
<item>21</item>
|
|
<item>26</item>
|
|
<item>30</item>
|
|
<item>34</item>
|
|
<item>39</item>
|
|
<item>60</item>
|
|
<item>140</item>
|
|
<item>310</item>
|
|
<item>400</item>
|
|
<item>500</item>
|
|
<item>600</item>
|
|
<item>1000</item>
|
|
<item>1200</item>
|
|
<item>1500</item>
|
|
<item>3000</item>
|
|
<item>3500</item>
|
|
<item>4000</item>
|
|
</integer-array>
|
|
|
|
<bool name="config_automatic_brightness_available">true</bool>
|
|
<bool name="config_setColorTransformAccelerated">true</bool>
|
|
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
|
<bool name="skip_restoring_network_selection">true</bool>
|
|
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
|
|
<bool name="config_carrier_volte_available">true</bool>
|
|
<bool name="config_device_volte_available">true</bool>
|
|
<bool name="config_device_vt_available">true</bool>
|
|
<bool name="config_device_wfc_ims_available">true</bool>
|
|
<bool name="config_hotswapCapable">true</bool>
|
|
<bool name="config_lidControlsSleep">true</bool>
|
|
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
|
|
<bool name="config_wifi_background_scan_support">true</bool>
|
|
<bool name="config_wifi_batched_scan_supported">true</bool>
|
|
<bool name="config_wifi_dual_band_support">false</bool>
|
|
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
|
<bool name="config_displayBlanksAfterDoze">true</bool>
|
|
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
|
<fraction name="config_autoBrightnessAdjustmentMaxGamma">100.0%</fraction>
|
|
<fraction name="config_maximumScreenDimRatio">29.999996%</fraction>
|
|
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
|
|
<integer name="config_autoBrightnessDarkeningLightDebounce">2000</integer>
|
|
<integer name="config_screenBrightnessDark">1</integer>
|
|
<integer name="config_screenBrightnessDim">1</integer>
|
|
<integer name="config_screenBrightnessDoze">17</integer>
|
|
<integer name="config_screenBrightnessSettingDefault">67</integer>
|
|
<integer name="config_screenBrightnessSettingMaximum">255</integer>
|
|
<integer name="config_screenBrightnessSettingMinimum">1</integer>
|
|
<integer name="config_bluetooth_idle_cur_ma">0</integer>
|
|
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
|
|
<integer name="config_bluetooth_rx_cur_ma">0</integer>
|
|
<integer name="config_bluetooth_tx_cur_ma">0</integer>
|
|
<integer name="config_shutdownBatteryTemperature">630</integer>
|
|
|
|
<!-- The cutout is 55px high, but I will use a higher vallue as
|
|
a workaround to get around the complex
|
|
systemui rounded_corner_content_padding
|
|
approach to make the statusbar look nicer.
|
|
|
|
<dimen name="status_bar_height_portrait">55px</dimen>
|
|
<dimen name="quick_qs_offset_height">55px</dimen>
|
|
|
|
-->
|
|
<dimen name="status_bar_height">80px</dimen>
|
|
<dimen name="status_bar_height_portrait">80px</dimen>
|
|
<dimen name="quick_qs_offset_height">80px</dimen>
|
|
|
|
<dimen name="rounded_corner_radius_top">70px</dimen>
|
|
<dimen name="rounded_corner_radius_bottom">60px</dimen>
|
|
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
|
|
|
|
<!-- The "original" path from Redmi7 uses rounded curves,
|
|
but needs to be translated to center offset - too complex for me.
|
|
I will use a rectangle instead, it works well enough for me. -->
|
|
<string translatable="false" name="config_mainBuiltInDisplayCutout">
|
|
M -50,0 L -50,55 L 50,55 L 50,0 Z
|
|
</string>
|
|
|
|
<!-- The "original" path from Redmi7
|
|
<string name="config_mainBuiltInDisplayCutout">
|
|
M299.981023,0
|
|
L420.018977,0
|
|
C418.943843,0.0559965572 417.861243,0.111993114 416.789842,0.171722776
|
|
C416.252275,0.28371589 415.707242,0.391975901 415.169675,0.503969015
|
|
C414.374524,0.825015943 413.583106,1.14606287 412.787955,1.4671098
|
|
C412.067465,1.96734571 411.343243,2.46384852 410.622754,2.96408443
|
|
C410.029191,3.60991139 409.43936,4.25573835 408.842064,4.90156531
|
|
C408.412757,5.64445297 407.987183,6.38734063 407.557876,7.12649519
|
|
C407.374954,7.64539662 407.188299,8.16429805 407.005377,8.68693258
|
|
C406.803789,9.74340096 406.594735,10.7998693 406.389415,11.8563377
|
|
C406.29982,12.513364 406.206492,13.1703903 406.116898,13.8311496
|
|
C402.910162,36.8420016 383.232972,54 359.998133,54
|
|
C336.767028,54 317.089838,36.8420016 313.886835,13.8311496
|
|
C313.797241,13.1703903 313.70018,12.513364 313.610585,11.8563377
|
|
C313.405265,10.7998693 313.196211,9.74340096 312.99089,8.68693258
|
|
C312.811701,8.16429805 312.625046,7.64539662 312.442124,7.12649519
|
|
C312.012817,6.38734063 311.587243,5.64445297 311.157936,4.90156531
|
|
C310.56064,4.25573835 309.970809,3.60991139 309.377246,2.96408443
|
|
C308.656757,2.46384852 307.932535,1.96734571 307.212045,1.4671098
|
|
C306.416894,1.14606287 305.625476,0.825015943 304.830325,0.503969015
|
|
C304.292758,0.391975901 303.747725,0.28371589 303.210158,0.171722776
|
|
C302.135024,0.111993114 301.056157,0.0559965572 299.981023,3.2959755e-16 Z
|
|
</string> -->
|
|
|
|
</resources>
|