mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-05 13:27:18 +09:00
sm6250-common: 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
b5823f8387
commit
e2f8f06f05
@ -660,6 +660,31 @@
|
||||
<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>
|
||||
|
||||
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
|
||||
|
@ -35,6 +35,7 @@ ro.surface_flinger.max_virtual_display_dimension=4096
|
||||
ro.surface_flinger.protected_contents=true
|
||||
ro.surface_flinger.vsync_event_phase_offset_ns=2000000
|
||||
ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000
|
||||
ro.surface_flinger.wcg_composition_dataspace=143261696
|
||||
ro.vendor.display.cabl=0
|
||||
ro.vendor.display.sensortype=2
|
||||
ro.vendor.display.svi=1
|
||||
|
@ -163,6 +163,7 @@ vendor.display.disable_ui_3d_tonemap=1
|
||||
vendor.display.enable_default_color_mode=0
|
||||
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