Searched refs:rawColor (Results 1 – 2 of 2) sorted by relevance
674 final Color rawColor = screen.getColor(sampleX, sampleY); in getIsAppRegionOfScreenOfColorResult() local676 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in getIsAppRegionOfScreenOfColorResult()684 sRgbColor = rawColor; in getIsAppRegionOfScreenOfColorResult()781 final Color rawColor = screen.getColor(sampleX, sampleY); in assertColorChangeXIndex() local783 if (!rawColor.getColorSpace().equals(ColorSpace.get(ColorSpace.Named.SRGB))) { in assertColorChangeXIndex()791 sRgbColor = rawColor; in assertColorChangeXIndex()
389 private void verifyGetPixel(@NonNull String fileName, @ColorInt int rawColor) { in verifyGetPixel() argument396 verifyGetPixel(b, rawColor); in verifyGetPixel()399 verifyGetPixel(b, rawColor); in verifyGetPixel()402 verifyGetPixel(b, rawColor); in verifyGetPixel()408 private static void verifyGetPixel(@NonNull Bitmap b, @ColorInt int rawColor) { in verifyGetPixel() argument414 assertEquals(rawColor, dst.asIntBuffer().get()); in verifyGetPixel()416 int srgbColor = convertPremulColorToColorInt(rawColor, b.getColorSpace()); in verifyGetPixel()