P22: update display blocking zone for EVT1.0

C10:
zone condition(5 nits, 5 Lux) in 120Hz
P10:
zone1 condition(20 nits) in 90Hz
zone2 condition(25 nits, 20 Lux) in 90Hz

Bug: 220878644
Change-Id: Id8c94230c070812093600f32e7326d8550794f6d
This commit is contained in:
William Tai 2022-03-15 06:16:04 +08:00 committed by TreeHugger Robot
parent 63c82ed9e5
commit 8489809c43
2 changed files with 28 additions and 0 deletions

View file

@ -67,6 +67,19 @@
@left
</string>
<!-- Not allow to switch to higher refresh rate when display brightness setting is
equal or less than this value -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
<!-- System brightness for 5 nits: round((5-2)/(1000-2)*(255-1)+1) = 2 -->
<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]

View file

@ -66,6 +66,21 @@
@left
</string>
<!-- Not allow to switch to higher refresh rate when display brightness setting is
equal or less than this value -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
<!-- System brightness for 20 nits: round((20-2)/(1000-2)*(255-1)+1) = 6 -->
<item>6</item> <!-- 34% UI brightness -->
<!-- System brightness for 25 nits: round((25-2)/(1000-2)*(255-1)+1) = 7 -->
<item>7</item> <!-- 38% UI brightness -->
</integer-array>
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
<item>-1</item>
<item>20</item>
</integer-array>
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">90</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]