Searched refs:srgbColor (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 1043 int srgbColor = Color.argb(color.alpha, color.red, color.green, color.blue); in testEraseColorLong() local 1045 long longColor = Color.convert(srgbColor, cs); in testEraseColorLong() 1057 + ", mismatch at 10, 10 ", srgbColor, mBitmap.getPixel(10, 10), in testEraseColorLong() 1060 + ", mismatch at 50, 50 ", srgbColor, mBitmap.getPixel(50, 50), in testEraseColorLong() 1073 int srgbColor = Color.argb(.5f, .3f, .6f, .7f); in testEraseColorOnP3() local 1074 long acesColor = Color.convert(srgbColor, ColorSpace.get(ColorSpace.Named.ACES)); in testEraseColorOnP3() 1076 ColorUtils.verifyColor("Mismatch at 15, 15", srgbColor, mBitmap.getPixel(15, 15), 1); in testEraseColorOnP3() 1395 int srgbColor = Color.argb(color.alpha, color.red, color.green, color.blue); in testSetColorSpace() local 1405 mBitmap.eraseColor(srgbColor); in testSetColorSpace()
|
D | PaintTest.java | 2229 for (int srgbColor : new int[]{ Color.argb(1.0f, .5f, .5f, .5f), 2241 final long longColor = Color.convert(srgbColor, cs); 2253 ColorUtils.verifyColor("Paint#" + methodName + " mismatch for " + cs, srgbColor,
|
D | BitmapColorSpaceTest.java | 413 int srgbColor = convertPremulColorToColorInt(rawColor, b.getColorSpace()); in verifyGetPixel() local 415 almostEqual(srgbColor, srgb, 3, 15 * b.getWidth() + 15); in verifyGetPixel()
|