Home
last modified time | relevance | path

Searched refs:colorMode (Results 1 – 15 of 15) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable_config.java571 return colorMode & COLOR_MODE_WIDE_COLOR_GAMUT_MASK; in colorModeWideColorGamut()
576 return colorMode & COLOR_MODE_HDR_MASK; in colorModeHdr()
639 screenLayout2, colorMode, screenConfigPad2, unknown); in withSdkVersion()
646 byte[] localeScript, byte[] localeVariant, byte screenLayout2, byte colorMode, in ResTable_config() argument
671 this.colorMode = colorMode; in ResTable_config()
750 public byte colorMode; // Wide-gamut, HDR, etc. field in ResTable_config
770 … return ((screenLayout2 & 0xff) << 24) | ((colorMode * 0xff) << 16) | (screenConfigPad2 & 0xffff); in screenConfig2()
891 o.colorMode, in fromDtoH()
991 …if ((colorMode & MASK_WIDE_COLOR_GAMUT) != (o.colorMode & MASK_WIDE_COLOR_GAMUT)) diffs |= CONFIG_… in diff()
992 if ((colorMode & MASK_HDR) != (o.colorMode & MASK_HDR)) diffs |= CONFIG_COLOR_MODE; in diff()
[all …]
DConfigDescription.java552 out.colorMode = in parseWideColorGamut()
553 (byte) ((out.colorMode & ~ResTable_config.MASK_WIDE_COLOR_GAMUT) | in parseWideColorGamut()
558 out.colorMode = in parseWideColorGamut()
559 (byte) ((out.colorMode & ~ResTable_config.MASK_WIDE_COLOR_GAMUT) | in parseWideColorGamut()
564 out.colorMode = in parseWideColorGamut()
565 (byte) ((out.colorMode & ~ResTable_config.MASK_WIDE_COLOR_GAMUT) | in parseWideColorGamut()
575 out.colorMode = in parseHdr()
576 (byte) ((out.colorMode & ~ResTable_config.MASK_HDR) | in parseHdr()
581 out.colorMode = in parseHdr()
582 (byte) ((out.colorMode & ~ResTable_config.MASK_HDR) | in parseHdr()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/internal/
DDisplayConfig.java157 public int colorMode; field in DisplayConfig
267 colorMode = other.colorMode; in DisplayConfig()
315 && colorMode == other.colorMode in equals()
353 colorMode = other.colorMode; in copyFrom()
394 other.colorMode = colorMode; in copyTo()
449 sb.append(colorMode); in toString()
/external/skia/src/gpu/
DGrTestUtils.h108 ColorMode colorMode = ColorMode(random->nextULessThan(kLast_ColorMode + 1)); in GrRandomColor() local
110 switch (colorMode) { in GrRandomColor()
143 CoverageMode colorMode = CoverageMode(random->nextULessThan(kLast_CoverageMode + 1)); in GrRandomCoverage() local
145 switch (colorMode) { in GrRandomCoverage()
/external/skqp/src/gpu/
DGrTestUtils.h105 ColorMode colorMode = ColorMode(random->nextULessThan(kLast_ColorMode + 1)); in GrRandomColor() local
107 switch (colorMode) { in GrRandomColor()
140 CoverageMode colorMode = CoverageMode(random->nextULessThan(kLast_CoverageMode + 1)); in GrRandomCoverage() local
142 switch (colorMode) { in GrRandomCoverage()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DDeviceConfig.java221 setColorModeGamut(configuration, resTab.colorMode & ResTable_config.MASK_WIDE_COLOR_GAMUT); in applyToConfiguration()
225 setColorModeHdr(configuration, resTab.colorMode & ResTable_config.MASK_HDR); in applyToConfiguration()
461 return configuration.colorMode & Configuration.COLOR_MODE_WIDE_COLOR_GAMUT_MASK; in getColorModeGamut()
465 …configuration.colorMode = (configuration.colorMode & ~Configuration.COLOR_MODE_WIDE_COLOR_GAMUT_MA… in setColorModeGamut()
469 return configuration.colorMode & Configuration.COLOR_MODE_HDR_MASK; in getColorModeHdr()
473 … configuration.colorMode = (configuration.colorMode & ~Configuration.COLOR_MODE_HDR_MASK) | value; in setColorModeHdr()
DConfigurationV25.java155 switch (config.colorMode & Configuration.COLOR_MODE_WIDE_COLOR_GAMUT_MASK) { in resourceQualifierString()
166 switch (config.colorMode & Configuration.COLOR_MODE_HDR_MASK) { in resourceQualifierString()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DBootstrapTest.java183 assertThat(configuration.colorMode & COLOR_MODE_WIDE_COLOR_GAMUT_MASK) in applyQualifiers_shouldAddDefaults()
185 assertThat(configuration.colorMode & COLOR_MODE_HDR_MASK) in applyQualifiers_shouldAddDefaults()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java149 int screenLayout, int uiMode, int colorMode, int sdkVersion) { in setConfiguration() argument
179 config.colorMode = (byte) colorMode; in setConfiguration()
DShadowArscAssetManager10.java587 configuration.colorMode = (byte) (color_mode); in nativeSetConfiguration()
DShadowArscAssetManager9.java583 configuration.colorMode = (byte) (color_mode); in nativeSetConfiguration()
DShadowLegacyAssetManager.java687 int screenLayout, int uiMode, int colorMode, int majorVersion) { in setConfiguration() argument
/external/skqp/tools/viewer/
DViewer.cpp991 void Viewer::setColorMode(ColorMode colorMode) { in setColorMode() argument
992 fColorMode = colorMode; in setColorMode()
/external/skia/tools/viewer/
DViewer.cpp1264 void Viewer::setColorMode(ColorMode colorMode) { in setColorMode() argument
1265 fColorMode = colorMode; in setColorMode()
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi6205 …<var-decl name='colorMode' type-id='b96825af' visibility='default' filepath='frameworks/base/libs/…