diff options
author | Bruno Martins <bgcngm@gmail.com> | 2017-01-30 15:03:38 +0000 |
---|---|---|
committer | davidevinavil <davidevinavil@gmail.com> | 2017-01-31 18:30:21 +0100 |
commit | 4dbccc297fdd3157808ddf312dec8dc24583a2f7 (patch) | |
tree | d1db8bf998b4ceeec4f568111ff4b766cf2f4416 | |
parent | 906b741aa6924ed4d8f8b9454f57a428abae4140 (diff) |
z2_plus: Update auto-brightness overlays
* Based on stock values (MIUI 7.1.19 global dev)
Change-Id: Iac625e98d2cf8f0ed5776dadb077c232512d3e2b
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index f6812cb..df363e6 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -79,6 +79,21 @@ The user is forbidden from setting the brightness below this level. --> <integer name="config_screenBrightnessSettingMinimum">1</integer> + <!-- Stability requirements in milliseconds for accepting a new brightness level. This is used + for debouncing the light sensor. Different constants are used to debounce the light sensor + when adapting to brighter or darker environments. This parameter controls how quickly + brightness changes occur in response to an observed change in light level that exceeds the + hysteresis threshold. --> + <integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer> + <integer name="config_autoBrightnessDarkeningLightDebounce">2000</integer> + + <!-- The maximum range of gamma adjustment possible using the screen + auto-brightness adjustment setting. --> + <fraction name="config_autoBrightnessAdjustmentMaxGamma">200%</fraction> + + <!-- Period of time in which to consider light samples in milliseconds. --> + <integer name="config_autoBrightnessAmbientLightHorizon">5000</integer> + <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> <bool name="config_unplugTurnsOnScreen">true</bool> |