Searched refs:TEST_COLOR_2 (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | PathShapeTest.java | 41 private static final int TEST_COLOR_2 = 0xFFFF0000; field in PathShapeTest 77 paint.setColor(TEST_COLOR_2); in testDraw() 86 if (bitmap.getPixel(25, i) == TEST_COLOR_2) { in testDraw() 89 if (bitmap.getPixel(i, 25) == TEST_COLOR_2) { in testDraw() 92 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
|
D | ArcShapeTest.java | 43 private static final int TEST_COLOR_2 = 0xFFFF0000; field in ArcShapeTest 84 paint.setColor(TEST_COLOR_2); in testDraw() 91 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
|
D | OvalShapeTest.java | 45 private static final int TEST_COLOR_2 = 0xFFFF0000; field in OvalShapeTest 69 paint.setColor(TEST_COLOR_2); in testDraw() 75 if (bitmap.getPixel(i, i) == TEST_COLOR_2) { in testDraw()
|
D | RectShapeTest.java | 46 private static final int TEST_COLOR_2 = 0xFFFF0000; field in RectShapeTest 74 paint.setColor(TEST_COLOR_2); in testDraw() 76 verifyDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_2); in testDraw()
|
D | RoundRectShapeTest.java | 46 private static final int TEST_COLOR_2 = 0xFFFF0000; field in RoundRectShapeTest 89 paint.setColor(TEST_COLOR_2); in testDraw() 92 assertEquals(TEST_COLOR_2, bitmap.getPixel(TEST_WIDTH / 2, 0)); in testDraw()
|
D | ShapeTest.java | 44 private static final int TEST_COLOR_2 = 0xFFFF0000; field in ShapeTest 120 paint.setColor(TEST_COLOR_2); in testDraw()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | LocationOnScreenTests.java | 21 import static android.server.wm.LocationOnScreenTests.TestActivity.TEST_COLOR_2; 183 && screenshot.getPixel(x + 1, y) == TEST_COLOR_2; in isTestColors() 189 static final int TEST_COLOR_2 = 0xfffedcba; field in LocationOnScreenTests.TestActivity 242 mPaint.setColor(TEST_COLOR_2); in onDraw()
|