mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-25 23:47:21 +09:00
miatoll: Enable adaptive color mode
Enable Adaptive color mode setting. Bug: 143513730 Test: Boot test and measure the adaptive color value Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
This commit is contained in:
parent
78444e7863
commit
139dd4a289
@ -634,5 +634,30 @@
|
||||
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
||||
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
||||
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
||||
</integer-array>
|
||||
|
||||
<!-- The following two arrays specify which color space to use for display composition when a
|
||||
certain color mode is active.
|
||||
Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color
|
||||
modes are defined in ColorDisplayManager.COLOR_MODE_xxx and
|
||||
ColorDisplayManager.VENDOR_COLOR_MODE_xxx.
|
||||
The color space COLOR_MODE_DEFAULT (0) lets the system select the most appropriate
|
||||
composition color space for currently displayed content. Other values (e.g.,
|
||||
COLOR_MODE_SRGB) override system selection; these other color spaces must be supported by
|
||||
the device for for display composition.
|
||||
If a color mode does not have a corresponding color space specified in this array, the
|
||||
currently set composition color space will not be modified.-->
|
||||
<integer-array name="config_displayCompositionColorModes">
|
||||
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
||||
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
||||
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
||||
</integer-array>
|
||||
<integer-array name="config_displayCompositionColorSpaces">
|
||||
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
||||
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
||||
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
||||
<item>9</item> <!-- COLOR_MODE_DISPLAY_P3 -->
|
||||
</integer-array>
|
||||
</resources>
|
||||
|
@ -152,6 +152,7 @@ vendor.display.disable_ui_3d_tonemap=1
|
||||
vendor.display.enable_default_color_mode=1
|
||||
vendor.display.enable_null_display=0
|
||||
vendor.display.enable_optimize_refresh=1
|
||||
vendor.display.qdcm.mode_combine=1
|
||||
vendor.gralloc.disable_ubwc=0
|
||||
|
||||
# FM
|
||||
|
Loading…
x
Reference in New Issue
Block a user