Searched refs:TEST_COLOR_1 (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | ArcShapeTest.java | 42 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()
|
D | PathShapeTest.java | 40 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()
|
D | OvalShapeTest.java | 44 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()
|
D | RectShapeTest.java | 45 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()
|
D | RoundRectShapeTest.java | 45 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()
|
D | ShapeTest.java | 43 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/ |
D | LocationOnScreenTests.java | 20 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()
|