Home
last modified time | relevance | path

Searched refs:colorMode (Results 1 – 14 of 14) 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.java181 public int colorMode; field in DisplayConfig
297 colorMode = other.colorMode; in DisplayConfig()
349 && colorMode == other.colorMode in equals()
391 colorMode = other.colorMode; in copyFrom()
438 other.colorMode = colorMode; in copyTo()
504 sb.append(colorMode); in toString()
/external/skia/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/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/skia/tools/viewer/
DViewer.cpp1042 void Viewer::setColorMode(ColorMode colorMode) { in setColorMode() argument
1043 fColorMode = colorMode; in setColorMode()
/external/skqp/tools/viewer/
DViewer.cpp991 void Viewer::setColorMode(ColorMode colorMode) { in setColorMode() argument
992 fColorMode = colorMode; in setColorMode()