android13/device/google_car/raven_car/displayconfig/display_id_4619827677550801...

104 lines
4.0 KiB
XML

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- Copyright (C) 2022 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This overrides <density> to 320 for Phone_car configuration. The original file is located at
vendor/google_devices/raviole/proprietary/raven/vendor/etc/displayconfig/display_id_4619827677550801152.xml -->
<displayConfiguration>
<densityMapping>
<density>
<height>1440</height>
<width>3120</width>
<density>320</density>
</density>
</densityMapping>
<screenBrightnessMap>
<point>
<value>0.0</value>
<nits>2.0</nits>
</point>
<point>
<value>0.62</value>
<nits>500.0</nits>
</point>
<point>
<value>1.0</value>
<nits>800.0</nits>
</point>
</screenBrightnessMap>
<highBrightnessMode enabled="true">
<transitionPoint>0.62</transitionPoint>
<minimumLux>10000</minimumLux>
<timing>
<!-- allow for 5 minutes out of every 30 minutes -->
<timeWindowSecs>1800</timeWindowSecs>
<timeMaxSecs>300</timeMaxSecs>
<timeMinSecs>60</timeMinSecs>
</timing>
<refreshRate>
<minimum>120</minimum>
<maximum>120</maximum>
</refreshRate>
<thermalStatusLimit>light</thermalStatusLimit>
<allowInLowPowerMode>false</allowInLowPowerMode>
</highBrightnessMode>
<ambientBrightnessChangeThresholds>
<brighteningThresholds>
<minimum>10</minimum>
</brighteningThresholds>
<darkeningThresholds>
<minimum>2</minimum>
</darkeningThresholds>
</ambientBrightnessChangeThresholds>
<ambientLightHorizonLong>5000</ambientLightHorizonLong>
<ambientLightHorizonShort>50</ambientLightHorizonShort>
<screenBrightnessRampIncreaseMaxMillis>2000</screenBrightnessRampIncreaseMaxMillis>
<thermalThrottling>
<brightnessThrottlingMap>
<brightnessThrottlingPoint>
<thermalStatus>light</thermalStatus>
<!-- Throttling to 465 nits: (465-2.0)/(500-2.0)*(0.62-0.0)+0.0 = 0.576425703 -->
<brightness>0.576425703</brightness>
</brightnessThrottlingPoint>
<brightnessThrottlingPoint>
<thermalStatus>moderate</thermalStatus>
<!-- Throttling to 297 nits: (297-2.0)/(500-2.0)*(0.62-0.0)+0.0 = 0.367269076 -->
<brightness>0.367269076</brightness>
</brightnessThrottlingPoint>
<brightnessThrottlingPoint>
<thermalStatus>severe</thermalStatus>
<!-- Throttling to 213 nits: (213-2.0)/(500-2.0)*(0.62-0.0)+0.0 = 0.262690763 -->
<brightness>0.262690763</brightness>
</brightnessThrottlingPoint>
<brightnessThrottlingPoint>
<thermalStatus>critical</thermalStatus>
<!-- Throttling to 150 nits: (150-2.0)/(500-2.0)*(0.62-0.0)+0.0 = 0.184257028 -->
<brightness>0.184257028</brightness>
</brightnessThrottlingPoint>
</brightnessThrottlingMap>
</thermalThrottling>
<screenBrightnessRampFastDecrease>0.7047244</screenBrightnessRampFastDecrease>
<screenBrightnessRampFastIncrease>0.7047244</screenBrightnessRampFastIncrease>
<screenBrightnessRampSlowDecrease>0.05</screenBrightnessRampSlowDecrease>
<screenBrightnessRampSlowIncrease>0.05</screenBrightnessRampSlowIncrease>
</displayConfiguration>