|
@@ -84,6 +84,20 @@
|
|
|
<!-- Default refresh rate while the device has high brightness mode enabled for HDR. -->
|
|
|
<integer name="config_defaultRefreshRateInHbmHdr">60</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 brightness and ambient thresholds -->
|
|
|
+ <integer name="config_fixedRefreshRateInHighZone">60</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]
|