slider/whitefin/oriole/raven: remove redundant brightness config

This config_screenBrightnessNits/config_screenBrightnessBacklight are not used
when we have the displaydeviceconfig (ddc) exist in screenBrightnessMap.

Bug: 177140883
test: check brightness table
Change-Id: I7855602652a39288965e7510084d98d4d040312d
This commit is contained in:
linpeter 2021-03-18 16:09:04 +08:00 committed by Peter Lin
parent 2fe803e23d
commit 04cf15d289
4 changed files with 0 additions and 62 deletions

View file

@ -37,27 +37,6 @@
Must be in the range specified by minimum and maximum. --> Must be in the range specified by minimum and maximum. -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item> <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item>
<!-- An array describing the screen's backlight values corresponding to the brightness
values in the config_screenBrightnessNits array.
This array should be equal in size to config_screenBrightnessBacklight. -->
<integer-array name="config_screenBrightnessBacklight">
<item>1</item>
<item>255</item>
</integer-array>
<!-- An array of floats describing the screen brightness in nits corresponding to the backlight
values in the config_screenBrightnessBacklight array. On OLED displays these values
should be measured with an all white image while the display is in the fully on state.
Note that this value should *not* reflect the maximum brightness value for any high
brightness modes but only the maximum brightness value obtainable in a sustainable manner.
This array should be equal in size to config_screenBrightnessBacklight -->
<array name="config_screenBrightnessNits">
<item>2.0</item>
<item>500.0</item>
</array>
<!-- Nonlinear coefficients for maximum panel brightness of 500 nits --> <!-- Nonlinear coefficients for maximum panel brightness of 500 nits -->
<string-array name="config_reduceBrightColorsCoefficientsNonlinear"> <string-array name="config_reduceBrightColorsCoefficientsNonlinear">
<!-- a-coefficient --> <item>-0.4553233597</item> <!-- a-coefficient --> <item>-0.4553233597</item>

View file

@ -86,27 +86,6 @@
Must be in the range specified by minimum and maximum. --> Must be in the range specified by minimum and maximum. -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item> <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item>
<!-- An array describing the screen's backlight values corresponding to the brightness
values in the config_screenBrightnessNits array.
This array should be equal in size to config_screenBrightnessBacklight. -->
<integer-array name="config_screenBrightnessBacklight">
<item>1</item>
<item>255</item>
</integer-array>
<!-- An array of floats describing the screen brightness in nits corresponding to the backlight
values in the config_screenBrightnessBacklight array. On OLED displays these values
should be measured with an all white image while the display is in the fully on state.
Note that this value should *not* reflect the maximum brightness value for any high
brightness modes but only the maximum brightness value obtainable in a sustainable manner.
This array should be equal in size to config_screenBrightnessBacklight -->
<array name="config_screenBrightnessNits">
<item>2.0</item>
<item>500.0</item>
</array>
<!-- 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]

View file

@ -29,14 +29,4 @@
<!-- Default screen brightness setting <!-- Default screen brightness setting
Must be in the range specified by minimum and maximum. --> Must be in the range specified by minimum and maximum. -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item> <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item>
<array name="config_screenBrightnessNits">
<item>2.0</item>
<item>500.0</item>
</array>
<integer-array name="config_screenBrightnessBacklight">
<item>1</item>
<item>255</item>
</integer-array>
</resources> </resources>

View file

@ -30,11 +30,6 @@
Must be in the range specified by minimum and maximum. --> Must be in the range specified by minimum and maximum. -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item> <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.29019607843</item>
<array name="config_screenBrightnessNits">
<item>2.0</item>
<item>500.0</item>
</array>
<!-- Nonlinear coefficients for maximum panel brightness of 500 nits --> <!-- Nonlinear coefficients for maximum panel brightness of 500 nits -->
<string-array name="config_reduceBrightColorsCoefficientsNonlinear"> <string-array name="config_reduceBrightColorsCoefficientsNonlinear">
<!-- a-coefficient --> <item>-0.4553233597</item> <!-- a-coefficient --> <item>-0.4553233597</item>
@ -48,9 +43,4 @@
<!-- b-coefficient --> <item>-0.96</item> <!-- b-coefficient --> <item>-0.96</item>
<!-- y-intercept --> <item>1.0</item> <!-- y-intercept --> <item>1.0</item>
</string-array> </string-array>
<integer-array name="config_screenBrightnessBacklight">
<item>1</item>
<item>255</item>
</integer-array>
</resources> </resources>