Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java42 private static final int TEST_COLOR_1 = 0xFF00FF00; field in ArcShapeTest
76 paint.setColor(TEST_COLOR_1); in testDraw()
81 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2)); in testDraw()
DPathShapeTest.java40 private static final int TEST_COLOR_1 = 0xFF00FF00; field in PathShapeTest
70 paint.setColor(TEST_COLOR_1); in testDraw()
75 assertEquals(TEST_COLOR_1, bitmap.getPixel(50, 50)); in testDraw()
DOvalShapeTest.java44 private static final int TEST_COLOR_1 = 0xFF00FF00; field in OvalShapeTest
61 paint.setColor(TEST_COLOR_1); in testDraw()
66 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2)); in testDraw()
DRectShapeTest.java45 private static final int TEST_COLOR_1 = 0xFF00FF00; field in RectShapeTest
68 paint.setColor(TEST_COLOR_1); in testDraw()
72 verifyDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_1); in testDraw()
DRoundRectShapeTest.java45 private static final int TEST_COLOR_1 = 0xFF00FF00; field in RoundRectShapeTest
82 paint.setColor(TEST_COLOR_1); in testDraw()
87 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, 0)); in testDraw()
DShapeTest.java43 private static final int TEST_COLOR_1 = 0xFF00FF00; field in ShapeTest
114 paint.setColor(TEST_COLOR_1); in testDraw()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationOnScreenTests.java20 import static android.server.wm.LocationOnScreenTests.TestActivity.TEST_COLOR_1;
182 return screenshot.getPixel(x, y) == TEST_COLOR_1 in isTestColors()
188 static final int TEST_COLOR_1 = 0xff123456; field in LocationOnScreenTests.TestActivity
240 mPaint.setColor(TEST_COLOR_1); in onDraw()