diff options
author | 2017-01-18 16:36:21 -0800 | |
---|---|---|
committer | 2017-01-19 14:51:06 -0800 | |
commit | a2310b994022db21be006da25d480778798392b2 (patch) | |
tree | f46af116b3a6ae8e18fb8121f456bdd1b4f4f841 /include/android/configuration.h | |
parent | 84b9bc0e98511fb707edb27ff0c7e885db881a7e (diff) |
Add wide color gamut and HDR resource qualifiers
Test: aapt tests
Bug: 32984164
Change-Id: I2bd81f6a08ef1b4fa4ba7eb05b6a923f82fcc78a
Diffstat (limited to 'include/android/configuration.h')
-rw-r--r-- | include/android/configuration.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/android/configuration.h b/include/android/configuration.h index b469e7e213..c9f63aee7d 100644 --- a/include/android/configuration.h +++ b/include/android/configuration.h @@ -267,6 +267,36 @@ enum { ACONFIGURATION_SCREENROUND_NO = 0x1, ACONFIGURATION_SCREENROUND_YES = 0x2, + /** Wide color gamut: not specified. */ + ACONFIGURATION_WIDE_COLOR_GAMUT_ANY = 0x00, + /** + * Wide color gamut: value that corresponds to + * <a href="@dacRoot/guide/topics/resources/providing-resources.html#WideColorGamutQualifier">no + * nowidecg</a> resource qualifier specified. + */ + ACONFIGURATION_WIDE_COLOR_GAMUT_NO = 0x1, + /** + * Wide color gamut: value that corresponds to + * <a href="@dacRoot/guide/topics/resources/providing-resources.html#WideColorGamutQualifier"> + * widecg</a> resource qualifier specified. + */ + ACONFIGURATION_WIDE_COLOR_GAMUT_YES = 0x2, + + /** HDR: not specified. */ + ACONFIGURATION_HDR_ANY = 0x00, + /** + * HDR: value that corresponds to + * <a href="@dacRoot/guide/topics/resources/providing-resources.html#HDRQualifier"> + * lowdr</a> resource qualifier specified. + */ + ACONFIGURATION_HDR_NO = 0x1, + /** + * HDR: value that corresponds to + * <a href="@dacRoot/guide/topics/resources/providing-resources.html#HDRQualifier"> + * highdr</a> resource qualifier specified. + */ + ACONFIGURATION_HDR_YES = 0x2, + /** UI mode: not specified. */ ACONFIGURATION_UI_MODE_TYPE_ANY = 0x00, /** @@ -431,6 +461,12 @@ enum { ACONFIGURATION_LAYOUTDIR = 0x4000, ACONFIGURATION_SCREEN_ROUND = 0x8000, /** + * Bit mask for + * <a href="@dacRoot/guide/topics/resources/providing-resources.html#WideColorGamutQualifier">wide color gamut</a> + * and <a href="@dacRoot/guide/topics/resources/providing-resources.html#HDRQualifier">HDR</a> configurations. + */ + ACONFIGURATION_COLORIMETRY = 0x10000, + /** * Constant used to to represent MNC (Mobile Network Code) zero. * 0 cannot be used, since it is used to represent an undefined MNC. */ |