Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java73 private static final int PREMUL_COLOR = Color.argb(2, 255, 254, 253); field in BitmapTest
1465 bitmap.setPixel(0, 0, PREMUL_COLOR); in testSetPremultipliedData()
1473 bitmap.setPixel(0, 0, PREMUL_COLOR); in testSetPremultipliedData()
1474 assertEquals(bitmap.getPixel(0, 0), PREMUL_COLOR); in testSetPremultipliedData()
1477 int testArray[] = new int[] { PREMUL_COLOR }; in testSetPremultipliedData()
1480 assertEquals(bitmap.getPixel(0, 0), PREMUL_COLOR); in testSetPremultipliedData()
1513 bitmap.setPixel(0, 0, PREMUL_COLOR); in testSetPremultipliedToBuffer()
1527 bitmap.setPixel(0, 0, PREMUL_COLOR); in testSetPremultipliedFromBuffer()
1533 assertEquals(bitmap.getPixel(0, 0), PREMUL_COLOR); in testSetPremultipliedFromBuffer()