Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DPathShapeTest.java33 private static final int TEST_COLOR_2 = 0xFFFF0000; field in PathShapeTest
69 paint.setColor(TEST_COLOR_2); in testDraw()
78 if (bitmap.getPixel(25, i) == TEST_COLOR_2) { in testDraw()
81 if (bitmap.getPixel(i, 25) == TEST_COLOR_2) { in testDraw()
84 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
DArcShapeTest.java35 private static final int TEST_COLOR_2 = 0xFFFF0000; field in ArcShapeTest
64 paint.setColor(TEST_COLOR_2); in testDraw()
71 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
DOvalShapeTest.java36 private static final int TEST_COLOR_2 = 0xFFFF0000; field in OvalShapeTest
58 paint.setColor(TEST_COLOR_2); in testDraw()
64 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
DRectShapeTest.java37 private static final int TEST_COLOR_2 = 0xFFFF0000; field in RectShapeTest
64 paint.setColor(TEST_COLOR_2); in testDraw()
66 assertDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_2); in testDraw()
DRoundRectShapeTest.java37 private static final int TEST_COLOR_2 = 0xFFFF0000; field in RoundRectShapeTest
79 paint.setColor(TEST_COLOR_2); in testDraw()
82 assertEquals(TEST_COLOR_2, bitmap.getPixel(TEST_WIDTH / 2, 0)); in testDraw()
DShapeTest.java35 private static final int TEST_COLOR_2 = 0xFFFF0000; field in ShapeTest
111 paint.setColor(TEST_COLOR_2); in testDraw()