Searched refs:RgbaColor (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
D | rgba_color.py | 7 class RgbaColor(collections.namedtuple('RgbaColor', ['r', 'g', 'b', 'a'])): class 10 return super(RgbaColor, cls).__new__(cls, r, g, b, a) 26 assert self.IsEqual(RgbaColor(r, g, b), tolerance) 29 assert self.IsEqual(RgbaColor(r, g, b, a), tolerance) 32 WEB_PAGE_TEST_ORANGE = RgbaColor(222, 100, 13) 33 WHITE = RgbaColor(255, 255, 255)
|
D | color_histogram_unittest.py | 79 bmp, ignore_color=rgba_color.RgbaColor(1, 2, 3)) 95 bmp, ignore_color=rgba_color.RgbaColor(0, 1, 2), tolerance=1) 114 bmp, ignore_color=rgba_color.RgbaColor(1, 2, 3))
|
D | image_util_unittest.py | 109 box, count = image_util.GetBoundingBox(bmp, rgba_color.RgbaColor(1, 0, 0)) 113 box, count = image_util.GetBoundingBox(bmp, rgba_color.RgbaColor(0, 1, 0))
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
D | _bitmap.py | 143 return rgba_color.RgbaColor(pixels[base + 0], pixels[base + 1], 145 return rgba_color.RgbaColor(pixels[base + 0], pixels[base + 1], 193 c0 = rgba_color.RgbaColor(0, 0, 0, 0) 198 c1 = rgba_color.RgbaColor(0, 0, 0, 0)
|
D | image_util_numpy_impl.py | 30 return rgba_color.RgbaColor(bgr[2], bgr[1], bgr[0])
|