mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: overlay: Remove Values that does not exist in LG8n Stock
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
efbaf2dfed
commit
36666c0364
|
@ -26,26 +26,6 @@
|
|||
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
|
||||
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
|
||||
percent. The length of this array is assumed to be one greater than
|
||||
config_ambientThresholdLevels. The brightening threshold is calculated as
|
||||
lux * (1.0f + CONSTRAINT_VALUE). When the current lux is higher than this threshold,
|
||||
the screen brightness is recalculated. See the config_ambientThresholdLevels
|
||||
description for how the constraint value is chosen. -->
|
||||
<integer-array name="config_ambientBrighteningThresholds">
|
||||
<item>100</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of hysteresis constraint values for darkening, represented as tenths of a
|
||||
percent. The length of this array is assumed to be one greater than
|
||||
config_ambientThresholdLevels. The darkening threshold is calculated as
|
||||
lux * (1.0f - CONSTRAINT_VALUE). When the current lux is lower than this threshold,
|
||||
the screen brightness is recalculated. See the config_ambientThresholdLevels
|
||||
description for how the constraint value is chosen. -->
|
||||
<integer-array name="config_ambientDarkeningThresholds">
|
||||
<item>200</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of desired screen brightness in nits corresponding to the lux values
|
||||
in the config_autoBrightnessLevels array. The display brightness is defined as the measured
|
||||
brightness of an all-white image.
|
||||
|
@ -79,56 +59,6 @@
|
|||
<item>255</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- An array describing the screen's backlight values corresponding to the brightness
|
||||
values in the config_screenBrightnessNits array. -->
|
||||
<integer-array name="config_screenBrightnessBacklight">
|
||||
<item>1</item>
|
||||
<item>15</item>
|
||||
<item>30</item>
|
||||
<item>45</item>
|
||||
<item>60</item>
|
||||
<item>75</item>
|
||||
<item>90</item>
|
||||
<item>105</item>
|
||||
<item>120</item>
|
||||
<item>135</item>
|
||||
<item>150</item>
|
||||
<item>165</item>
|
||||
<item>180</item>
|
||||
<item>195</item>
|
||||
<item>210</item>
|
||||
<item>225</item>
|
||||
<item>240</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>1</item>
|
||||
<item>15</item>
|
||||
<item>30</item>
|
||||
<item>45</item>
|
||||
<item>60</item>
|
||||
<item>75</item>
|
||||
<item>90</item>
|
||||
<item>105</item>
|
||||
<item>120</item>
|
||||
<item>135</item>
|
||||
<item>150</item>
|
||||
<item>165</item>
|
||||
<item>180</item>
|
||||
<item>195</item>
|
||||
<item>210</item>
|
||||
<item>225</item>
|
||||
<item>240</item>
|
||||
<item>255</item>
|
||||
</array>
|
||||
|
||||
<!-- 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:
|
||||
|
@ -170,26 +100,6 @@
|
|||
<item>18432</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
|
||||
percent. The length of this array is assumed to be one greater than
|
||||
config_screenThresholdLevels. The brightening threshold is calculated as
|
||||
screenBrightness * (1.0f + CONSTRAINT_VALUE). When the new screen brightness is higher
|
||||
than this threshold, it is applied. See the config_screenThresholdLevels description for
|
||||
how the constraint value is chosen. -->
|
||||
<integer-array name="config_screenBrighteningThresholds">
|
||||
<item>100</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of hysteresis constraint values for darkening, represented as tenths of a
|
||||
percent. The length of this array is assumed to be one greater than
|
||||
config_screenThresholdLevels. The darkening threshold is calculated as
|
||||
screenBrightness * (1.0f - CONSTRAINT_VALUE). When the new screen brightness is lower than
|
||||
this threshold, it is applied. See the config_screenThresholdLevels description for how
|
||||
the constraint value is chosen. -->
|
||||
<integer-array name="config_screenDarkeningThresholds">
|
||||
<item>200</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Minimum screen brightness setting allowed by power manager.
|
||||
The user is forbidden from setting the brightness below this level. -->
|
||||
<item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.003921569</item>
|
||||
|
@ -376,10 +286,31 @@
|
|||
|
||||
<!-- Pulled from Ren's TrebleDroid Pova 4 Pro overlay -->
|
||||
<bool name="config_dozeAfterScreenOff">true</bool>
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
<integer name="config_defaultPeakRefreshRate">90</integer>
|
||||
<integer name="config_defaultRefreshRate">90</integer>
|
||||
<integer name="config_screenBrightnessDoze">5</integer>
|
||||
<!-- Determines whether the shell features all run on another thread. -->
|
||||
<bool name="config_enableShellMainThread">true</bool>
|
||||
|
||||
<!-- ComponentName of a dream to show whenever the system would otherwise have
|
||||
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
|
||||
try to start this dream if possible. The dream should typically call startDozing()
|
||||
to put the display into a low power state and allow the application processor
|
||||
to be suspended. When the dream ends, the system will go to sleep as usual.
|
||||
Specify the component name or an empty string if none.
|
||||
|
||||
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
|
||||
Doze dreams will run whenever the power manager is in a dozing state. -->
|
||||
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||
|
||||
<!-- If true, the doze component is not started until after the screen has been
|
||||
turned off and the screen off animation has been performed. -->
|
||||
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
||||
|
||||
<!-- Whether the always on display mode is available. -->
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
|
||||
<!-- Control whether the always on display mode is enabled by default. This value will be used
|
||||
during initialization when the setting is still null. -->
|
||||
<bool name="config_dozeAlwaysOnEnabled">false</bool>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue