Files
device_oneplus_dodge/configs/display/displayconfig.xml
Gowtham PJ e5a86bcea9 dodge: displayconfig: Correct inverted width and height
The initial densityMapping configuration had references from AOSP
DisplayDeviceConfig.java template which actually has this inverted.
Let's correct it to account for the native portrait orientation in phones.

Change-Id: I07c9567c1d0c72b7ed77c1fe8fdf399bae30dd85
2025-10-02 21:45:36 +01:00

28 lines
977 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<displayConfiguration>
<densityMapping>
<density>
<height>2376</height>
<width>1080</width>
<density>450</density>
</density>
<density>
<height>3168</height>
<width>1440</width>
<density>560</density>
</density>
</densityMapping>
<highBrightnessMode enabled="true">
<transitionPoint>0.85</transitionPoint>
<minimumHdrPercentOfScreen>0.1</minimumHdrPercentOfScreen>
<minimumLux>10000</minimumLux>
<timing>
<timeWindowSecs>1800</timeWindowSecs> // Window in which we restrict HBM.
<timeMaxSecs>300</timeMaxSecs> // Maximum time of HBM allowed in that window.
<timeMinSecs>60</timeMinSecs> // Minimum time remaining required to switch
</timing> // HBM on for.
</highBrightnessMode>
</displayConfiguration>