mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: Import light sensor overlays from exynos9820
* Add other interesting configs too Change-Id: Ie5943ebe1dc2a168322c490d20fe871b52d84718 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
4be5170ee0
commit
5829162215
3 changed files with 68 additions and 8 deletions
|
|
@ -46,6 +46,15 @@
|
|||
<bool name="config_supportDoubleTapWake">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
|
||||
For this time after the screen turns on, the Power Manager
|
||||
will not debounce light sensor readings -->
|
||||
<integer name="config_lightSensorWarmupTime">200</integer>
|
||||
|
||||
<!-- The type of the light sensor to be used by the display framework for things like
|
||||
auto-brightness. If unset, then it just gets the default sensor of type TYPE_LIGHT. -->
|
||||
<string name="config_displayLightSensorType">com.samsung.sensor.physical_light</string>
|
||||
|
||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||
|
|
|
|||
|
|
@ -46,6 +46,15 @@
|
|||
<bool name="config_supportDoubleTapWake">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
|
||||
For this time after the screen turns on, the Power Manager
|
||||
will not debounce light sensor readings -->
|
||||
<integer name="config_lightSensorWarmupTime">200</integer>
|
||||
|
||||
<!-- The type of the light sensor to be used by the display framework for things like
|
||||
auto-brightness. If unset, then it just gets the default sensor of type TYPE_LIGHT. -->
|
||||
<string name="config_displayLightSensorType">com.samsung.sensor.physical_light</string>
|
||||
|
||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||
|
|
|
|||
|
|
@ -79,7 +79,10 @@
|
|||
<integer-array name="config_keyboardTapVibePattern">
|
||||
<item>10</item>
|
||||
</integer-array>
|
||||
|
||||
|
||||
<!-- If this is true, device supports Sustained Performance Mode. -->
|
||||
<bool name="config_sustainedPerformanceModeSupported">true</bool>
|
||||
|
||||
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
||||
<integer-array name="config_longPressVibePattern">
|
||||
<item>0</item>
|
||||
|
|
@ -104,15 +107,18 @@
|
|||
rotations as the default behavior. -->
|
||||
<bool name="config_allowAllRotations">true</bool>
|
||||
|
||||
<!-- Indicates whether device has a power button fingerprint sensor. -->
|
||||
<bool name="config_is_powerbutton_fps" translatable="false" >true</bool>
|
||||
|
||||
<!-- Flag indicating whether we should enable the adaptive sleep.-->
|
||||
<bool name="config_adaptive_sleep_available">true</bool>
|
||||
|
||||
<!-- the number of the max cached processes in the system. -->
|
||||
<integer name="config_customizedMaxCachedProcesses">48</integer>
|
||||
|
||||
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
|
||||
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
|
||||
|
||||
<!-- Flag indicating whether round icons should be parsed from the application manifest. -->
|
||||
<bool name="config_useRoundIcon">true</bool>
|
||||
|
||||
<!-- Maximum number of supported users -->
|
||||
<bool name="config_enableMultiUserUI">true</bool>
|
||||
<integer name="config_multiuserMaximumUsers">3</integer>
|
||||
|
|
@ -162,11 +168,47 @@
|
|||
<item>575</item>
|
||||
<item>600</item>
|
||||
</integer-array>
|
||||
<!-- Array of output values for LCD backlight corresponding to the lux values
|
||||
in the config_autoBrightnessLevels array. This array should have size one greater
|
||||
than the size of the config_autoBrightnessLevels array.
|
||||
The brightness values must be between 0 and 255 and be non-decreasing.
|
||||
This must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
||||
<item>10</item>
|
||||
<item>80</item>
|
||||
<item>162</item>
|
||||
<item>190</item>
|
||||
<item>22</item>
|
||||
<item>25</item>
|
||||
<item>28</item>
|
||||
<item>33</item>
|
||||
<item>35</item>
|
||||
<item>37</item>
|
||||
<item>49</item>
|
||||
<item>64</item>
|
||||
<item>64</item>
|
||||
<item>65</item>
|
||||
<item>67</item>
|
||||
<item>72</item>
|
||||
<item>98</item>
|
||||
<item>145</item>
|
||||
<item>145</item>
|
||||
<item>163</item>
|
||||
<item>163</item>
|
||||
<item>172</item>
|
||||
<item>172</item>
|
||||
<item>181</item>
|
||||
<item>181</item>
|
||||
<item>191</item>
|
||||
<item>191</item>
|
||||
<item>200</item>
|
||||
<item>200</item>
|
||||
<item>209</item>
|
||||
<item>209</item>
|
||||
<item>218</item>
|
||||
<item>218</item>
|
||||
<item>227</item>
|
||||
<item>227</item>
|
||||
<item>236</item>
|
||||
<item>236</item>
|
||||
<item>245</item>
|
||||
<item>245</item>
|
||||
<item>255</item>
|
||||
</integer-array>
|
||||
<integer-array name="config_autoBrightnessLevels">
|
||||
|
|
|
|||
Loading…
Reference in a new issue