Display: Update the default adaptive brightness curve

Bug: 153696528

Test: Check brightness table
Change-Id: I504c4ff7d74873d96f9c6917631d07b2cb5622d8
This commit is contained in:
linpeter
2020-04-16 21:50:08 +08:00
committed by Cyan_Hsieh
parent 2479083703
commit c293417064

View File

@@ -58,6 +58,42 @@
<!-- MMS user agent profile url -->
<string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/GD1YQ.xml</string>
<!-- Array of desired screen brightness in nits corresponding to the lux values
in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
config_screenBrightnessMaximumNits, the display brightness is defined as the measured
brightness of an all-white image.
If this is defined then:
- config_autoBrightnessLcdBacklightValues should not be defined
- config_screenBrightnessNits must be defined
- config_screenBrightnessBacklight must be defined
This array should have size one greater than the size of the config_autoBrightnessLevels
array. The brightness values must be non-negative and non-decreasing. This must be
overridden in platform specific overlays -->
<array name="config_autoBrightnessDisplayValuesNits">
<item>5.139055</item> <!-- 0 - 1 -->
<item>17.495838</item> <!-- 1 - 2 -->
<item>28.1696664278</item> <!-- 2 - 3 -->
<item>32.7511520408</item> <!-- 3 - 4 -->
<item>35.8759513935</item> <!-- 4 - 8 -->
<item>43.9426049517</item> <!-- 8 - 12 -->
<item>49.2609781315</item> <!-- 12 - 20 -->
<item>56.6555013574</item> <!-- 20 - 33 -->
<item>65.197031819</item> <!-- 33 - 55 -->
<item>75.952051549</item> <!-- 55 - 90 -->
<item>88.9446020655</item> <!-- 90 - 148 -->
<item>105.214631262</item> <!-- 148 - 245 -->
<item>126.148854554</item> <!-- 245 - 403 -->
<item>154.657410783</item> <!-- 403 - 665 -->
<item>191.528101368</item> <!-- 665 - 1097 -->
<item>237.843508373</item> <!-- 1097 - 1808 -->
<item>291.914433324</item> <!-- 1808 - 2981 -->
<item>355.757330554</item> <!-- 2981 - 5000 -->
<item>431.343055532</item> <!-- 5000 - 10000 -->
<item>523.991735578</item> <!-- 10000+ -->
</array>
<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">6</integer>