mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-07-18 10:12:51 +00:00
instantnoodlep: overlay: Import display white balance config from OOS
Change-Id: I94ce623e57ff16687281b228e6e09ce2d12ce3e8
This commit is contained in:
parent
0df1febb68
commit
a9ea1ade22
@ -358,6 +358,75 @@
|
||||
will not debounce light sensor readings -->
|
||||
<integer name="config_lightSensorWarmupTime">200</integer>
|
||||
|
||||
<!-- Boolean indicating whether display white balance is supported. -->
|
||||
<bool name="config_displayWhiteBalanceAvailable">true</bool>
|
||||
|
||||
<!-- See AmbientSensor.AmbientColorTemperatureSensor.
|
||||
The ambient color temperature sensor name. -->
|
||||
<string name="config_displayWhiteBalanceColorTemperatureSensorName">qti.sensor.rgb</string>
|
||||
|
||||
<!-- Minimum color temperature, in Kelvin, supported by display white balance. -->
|
||||
<integer name="config_displayWhiteBalanceColorTemperatureMin">5000</integer>
|
||||
|
||||
<!-- Maximum color temperature, in Kelvin, supported by display white balance. -->
|
||||
<integer name="config_displayWhiteBalanceColorTemperatureMax">7400</integer>
|
||||
|
||||
<!-- See DisplayWhiteBalanceThrottler.
|
||||
The increase threshold values, throttled if value < value * (1 + threshold). Must be
|
||||
non-empty, the same length as config_displayWhiteBalanceBaseThresholds, and contain
|
||||
non-negative numbers. -->
|
||||
<array name="config_displayWhiteBalanceIncreaseThresholds">
|
||||
<item>0.15</item>
|
||||
</array>
|
||||
|
||||
<!-- See DisplayWhiteBalanceThrottler.
|
||||
The decrease threshold values, throttled if value > value * (1 - threshold). Must be
|
||||
non-empty, the same length as config_displayWhiteBalanceBaseThresholds, and contain
|
||||
non-negative numbers. -->
|
||||
<array name="config_displayWhiteBalanceDecreaseThresholds">
|
||||
<item>0.15</item>
|
||||
</array>
|
||||
|
||||
<!-- See DisplayWhiteBalanceController.
|
||||
A float array containing a list of ambient color temperatures, in Kelvin. This array,
|
||||
together with config_displayWhiteBalanceDisplayColorTemperatures, is used to generate a
|
||||
lookup table used in DisplayWhiteBalanceController. This lookup table is used to map
|
||||
ambient color temperature readings to a target color temperature for the display.
|
||||
This table is optional. If used, this array must,
|
||||
1) Contain at least two entries
|
||||
2) Be the same length as config_displayWhiteBalanceDisplayColorTemperatures. -->
|
||||
<integer-array name="config_displayWhiteBalanceAmbientColorTemperatures">
|
||||
<item>2800</item>
|
||||
<item>3600</item>
|
||||
<item>4000</item>
|
||||
<item>4500</item>
|
||||
<item>5000</item>
|
||||
<item>6100</item>
|
||||
<item>6700</item>
|
||||
<item>7000</item>
|
||||
<item>8000</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- See DisplayWhiteBalanceController.
|
||||
A float array containing a list of ambient color temperatures, in Kelvin. This array,
|
||||
together with config_displayWhiteBalanceDisplayColorTemperatures, is used to generate a
|
||||
lookup table used in DisplayWhiteBalanceController. This lookup table is used to map
|
||||
ambient color temperature readings to a target color temperature for the display.
|
||||
This table is optional. If used, this array must,
|
||||
1) Contain at least two entries
|
||||
2) Be the same length as config_displayWhiteBalanceDisplayColorTemperatures. -->
|
||||
<integer-array name="config_displayWhiteBalanceDisplayColorTemperatures">
|
||||
<item>5109</item>
|
||||
<item>5198</item>
|
||||
<item>5249</item>
|
||||
<item>5556</item>
|
||||
<item>5848</item>
|
||||
<item>6522</item>
|
||||
<item>6737</item>
|
||||
<item>6909</item>
|
||||
<item>7373</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- The bounding path of the cutout region of the main built-in display.
|
||||
Must either be empty if there is no cutout region, or a string that is parsable by
|
||||
{@link android.util.PathParser}.
|
||||
|
Loading…
x
Reference in New Issue
Block a user