raven: add blocking zone for low light
zone condition(15% brightness, 5 Lux) for 120Hz Bug: 193087466 Test: no refresh rate change in the blocking zone Change-Id: I4e5918ff5d829a6ad656db1c7f4993e1e8e9c23d
This commit is contained in:
parent
755a0887fa
commit
ce87e291e8
1 changed files with 12 additions and 0 deletions
|
@ -87,6 +87,18 @@
|
|||
<!-- The default peak refresh rate. -->
|
||||
<integer name="config_defaultPeakRefreshRate">120</integer>
|
||||
|
||||
<!-- Not allow to switch to higher refresh rate when display brightness setting is
|
||||
equal or less than this value -->
|
||||
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||
<item>2</item> <!-- 15% UI brightness -->
|
||||
</integer-array>
|
||||
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>5</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
|
||||
<integer name="config_defaultRefreshRateInZone">120</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:
|
||||
Zone 0: 0 <= LUX < array[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue