HomeSort by relevance Sort by last modified time
    Searched refs:TEST_COLOR_2 (Results 1 - 7 of 7) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
PathShapeTest.java 41 private static final int TEST_COLOR_2 = 0xFFFF0000;
77 paint.setColor(TEST_COLOR_2);
81 // count number of pixels with TEST_COLOR_2 horizontally, vertically and diagonally
86 if (bitmap.getPixel(25, i) == TEST_COLOR_2) {
89 if (bitmap.getPixel(i, 25) == TEST_COLOR_2) {
92 if (bitmap.getPixel(i, i) == TEST_COLOR_2) {
ArcShapeTest.java 43 private static final int TEST_COLOR_2 = 0xFFFF0000;
84 paint.setColor(TEST_COLOR_2);
88 // count number of pixels with TEST_COLOR_2 along diagonal
91 if (bitmap.getPixel(i, i) == TEST_COLOR_2) {
OvalShapeTest.java 45 private static final int TEST_COLOR_2 = 0xFFFF0000;
69 paint.setColor(TEST_COLOR_2);
72 // count number of pixels with TEST_COLOR_2 along diagonal
75 if (bitmap.getPixel(i, i) == TEST_COLOR_2) {
RectShapeTest.java 46 private static final int TEST_COLOR_2 = 0xFFFF0000;
74 paint.setColor(TEST_COLOR_2);
76 verifyDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_2);
ShapeTest.java 44 private static final int TEST_COLOR_2 = 0xFFFF0000;
120 paint.setColor(TEST_COLOR_2);
RoundRectShapeTest.java 46 private static final int TEST_COLOR_2 = 0xFFFF0000;
89 paint.setColor(TEST_COLOR_2);
92 assertEquals(TEST_COLOR_2, bitmap.getPixel(TEST_WIDTH / 2, 0));
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
LocationOnScreenTests.java 21 import static android.server.wm.LocationOnScreenTests.TestActivity.TEST_COLOR_2;
176 Assert.fail("No match found for TEST_COLOR_1 and TEST_COLOR_2 pixels. Check "
183 && screenshot.getPixel(x + 1, y) == TEST_COLOR_2;
189 static final int TEST_COLOR_2 = 0xfffedcba;
242 mPaint.setColor(TEST_COLOR_2);

Completed in 107 milliseconds