Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae7a6be2 authored by Michael Wright's avatar Michael Wright Committed by android-build-merger
Browse files

Merge "Fix up brightness docs." into pi-dev

am: 27fd8bd3

Change-Id: I22674ebc957b054d2285072f05849cc32d70d5ae
parents 4d549c21 27fd8bd3
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -1277,7 +1277,7 @@
         in darkness (although they may not be visible in a bright room). -->
         in darkness (although they may not be visible in a bright room). -->
    <integer name="config_screenBrightnessDark">1</integer>
    <integer name="config_screenBrightnessDark">1</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 control points as follows:
         The N entries of this array define N + 1 control points as follows:
         (1-based arrays)
         (1-based arrays)


@@ -1289,18 +1289,18 @@


         The control points must be strictly increasing.  Each control point
         The control points must be strictly increasing.  Each control point
         corresponds to an entry in the brightness backlight values arrays.
         corresponds to an entry in the brightness backlight values arrays.
         For example, if LUX == level[1] (first element of the levels array)
         For example, if lux == level[1] (first element of the levels array)
         then the brightness will be determined by value[2] (second element
         then the brightness will be determined by value[2] (second element
         of the brightness values array).
         of the brightness values array).


         Spline interpolation is used to determine the auto-brightness
         Spline interpolation is used to determine the auto-brightness
         backlight values for LUX levels between these control points.
         backlight values for lux levels between these control points.


         Must be overridden in platform specific overlays -->
         Must be overridden in platform specific overlays -->
    <integer-array name="config_autoBrightnessLevels">
    <integer-array name="config_autoBrightnessLevels">
    </integer-array>
    </integer-array>


    <!-- Array of output values for LCD backlight corresponding to the LUX values
    <!-- Array of output values for LCD backlight corresponding to the lux values
         in the config_autoBrightnessLevels array.  This array should have size one greater
         in the config_autoBrightnessLevels array.  This array should have size one greater
         than the size of the config_autoBrightnessLevels array.
         than the size of the config_autoBrightnessLevels array.
         The brightness values must be between 0 and 255 and be non-decreasing.
         The brightness values must be between 0 and 255 and be non-decreasing.
@@ -1324,7 +1324,7 @@
    <array name="config_autoBrightnessDisplayValuesNits">
    <array name="config_autoBrightnessDisplayValuesNits">
    </array>
    </array>


    <!-- Array of output values for button backlight corresponding to the LUX values
    <!-- Array of output values for button backlight corresponding to the luX values
         in the config_autoBrightnessLevels array.  This array should have size one greater
         in the config_autoBrightnessLevels array.  This array should have size one greater
         than the size of the config_autoBrightnessLevels array.
         than the size of the config_autoBrightnessLevels array.
         The brightness values must be between 0 and 255 and be non-decreasing.
         The brightness values must be between 0 and 255 and be non-decreasing.
@@ -1332,7 +1332,7 @@
    <integer-array name="config_autoBrightnessButtonBacklightValues">
    <integer-array name="config_autoBrightnessButtonBacklightValues">
    </integer-array>
    </integer-array>


    <!-- Array of output values for keyboard backlight corresponding to the LUX values
    <!-- Array of output values for keyboard backlight corresponding to the lux values
         in the config_autoBrightnessLevels array.  This array should have size one greater
         in the config_autoBrightnessLevels array.  This array should have size one greater
         than the size of the config_autoBrightnessLevels array.
         than the size of the config_autoBrightnessLevels array.
         The brightness values must be between 0 and 255 and be non-decreasing.
         The brightness values must be between 0 and 255 and be non-decreasing.