Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DPathShapeTest.java41 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()
DArcShapeTest.java43 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()
DOvalShapeTest.java45 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()
DRectShapeTest.java46 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()
DRoundRectShapeTest.java46 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()
DShapeTest.java44 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/
DLocationOnScreenTests.java21 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()