Skip to content

Commit

Permalink
z2_plus: Update auto-brightness overlays
Browse files Browse the repository at this point in the history
 * Based on stock values (MIUI 7.1.19 global dev)

Change-Id: Iac625e98d2cf8f0ed5776dadb077c232512d3e2b
  • Loading branch information
bgcngm authored and dmd79 committed Jan 31, 2017
1 parent 906b741 commit 4dbccc2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 4dbccc2

Please sign in to comment.