Searched refs:rawColor (Results 1 – 2 of 2) sorted by relevance
663 final Color rawColor = screen.getColor(sampleX, sampleY); in getIsAppRegionOfScreenOfColorResult() local665 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() local772 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in assertColorChangeXIndex()780 sRgbColor = rawColor; in assertColorChangeXIndex()
386 private void verifyGetPixel(@NonNull String fileName, @ColorInt int rawColor) { in verifyGetPixel() argument393 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() argument411 assertEquals(rawColor, dst.asIntBuffer().get()); in verifyGetPixel()413 int srgbColor = convertPremulColorToColorInt(rawColor, b.getColorSpace()); in verifyGetPixel()