Home
last modified time | relevance | path

Searched refs:ColorComponentsClose (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/gfx/image/
Dimage_unittest_util.cc32 bool ColorComponentsClose(SkColor component1, SkColor component2) { in ColorComponentsClose() function
40 return ColorComponentsClose(SkColorGetR(color1), SkColorGetR(color2)) && in ColorsClose()
41 ColorComponentsClose(SkColorGetG(color1), SkColorGetG(color2)) && in ColorsClose()
42 ColorComponentsClose(SkColorGetB(color1), SkColorGetB(color2)) && in ColorsClose()
43 ColorComponentsClose(SkColorGetA(color1), SkColorGetA(color2)); in ColorsClose()
/external/chromium_org/content/common/gpu/client/
Dgl_helper_unittest.cc891 bool ColorComponentsClose(SkColor component1, in ColorComponentsClose() function in content::GLHelperTest
911 bool red = ColorComponentsClose(SkColorGetR(color1), in ColorsClose()
913 bool green = ColorComponentsClose(SkColorGetG(color1), in ColorsClose()
915 bool blue = ColorComponentsClose(SkColorGetB(color1), in ColorsClose()
917 bool alpha = ColorComponentsClose(SkColorGetA(color1), in ColorsClose()