msm8953-common: Align overlays with stock

This commit is contained in:
jeangraff30
2021-02-07 19:06:18 -03:00
committed by Jorge Lucas
parent 53526993b6
commit 2d7510968e

View File

@@ -66,7 +66,7 @@
<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<integer name="config_screenBrightnessSettingMinimum">3</integer>
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
May be less than the minimum allowed brightness setting
@@ -92,11 +92,7 @@
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDim">1</integer>
<!-- Whether device needs to wait for Qualcomm MPCTL service to start
before setting power profiles on boot. -->
<bool name="config_waitForMpctlOnBoot">true</bool>
<integer name="config_screenBrightnessDim">3</integer>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows:
@@ -107,24 +103,24 @@
Zone N + 1 array[N] <= LUX < infinity
Must be overridden in platform specific overlays -->
<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>10</item>
<item>50</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>
<item>100</item>
<item>150</item>
<item>200</item>
<item>300</item>
<item>400</item>
<item>500</item>
<item>800</item>
<item>1000</item>
<item>1300</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>8000</item>
<item>10000</item>
</integer-array>
<!-- Array of desired screen brightness in nits corresponding to the lux values
@@ -139,25 +135,25 @@
array. The brightness values must be non-negative and non-decreasing. This must be
overridden in platform specific overlays -->
<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+ -->
<item>5</item>
<item>20</item>
<item>70</item>
<item>110</item>
<item>130</item>
<item>150</item>
<item>180</item>
<item>180</item>
<item>180</item>
<item>180</item>
<item>225</item>
<item>270</item>
<item>300</item>
<item>315</item>
<item>420</item>
<item>450</item>
<item>450</item>
<item>450</item>
<item>480</item>
</array>
<!-- An array of floats describing the screen brightness in nits corresponding to the backlight
@@ -168,47 +164,74 @@
This array should be equal in size to config_screenBrightnessBacklight -->
<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>
<item>5</item>
<item>20</item>
<item>70</item>
<item>110</item>
<item>130</item>
<item>150</item>
<item>180</item>
<item>225</item>
<item>270</item>
<item>300</item>
<item>315</item>
<item>420</item>
<item>450</item>
<item>480</item>
</array>
<!-- An array describing the screen's backlight values corresponding to the brightness
values in the config_screenBrightnessNits array.
This array should be equal in size to config_screenBrightnessBacklight. -->
<integer-array name="config_screenBrightnessBacklight">
<item>0</item>
<item>3</item>
<item>11</item>
<item>37</item>
<item>58</item>
<item>69</item>
<item>80</item>
<item>96</item>
<item>120</item>
<item>143</item>
<item>159</item>
<item>167</item>
<item>223</item>
<item>239</item>
<item>255</item>
</integer-array>
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
<integer-array name="config_keyboardTapVibePattern">
<item>0</item>
<item>20</item>
</integer-array>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>20</item>
</integer-array>
<!-- Vibrator pattern for feedback about booting with safe mode enabled -->
<integer-array name="config_safeModeEnabledVibePattern">
<item>0</item>
<item>0</item>
<item>94</item>
</integer-array>
<!-- Vibrator pattern for feedback about hitting a scroll barrier -->
<integer-array name="config_scrollBarrierVibePattern">
<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>
<item>15</item>
</integer-array>
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>26</item>
</integer-array>
<!-- Indicate whether to allow the device to suspend when the screen is off
@@ -249,9 +272,9 @@
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<!-- Operating volatage for bluetooth controller. 0 by default-->
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<!-- Boolean indicating if current platform supports HFP inband ringing -->
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
<!-- Is the device capable of hot swapping an UICC Card -->
<bool name="config_hotswapCapable">true</bool>
@@ -383,15 +406,9 @@
<item>"/system/lib64/libsurfaceflinger.so"</item>
</string-array>
<!-- Should the pinner service pin the Camera application? -->
<bool name="config_pinnerCameraApp">true</bool>
<!-- Should the pinner service pin the Home application? -->
<bool name="config_pinnerHomeApp">true</bool>
<!-- If this is true, device supports Sustained Performance Mode. -->
<bool name="config_sustainedPerformanceModeSupported">true</bool>
<!-- List supported color modes. -->
<integer-array name="config_availableColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
@@ -399,9 +416,6 @@
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
<!-- Whether to cleanup fingerprints upon connection to the daemon and when user switches -->
<bool name="config_cleanupUnusedFingerprints">false</bool>
<!-- If true, the display will be shifted around in ambient mode. -->
<bool name="config_enableBurnInProtection">true</bool>