aboutsummaryrefslogtreecommitdiff
path: root/rro_overlays/FrameworksResOverlayVeux
diff options
context:
space:
mode:
authorAlbert I <kras@raphielgang.org>2022-03-21 15:08:00 -0300
committersinanmohd <pcmsinan@gmail.com>2023-01-05 21:30:23 +0530
commit42169728d79f842728166e6d8eb73308c0cda8b5 (patch)
treea47fe19369cecf52516d15b4659bf83e679f9e42 /rro_overlays/FrameworksResOverlayVeux
parent45c7c231f9483d848337ed8749db07e62ea0d6c2 (diff)
veux: Set up display color compositions
* Use default color mode for all color modes * Enable QDCM combined mode and disable factory mode * Drop LiveDisplay's color mode support as it conflicts with AOSP display color adjustment * Rest of configuration is kanged off Pixel's overlay Signed-off-by: Albert I <kras@raphielgang.org> Change-Id: Ib26033fe00a6cc1e8c7d8f93da417516e31a52e3
Diffstat (limited to 'rro_overlays/FrameworksResOverlayVeux')
-rw-r--r--rro_overlays/FrameworksResOverlayVeux/res/values/config.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml b/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
index e27a489..87058d3 100644
--- a/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
+++ b/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
@@ -685,6 +685,43 @@
<!-- Flag specifying whether or not IMS will use the ImsResolver dynamically -->
<bool name="config_dynamic_bind_ims">true</bool>
+ <!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
+ <integer-array name="config_availableColorModes">
+ <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>
+
+ <!-- Color mode to use when accessibility transforms are enabled. This color mode must be
+ supported by the device, but not necessarily appear in config_availableColorModes. The
+ regularly selected color mode will be used if this value is negative. -->
+ <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>0</item> <!-- COLOR_MODE_DEFAULT -->
+ </integer-array>
+
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>