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 | 43 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()
|
D | PathShapeTest.java | 41 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()
|
D | OvalShapeTest.java | 45 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()
|
D | RectShapeTest.java | 46 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()
|
D | RoundRectShapeTest.java | 46 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()
|
D | ShapeTest.java | 44 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/ |
D | LocationOnScreenTests.java | 21 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()
|