HomeSort by relevance Sort by last modified time
    Searched defs:verifyColor (Results 1 - 11 of 11) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/cts/
LightingColorFilterTest.java 39 private void verifyColor(int expected, int actual) {
40 ColorUtils.verifyColor(expected, actual, TOLERANCE);
53 verifyColor(Color.MAGENTA, bitmap.getPixel(0, 0));
58 verifyColor(Color.BLUE, bitmap.getPixel(0, 0));
63 verifyColor(Color.CYAN, bitmap.getPixel(0, 0));
70 verifyColor(Color.GREEN, bitmap.getPixel(0, 0));
76 verifyColor(Color.MAGENTA, bitmap.getPixel(0, 0));
83 verifyColor(Color.argb(255, 30, 30, 30), bitmap.getPixel(0, 0));
91 verifyColor(Color.argb(0x80, 30, 30, 30), bitmap.getPixel(0, 0));
97 ColorUtils.verifyColor(Color.BLACK, filter.getColorAdd())
    [all...]
BlurMaskFilterTest.java 74 verifyColor(color, bitmap.getPixel(x, y), alphaTolerance);
75 verifyColor(color, bitmap.getPixel(right - x, y), alphaTolerance);
76 verifyColor(color, bitmap.getPixel(x, bottom - y), alphaTolerance);
77 verifyColor(color, bitmap.getPixel(right - x, bottom - y), alphaTolerance);
80 private void verifyColor(int expected, int actual, int alphaTolerance) {
ColorMatrixColorFilterTest.java 59 ColorUtils.verifyColor(Color.CYAN, bitmap.getPixel(0, 0));
62 ColorUtils.verifyColor(Color.GREEN, bitmap.getPixel(0, 0));
65 ColorUtils.verifyColor(Color.RED, bitmap.getPixel(0, 0));
69 ColorUtils.verifyColor(Color.WHITE, bitmap.getPixel(0, 0));
85 ColorUtils.verifyColor(Color.argb(128, 255, 0, 64), bitmap.getPixel(0, 0), 2);
89 ColorUtils.verifyColor(Color.CYAN, bitmap.getPixel(0, 0));
96 ColorUtils.verifyColor(Color.CYAN, bitmap.getPixel(0, 0));
100 ColorUtils.verifyColor(Color.BLUE, bitmap.getPixel(0, 0));
BitmapShaderTest.java 81 verifyColor(BORDER_COLOR, bitmap, x + tileX, y + tileY);
83 verifyColor(CENTER_COLOR, bitmap, x + tileX, y + tileY);
94 private void verifyColor(int color, Bitmap bitmap, int x, int y) {
RadialGradientTest.java 63 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(0, 0), 1);
64 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(1, 0), 1);
65 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(2, 0), 1);
89 ColorUtils.verifyColor("Center color should be red!", convert.apply(red),
95 ColorUtils.verifyColor("Edge point " + p + " should be blue", blueColor,
126 ColorUtils.verifyColor("Point(" + x + ", " + y + ") should match "
SweepGradientTest.java 171 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(0, 0), 1);
172 ColorUtils.verifyColor(Color.BLACK, bitmap.getPixel(1, 0), 1);
292 ColorUtils.verifyColor("First color (at angle " + toString(angle)
307 ColorUtils.verifyColor("Radius " + radius + " at angle " + toString(angle)
BitmapColorSpaceTest.java 504 ColorUtils.verifyColor(expectedColor, dst.asIntBuffer().get(), 1);
554 ColorUtils.verifyColor(expectedColor, buffer.get(), 1);
    [all...]
BitmapTest.java 344 ColorUtils.verifyColor(expected[0], observed.getPixel(0, 0));
345 ColorUtils.verifyColor(expected[1], observed.getPixel(1, 0));
346 ColorUtils.verifyColor(expected[2], observed.getPixel(0, 1));
347 ColorUtils.verifyColor(expected[3], observed.getPixel(1, 1));
710 ColorUtils.verifyColor("Erasing to Bitmap's ColorSpace "
725 ColorUtils.verifyColor("Bitmap(Config: " + mBitmap.getConfig()
764 ColorUtils.verifyColor("Config " + config + " mismatch at 10, 10 ",
766 ColorUtils.verifyColor("Config " + config + " mismatch at 50, 50 ",
791 ColorUtils.verifyColor("Config " + config + ", ColorSpace " + cs
794 ColorUtils.verifyColor("Config " + config + ", ColorSpace " + c
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
ColorUtils.java 30 public static void verifyColor(int expected, int observed) {
31 verifyColor(expected, observed, 0);
34 public static void verifyColor(int expected, int observed, int tolerance) {
35 verifyColor("", expected, observed, tolerance);
46 public static void verifyColor(@NonNull String s, int expected, int observed, int tolerance) {
90 public static void verifyColor(@NonNull String msg, Color expected, Color observed,
  /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
ColorUtils.java 30 public static void verifyColor(int expected, int observed) {
31 verifyColor(expected, observed, 0);
34 public static void verifyColor(int expected, int observed, int tolerance) {
35 verifyColor("", expected, observed, tolerance);
46 public static void verifyColor(@NonNull String s, int expected, int observed, int tolerance) {
90 public static void verifyColor(@NonNull String msg, Color expected, Color observed,
  /cts/tests/tests/appwidget/src/android/appwidget/cts/
DarkTextThemeTest.java 147 verifyColor(mAppWidgetHostView, Color.WHITE);
168 verifyColor(mAppWidgetHostView, Color.BLACK);
181 verifyColor(listView.getChildAt(0), Color.WHITE);
182 verifyColor(listView.getChildAt(1), Color.WHITE);
183 verifyColor(listView.getChildAt(2), Color.WHITE);
197 verifyColor(listView.getChildAt(0), Color.BLACK);
198 verifyColor(listView.getChildAt(1), Color.BLACK);
199 verifyColor(listView.getChildAt(2), Color.BLACK);
264 private void verifyColor(View parent, int color) {

Completed in 1078 milliseconds