Home
last modified time | relevance | path

Searched refs:RgbaColor (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/util/
Drgba_color.py7 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)
Dcolor_histogram_unittest.py79 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))
Dimage_util_unittest.py109 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.py143 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)
Dimage_util_numpy_impl.py30 return rgba_color.RgbaColor(bgr[2], bgr[1], bgr[0])