Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/telemetry/util/
Drgba_color.py15 def IsEqual(self, expected_color, tolerance=0): argument
18 r_diff = abs(self.r - expected_color.r)
19 g_diff = abs(self.g - expected_color.g)
20 b_diff = abs(self.b - expected_color.b)
21 a_diff = abs(self.a - expected_color.a)