Files
android_device_realme_ferrarri/configs/display/displayconfig.xml
T
pjgowtham e427470034 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
2026-11-23 22:27:53 +05:30

141 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<displayConfiguration>
<densityMapping>
<density>
<height>2412</height>
<width>1080</width>
<density>450</density>
</density>
<density default="true">
<height>3216</height>
<width>1440</width>
<density>600</density>
</density>
</densityMapping>
<screenBrightnessMap interpolation="linear">
<point>
<value>0.00097680097</value>
<nits>2.094</nits>
</point>
<point>
<value>0.00366300366</value>
<nits>3.719</nits>
</point>
<point>
<value>0.00537240537</value>
<nits>5.456</nits>
</point>
<point>
<value>0.00854700855</value>
<nits>8.946</nits>
</point>
<point>
<value>0.01489621490</value>
<nits>15.075</nits>
</point>
<point>
<value>0.02222222222</value>
<nits>22.163</nits>
</point>
<point>
<value>0.08034188034</value>
<nits>80.734</nits>
</point>
<point>
<value>0.16532356532</value>
<nits>174.364</nits>
</point>
<point>
<value>0.50036665851</value>
<nits>502.969</nits>
</point>
<point>
<value>0.80219780220</value>
<nits>687.653</nits>
</point>
<point>
<value>0.96971916972</value>
<nits>788.394</nits>
</point>
<point>
<value>1.0</value>
<nits>789.124</nits>
</point>
</screenBrightnessMap>
<highBrightnessMode enabled="true">
<transitionPoint>0.50036665851</transitionPoint>
<minimumHdrPercentOfScreen>0.1</minimumHdrPercentOfScreen>
<minimumLux>8700</minimumLux>
<timing>
<timeWindowSecs>1800</timeWindowSecs>
<timeMaxSecs>300</timeMaxSecs>
<timeMinSecs>60</timeMinSecs>
</timing>
<sdrHdrRatioMap>
<point>
<sdrNits>2.000</sdrNits>
<hdrRatio>8.000</hdrRatio>
</point>
<point>
<sdrNits>500.000</sdrNits>
<hdrRatio>1.5</hdrRatio>
</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>