Sfoglia il codice sorgente

update educeBrightColorsStrengt setting

Bug: 312329951
Test: dumpsys color_display
Change-Id: I278e2814a41b1d42b337de06d1eb50911455f2a3
Peter Lin 1 anno fa
parent
commit
ed912e19ba

+ 9 - 0
lynx/overlay/frameworks/base/core/res/res/values/config.xml

@@ -32,6 +32,15 @@
     <!-- Minimum screen brightness allowed by the power manager. -->
     <!-- Minimum screen brightness allowed by the power manager. -->
     <integer name="config_screenBrightnessDim">6</integer>
     <integer name="config_screenBrightnessDim">6</integer>
 
 
+     <!-- Default strength, in percentage, of bright color reduction when activated. -->
+    <integer name="config_reduceBrightColorsStrengthDefault">35</integer>
+
+    <!-- Minimum strength, in percentage, supported by bright color reduction. -->
+    <integer name="config_reduceBrightColorsStrengthMin">25</integer>
+
+    <!-- Maximum strength, in percentage, supported by bright color reduction. -->
+    <integer name="config_reduceBrightColorsStrengthMax">50</integer>
+
     <!-- Minimum screen brightness setting allowed by power manager.
     <!-- Minimum screen brightness setting allowed by power manager.
          The user is forbidden from setting the brightness below this level.  -->
          The user is forbidden from setting the brightness below this level.  -->
     <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>
     <item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>