Home
last modified time | relevance | path

Searched refs:rawColor (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java663 final Color rawColor = screen.getColor(sampleX, sampleY); in getIsAppRegionOfScreenOfColorResult() local
665 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in getIsAppRegionOfScreenOfColorResult()
673 sRgbColor = rawColor; in getIsAppRegionOfScreenOfColorResult()
770 final Color rawColor = screen.getColor(sampleX, sampleY); in assertColorChangeXIndex() local
772 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in assertColorChangeXIndex()
780 sRgbColor = rawColor; in assertColorChangeXIndex()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapColorSpaceTest.java386 private void verifyGetPixel(@NonNull String fileName, @ColorInt int rawColor) { in verifyGetPixel() argument
393 verifyGetPixel(b, rawColor); in verifyGetPixel()
396 verifyGetPixel(b, rawColor); in verifyGetPixel()
399 verifyGetPixel(b, rawColor); in verifyGetPixel()
405 private static void verifyGetPixel(@NonNull Bitmap b, @ColorInt int rawColor) { in verifyGetPixel() argument
411 assertEquals(rawColor, dst.asIntBuffer().get()); in verifyGetPixel()
413 int srgbColor = convertPremulColorToColorInt(rawColor, b.getColorSpace()); in verifyGetPixel()