Home
last modified time | relevance | path

Searched refs:actual_color (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/cc/test/
Dpixel_comparator.cc31 SkColor actual_color = actual_bmp.getColor(x, y); in Compare() local
34 actual_color = SkColorSetA(actual_color, 0); in Compare()
38 if (actual_color != expected_color) { in Compare()
42 << SkColorGetR(actual_color) << "," in Compare()
43 << SkColorGetG(actual_color) << "," in Compare()
44 << SkColorGetB(actual_color) << "," in Compare()
45 << SkColorGetA(actual_color) << "); " in Compare()
107 SkColor actual_color = actual_bmp.getColor(x, y); in Compare() local
110 actual_color = SkColorSetA(actual_color, 0); in Compare()
114 if (actual_color != expected_color) { in Compare()
[all …]
/external/chromium_org/skia/ext/
Dimage_operations_unittest.cc306 const SkColor actual_color = *dest.getAddr32(x, y); in CheckResizeMethodShouldAverageGrid() local
310 float distance = ColorsEuclidianDistance(average_color, actual_color); in CheckResizeMethodShouldAverageGrid()
318 << ", actual hex: " << actual_color; in CheckResizeMethodShouldAverageGrid()
415 const uint32_t actual_color = *actual_results.getAddr32(x, y); in TEST() local
416 const bool close = ColorsClose(expected_color, actual_color); in TEST()
422 x, y, expected_color, x, y, actual_color); in TEST()
/external/chromium_org/ui/compositor/
Dlayer_unittest.cc792 SkColor actual_color = bitmap.getColor(x, y); in TEST_F() local
794 EXPECT_EQ(expected_color, actual_color) in TEST_F()
797 << SkColorGetR(actual_color) << "," in TEST_F()
798 << SkColorGetG(actual_color) << "," in TEST_F()
799 << SkColorGetB(actual_color) << "," in TEST_F()
800 << SkColorGetA(actual_color) << "); " in TEST_F()
/external/chromium_org/ui/surface/
Daccelerated_surface_transformer_win_unittest.cc233 std::string actual_color = in AssertSameColor() local
235 EXPECT_EQ(expected_color, actual_color) in AssertSameColor()