/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResTable_config.java | 571 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 …]
|
D | ConfigDescription.java | 552 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/ |
D | DisplayConfig.java | 181 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/ |
D | GrTestUtils.h | 105 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/ |
D | GrTestUtils.h | 105 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/ |
D | DeviceConfig.java | 221 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()
|
D | ConfigurationV25.java | 155 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/ |
D | BootstrapTest.java | 183 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/ |
D | ShadowArscAssetManager.java | 149 int screenLayout, int uiMode, int colorMode, int sdkVersion) { in setConfiguration() argument 179 config.colorMode = (byte) colorMode; in setConfiguration()
|
D | ShadowArscAssetManager10.java | 587 configuration.colorMode = (byte) (color_mode); in nativeSetConfiguration()
|
D | ShadowArscAssetManager9.java | 583 configuration.colorMode = (byte) (color_mode); in nativeSetConfiguration()
|
D | ShadowLegacyAssetManager.java | 687 int screenLayout, int uiMode, int colorMode, int majorVersion) { in setConfiguration() argument
|
/external/skia/tools/viewer/ |
D | Viewer.cpp | 1042 void Viewer::setColorMode(ColorMode colorMode) { in setColorMode() argument 1043 fColorMode = colorMode; in setColorMode()
|
/external/skqp/tools/viewer/ |
D | Viewer.cpp | 991 void Viewer::setColorMode(ColorMode colorMode) { in setColorMode() argument 992 fColorMode = colorMode; in setColorMode()
|