sm6150-common: overlay: [Display] 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
3ee56cb4c4
commit
b612c65f72
@ -310,6 +310,7 @@
|
|||||||
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
||||||
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
||||||
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||||
|
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
||||||
</integer-array>
|
</integer-array>
|
||||||
|
|
||||||
<!-- Color mode to use when accessibility transforms are enabled. This color mode must be
|
<!-- Color mode to use when accessibility transforms are enabled. This color mode must be
|
||||||
@ -317,6 +318,30 @@
|
|||||||
regularly selected color mode will be used if this value is negative. -->
|
regularly selected color mode will be used if this value is negative. -->
|
||||||
<integer name="config_accessibilityColorMode">2</integer>
|
<integer name="config_accessibilityColorMode">2</integer>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
|
||||||
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
||||||
<integer-array name="config_longPressVibePattern">
|
<integer-array name="config_longPressVibePattern">
|
||||||
<item>0</item>
|
<item>0</item>
|
||||||
|
@ -142,6 +142,12 @@ vendor.display.enable_default_color_mode=1
|
|||||||
vendor.display.enable_null_display=0
|
vendor.display.enable_null_display=0
|
||||||
vendor.display.enable_optimize_refresh=1
|
vendor.display.enable_optimize_refresh=1
|
||||||
vendor.gralloc.disable_ubwc=0
|
vendor.gralloc.disable_ubwc=0
|
||||||
|
vendor.display.qdcm.mode_combine=1
|
||||||
|
|
||||||
|
# Display - Set color mode to Adaptive by default
|
||||||
|
persist.sys.sf.color_saturation=1.0
|
||||||
|
persist.sys.sf.native_mode=2
|
||||||
|
persist.sys.sf.color_mode=9
|
||||||
|
|
||||||
# FRP
|
# FRP
|
||||||
ro.frp.pst=/dev/block/bootdevice/by-name/frp
|
ro.frp.pst=/dev/block/bootdevice/by-name/frp
|
||||||
|
Loading…
Reference in New Issue
Block a user