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.java43 private static final int TEST_COLOR_1 = 0xFF00FF00; field in ArcShapeTest
77 paint.setColor(TEST_COLOR_1); in testDraw()
82 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2)); in testDraw()
DPathShapeTest.java41 private static final int TEST_COLOR_1 = 0xFF00FF00; field in PathShapeTest
71 paint.setColor(TEST_COLOR_1); in testDraw()
76 assertEquals(TEST_COLOR_1, bitmap.getPixel(50, 50)); in testDraw()
DOvalShapeTest.java45 private static final int TEST_COLOR_1 = 0xFF00FF00; field in OvalShapeTest
62 paint.setColor(TEST_COLOR_1); in testDraw()
67 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, TEST_HEIGHT / 2)); in testDraw()
DRectShapeTest.java46 private static final int TEST_COLOR_1 = 0xFF00FF00; field in RectShapeTest
69 paint.setColor(TEST_COLOR_1); in testDraw()
73 verifyDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_1); in testDraw()
DRoundRectShapeTest.java46 private static final int TEST_COLOR_1 = 0xFF00FF00; field in RoundRectShapeTest
83 paint.setColor(TEST_COLOR_1); in testDraw()
88 assertEquals(TEST_COLOR_1, bitmap.getPixel(TEST_WIDTH / 2, 0)); in testDraw()
DShapeTest.java44 private static final int TEST_COLOR_1 = 0xFF00FF00; field in ShapeTest
115 paint.setColor(TEST_COLOR_1); in testDraw()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationOnScreenTests.java21 import static android.server.wm.LocationOnScreenTests.TestActivity.TEST_COLOR_1;
181 return sameColorWithinTolerance(screenshot.getPixel(x, y), TEST_COLOR_1) in isTestColors()
201 static final int TEST_COLOR_1 = 0xff123456; field in LocationOnScreenTests.TestActivity
254 mPaint.setColor(TEST_COLOR_1); in onDraw()