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.java32 private static final int TEST_COLOR_2 = 0xFFFF0000; field in PathShapeTest
66 paint.setColor(TEST_COLOR_2); in testDraw()
75 if (bitmap.getPixel(25, i) == TEST_COLOR_2) { in testDraw()
78 if (bitmap.getPixel(i, 25) == TEST_COLOR_2) { in testDraw()
81 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
DArcShapeTest.java34 private static final int TEST_COLOR_2 = 0xFFFF0000; field in ArcShapeTest
61 paint.setColor(TEST_COLOR_2); in testDraw()
68 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
DOvalShapeTest.java34 private static final int TEST_COLOR_2 = 0xFFFF0000; field in OvalShapeTest
56 paint.setColor(TEST_COLOR_2); in testDraw()
62 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
DRoundRectShapeTest.java35 private static final int TEST_COLOR_2 = 0xFFFF0000; field in RoundRectShapeTest
77 paint.setColor(TEST_COLOR_2); in testDraw()
80 assertEquals(TEST_COLOR_2, bitmap.getPixel(TEST_WIDTH / 2, 0)); in testDraw()
DRectShapeTest.java35 private static final int TEST_COLOR_2 = 0xFFFF0000; field in RectShapeTest
61 paint.setColor(TEST_COLOR_2); in testDraw()
63 assertDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_2); in testDraw()
DShapeTest.java36 private static final int TEST_COLOR_2 = 0xFFFF0000; field in ShapeTest
107 paint.setColor(TEST_COLOR_2); in testDraw()