mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2026-12-03 19:41:31 +00:00
ferrari: Move brightness thresholds and debounce to displayconfig
The display device config overrides these overlays, and the framework reads the doze brightness only as a fallback for it. Values unchanged; the config thresholds are in percent rather than permille. Assisted-by: LLM Change-Id: I86a5632ce1c5b3af0ab1d4c61c3a58d880a25409
This commit is contained in:
1 parent
ba03f295ac
commit
e427470034
2 files changed
+49
-70
No files matched your search
@@ -82,10 +82,59 @@
|
||||
</point>
|
||||
</sdrHdrRatioMap>
|
||||
</highBrightnessMode>
|
||||
<autoBrightness enabled="true">
|
||||
<brighteningLightDebounceMillis>1500</brighteningLightDebounceMillis>
|
||||
<darkeningLightDebounceMillis>1500</darkeningLightDebounceMillis>
|
||||
</autoBrightness>
|
||||
<screenBrightnessRampFastDecrease>0.06</screenBrightnessRampFastDecrease>
|
||||
<screenBrightnessRampFastIncrease>0.06</screenBrightnessRampFastIncrease>
|
||||
<screenBrightnessRampSlowDecrease>0.04</screenBrightnessRampSlowDecrease>
|
||||
<screenBrightnessRampSlowIncrease>0.04</screenBrightnessRampSlowIncrease>
|
||||
<screenBrightnessRampIncreaseMaxMillis>3000</screenBrightnessRampIncreaseMaxMillis>
|
||||
<screenBrightnessRampDecreaseMaxMillis>3000</screenBrightnessRampDecreaseMaxMillis>
|
||||
<displayBrightnessChangeThresholds>
|
||||
<brighteningThresholds>
|
||||
<brightnessThresholdPoints>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>0</threshold>
|
||||
<percentage>0</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
</brightnessThresholdPoints>
|
||||
</brighteningThresholds>
|
||||
<darkeningThresholds>
|
||||
<brightnessThresholdPoints>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>0</threshold>
|
||||
<percentage>0</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
</brightnessThresholdPoints>
|
||||
</darkeningThresholds>
|
||||
</displayBrightnessChangeThresholds>
|
||||
<ambientBrightnessChangeThresholds>
|
||||
<brighteningThresholds>
|
||||
<brightnessThresholdPoints>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>0</threshold>
|
||||
<percentage>60</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>10</threshold>
|
||||
<percentage>30</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
</brightnessThresholdPoints>
|
||||
</brighteningThresholds>
|
||||
<darkeningThresholds>
|
||||
<brightnessThresholdPoints>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>0</threshold>
|
||||
<percentage>60</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
<brightnessThresholdPoint>
|
||||
<threshold>10</threshold>
|
||||
<percentage>30</percentage>
|
||||
</brightnessThresholdPoint>
|
||||
</brightnessThresholdPoints>
|
||||
</darkeningThresholds>
|
||||
</ambientBrightnessChangeThresholds>
|
||||
<defaultDozeBrightness>0.00097680097</defaultDozeBrightness>
|
||||
</displayConfiguration>
|
||||
Reference in new issue
Block a user