sm7250-common: Enable color mode & set display calibration on color mode settings
* sRGB on Natural and Boosted Unmanaged on Saturated P3 on Automatic * Set color mode to Natural by default * Adjust display composition color spaces Change-Id: If73eafa82395e80acf84445fcab2f1ce25a33e23 Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
committed by
KakatkarAkshay
parent
830a408488
commit
84e9206b3a
@@ -310,12 +310,37 @@
|
||||
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||
</string-array>
|
||||
|
||||
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
||||
<!-- List supported color modes. -->
|
||||
<integer-array name="config_availableColorModes">
|
||||
<item>0</item>
|
||||
<item>256</item>
|
||||
<item>257</item>
|
||||
<item>258</item>
|
||||
<item>259</item>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user