Update overlay for Mi MIX 3

* Imported brightness/doze config from 8.12.13
* Enable rounded corner padding
This commit is contained in:
AndroPlus 2018-12-23 21:25:17 +09:00 committed by Pierre-Hugues Husson
parent 2c5709b430
commit 4ea7508cba
4 changed files with 42 additions and 100 deletions

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<dimen name="rounded_corner_content_padding">12.0dp</dimen>
</resources>

View file

@ -20,19 +20,11 @@
<bool name="doze_display_state_supported">true</bool>
<!-- Doze: does this device support STATE_DOZE_SUSPEND? -->
<bool name="doze_suspend_display_state_supported">false</bool>
<!-- Type of a sensor that provides a low-power estimate of the desired display
brightness, suitable to listen to while the device is asleep (e.g. during
always-on display) -->
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
<bool name="doze_suspend_display_state_supported">true</bool>
<!-- Doze: check proximity sensor before pulsing? -->
<bool name="doze_proximity_check_before_pulse">false</bool>
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
<bool name="doze_pickup_performs_proximity_check">false</bool>
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
<bool name="doze_double_tap_reports_touch_coordinates">true</bool>
</resources>

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (c) 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<dimen name="rounded_corner_content_padding">12.0dp</dimen>
</resources>

View file

@ -6,97 +6,7 @@
<bool name="config_lidControlsSleep">true</bool>
<integer name="config_shutdownBatteryTemperature">600</integer>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<integer name="config_screenBrightnessSettingDefault">536</integer>
<integer name="config_screenBrightnessSettingMaximum">2047</integer>
<integer name="config_screenBrightnessDoze">5</integer>
<bool name="config_allowAutoBrightnessWhileDozing">true</bool>
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
<fraction name="config_maximumScreenDimRatio">29.999996%</fraction>
<integer name="config_screenBrightnessDim">1</integer>
<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>8</item>
<item>12</item>
<item>20</item>
<item>33</item>
<item>55</item>
<item>90</item>
<item>148</item>
<item>245</item>
<item>403</item>
<item>665</item>
<item>1097</item>
<item>1808</item>
<item>2981</item>
<item>5000</item>
</integer-array>
<array name="config_autoBrightnessDisplayValuesNits">
<item>10.45935</item> <!-- 0-1 -->
<item>29.25559</item> <!-- 1-2 -->
<item>34.240692</item> <!-- 2-3 -->
<item>37.514347</item> <!-- 3-4 -->
<item>40.018696</item> <!-- 4-8 -->
<item>46.885098</item> <!-- 8-12 -->
<item>51.626434</item> <!-- 12-20 -->
<item>58.610405</item> <!-- 20-33 -->
<item>66.890915</item> <!-- 33-55 -->
<item>77.61644</item> <!-- 55-90 -->
<item>90.221886</item> <!-- 90-148 -->
<item>105.80314</item> <!-- 148-245 -->
<item>126.073845</item> <!-- 245-403 -->
<item>154.16931</item> <!-- 403-665 -->
<item>191.83717</item> <!-- 665-1097 -->
<item>240.74442</item> <!-- 1097-1808 -->
<item>294.84857</item> <!-- 1808-2981 -->
<item>348.05453</item> <!-- 2981-5000 -->
<item>389.70</item> <!-- 5000+ -->
</array>
<integer-array name="config_screenBrightnessBacklight">
<item>0</item>
<item>15</item>
<item>30</item>
<item>45</item>
<item>60</item>
<item>75</item>
<item>90</item>
<item>105</item>
<item>120</item>
<item>135</item>
<item>150</item>
<item>165</item>
<item>180</item>
<item>195</item>
<item>210</item>
<item>225</item>
<item>240</item>
<item>255</item>
</integer-array>
<array name="config_screenBrightnessNits">
<item>0</item>
<item>26.11</item>
<item>50.5</item>
<item>74.17</item>
<item>96.89</item>
<item>118.3</item>
<item>139.8</item>
<item>162.9</item>
<item>189.8</item>
<item>217.4</item>
<item>240.4</item>
<item>265.3</item>
<item>288.7</item>
<item>316</item>
<item>340.8</item>
<item>357.9</item>
<item>376.2</item>
<item>392.9</item>
</array>
<bool name="config_enableAutoPowerModes">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>