Home
last modified time | relevance | path

Searched refs:srgbColor (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java979 int srgbColor = Color.argb(color.alpha, color.red, color.green, color.blue); in testEraseColorLong() local
981 long longColor = Color.convert(srgbColor, cs); in testEraseColorLong()
993 + ", mismatch at 10, 10 ", srgbColor, mBitmap.getPixel(10, 10), in testEraseColorLong()
996 + ", mismatch at 50, 50 ", srgbColor, mBitmap.getPixel(50, 50), in testEraseColorLong()
1009 int srgbColor = Color.argb(.5f, .3f, .6f, .7f); in testEraseColorOnP3() local
1010 long acesColor = Color.convert(srgbColor, ColorSpace.get(ColorSpace.Named.ACES)); in testEraseColorOnP3()
1012 ColorUtils.verifyColor("Mismatch at 15, 15", srgbColor, mBitmap.getPixel(15, 15), 1); in testEraseColorOnP3()
1331 int srgbColor = Color.argb(color.alpha, color.red, color.green, color.blue); in testSetColorSpace() local
1341 mBitmap.eraseColor(srgbColor); in testSetColorSpace()
DPaintTest.java2204 for (int srgbColor : new int[]{ Color.argb(1.0f, .5f, .5f, .5f),
2216 final long longColor = Color.convert(srgbColor, cs);
2228 ColorUtils.verifyColor("Paint#" + methodName + " mismatch for " + cs, srgbColor,
DBitmapColorSpaceTest.java411 int srgbColor = convertPremulColorToColorInt(rawColor, b.getColorSpace()); in verifyGetPixel() local
413 almostEqual(srgbColor, srgb, 3, 15 * b.getWidth() + 15); in verifyGetPixel()