diff options
| author | Kenny Guy <kennyguy@google.com> | 2018-06-11 17:13:56 +0100 |
|---|---|---|
| committer | Kenny Guy <kennyguy@google.com> | 2018-06-11 19:18:14 +0100 |
| commit | d4714dc65e9330d0aa2f5c18fb0be5e31934fbd4 (patch) | |
| tree | c90b3bd472971bcf827fbbe022fd2203663ff358 /crosshatch | |
| parent | efedfddc31df3bc7d7079e831ec24f5f3c1f9942 (diff) | |
Update the default nits/lux curve.
Update the curve for blueline and crosshatch
to match the marlin curve.
Test: manual, flash devices check dumpsys display
Test: manual, interact with slider, train, dumpsys display
Test: manual, wander around watching slider
Bug: 78040932
Change-Id: Ie48a30a6cef63efc7f7c891c96730b300073c8b2
Diffstat (limited to 'crosshatch')
| -rwxr-xr-x | crosshatch/overlay/frameworks/base/core/res/res/values/config.xml | 54 |
1 files changed, 35 insertions, 19 deletions
diff --git a/crosshatch/overlay/frameworks/base/core/res/res/values/config.xml b/crosshatch/overlay/frameworks/base/core/res/res/values/config.xml index 702cdab..3dcf077 100755 --- a/crosshatch/overlay/frameworks/base/core/res/res/values/config.xml +++ b/crosshatch/overlay/frameworks/base/core/res/res/values/config.xml @@ -63,15 +63,23 @@ Must be overridden in platform specific overlays --> <integer-array name="config_autoBrightnessLevels"> - <item>5</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>8</item> + <item>12</item> <item>20</item> - <item>40</item> - <item>100</item> - <item>325</item> - <item>600</item> - <item>1250</item> - <item>2200</item> - <item>4000</item> + <item>33</item> + <item>55</item> + <item>90</item> + <item>148</item> + <item>245</item> + <item>403</item> + <item>665</item> + <item>1097</item> + <item>1808</item> + <item>2981</item> <item>5000</item> </integer-array> @@ -89,17 +97,25 @@ array. The brightness values must be non-negative and non-decreasing. This must be overridden in platform specific overlays --> <array name="config_autoBrightnessDisplayValuesNits"> - <item>13.25</item> <!-- 0-5 --> - <item>54</item> <!-- 5-20 --> - <item>78.85</item> <!-- 20-40 --> - <item>105.02</item> <!-- 40-100 --> - <item>132.7</item> <!-- 100-325 --> - <item>170.12</item> <!-- 325-600 --> - <item>212.1</item> <!-- 600-1250 --> - <item>265.2</item> <!-- 1250-2200 --> - <item>335.8</item> <!-- 2200-4000 --> - <item>415.2</item> <!-- 4000-5000 --> - <item>478.5</item> <!-- 5000+ --> + <item>10.45935</item> <!-- 0-1 --> + <item>29.25559</item> <!-- 1-2 --> + <item>34.240692</item> <!-- 2-3 --> + <item>37.514347</item> <!-- 3-4 --> + <item>40.018696</item> <!-- 4-8 --> + <item>46.885098</item> <!-- 8-12 --> + <item>51.626434</item> <!-- 12-20 --> + <item>58.610405</item> <!-- 20-33 --> + <item>66.890915</item> <!-- 33-55 --> + <item>77.61644</item> <!-- 55-90 --> + <item>90.221886</item> <!-- 90-148 --> + <item>105.80314</item> <!-- 148-245 --> + <item>126.073845</item> <!-- 245-403 --> + <item>154.16931</item> <!-- 403-665 --> + <item>191.83717</item> <!-- 665-1097 --> + <item>240.74442</item> <!-- 1097-1808 --> + <item>294.84857</item> <!-- 1808-2981 --> + <item>348.05453</item> <!-- 2981-5000 --> + <item>389.70</item> <!-- 5000+ --> </array> <!-- Minimum screen brightness allowed by the power manager. --> |
