panther: add display high blocking zone

High blocking zone: > 50,000 Lux and UI normal brightness 100%. Lock 60Hz

Bug: 222637975
Test: manual test
Change-Id: Iabd0409c3989cf0000030d93f70c8715eca4174a
This commit is contained in:
William Tai 2022-04-07 14:47:03 +08:00
parent 67c54d94ae
commit 5df8c12d59

View file

@ -81,6 +81,20 @@
<!-- default refresh rate in the zone defined by birghtness and ambient thresholds --> <!-- default refresh rate in the zone defined by birghtness and ambient thresholds -->
<integer name="config_defaultRefreshRateInZone">90</integer> <integer name="config_defaultRefreshRateInZone">90</integer>
<!-- Switch to fixed refresh rate when display brightness setting is
equal or more than this value -->
<integer-array name="config_highDisplayBrightnessThresholdsOfFixedRefreshRate">
<!-- System brightness for 500 nits: round((500-2)/(1000-2)*(255-1)+1) = 128 -->
<item>128</item> <!--100% UI normal brightness -->
</integer-array>
<integer-array name="config_highAmbientBrightnessThresholdsOfFixedRefreshRate">
<item>50000</item>
</integer-array>
<!-- default refresh rate in the high zone defined by birghtness and ambient thresholds -->
<integer name="config_fixedRefreshRateInHighZone">60</integer>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. <!-- 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: The N entries of this array define N 1 zones as follows:
Zone 0: 0 <= LUX < array[0] Zone 0: 0 <= LUX < array[0]