Home
last modified time | relevance | path

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

/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt55 var color = colorFor(it) in paintComponent() variable
57 color = Color(color.red, color.green, color.blue, in paintComponent()
60 g.color = color in paintComponent()
79 g.color = textColor in drawLabel()
/tools/repohooks/rh/
Dterminal.py53 def start(self, color): argument
64 return self.COLOR_START % (color + 30)
78 def color(self, color, text): argument
91 if color == self.BOLD:
94 start = self.COLOR_START % (color + 30)
/tools/repohooks/
Dpre-upload.py72 COMMIT = COLOR.color(COLOR.CYAN, 'COMMIT')
73 RUNNING = COLOR.color(COLOR.YELLOW, 'RUNNING')
74 PASSED = COLOR.color(COLOR.GREEN, 'PASSED')
75 FAILED = COLOR.color(COLOR.RED, 'FAILED')
76 WARNING = COLOR.color(COLOR.YELLOW, 'WARNING')
405 color = rh.terminal.Color()
408 (color.color(color.RED, 'FATAL'), REPOHOOKS_URL),
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py90 color = ['navy'] * total_data_points
94 data=dict(x0=time_relative, y0=current_data, color=color))
322 band_x, band_y, color='#7570B3', line_alpha=0.1, fill_alpha=0.1)
326 color = colors[index_now % len(colors)]
332 color=color)
338 fill_color=color)
Dwifi_performance_test_utils.py304 color=None, argument
327 if color == None:
328 color = self.COLORS[self.fig_property['num_lines'] %
341 'color': color,
356 color=None, argument
373 if color == None:
374 color = self.COLORS[self.fig_property['num_lines'] %
386 'color': color,
414 color=line['color'],
426 color='#7570B3',
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/test/
DPerformanceTestTest.java36 private InputStream createImage(int color) throws IOException { in createImage() argument
42 img.setRGB(i, j, color); in createImage()
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerGnssBaseTest.py92 color = ['navy'] * total_data_points
96 data=dict(x0=time_relative, y0=power_data, color=color))
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt298 color: Boolean = options.color in doReport()
321 format(effectiveSeverity, location, message, id, color, options.omitLocations), in doReport()
332 color: Boolean, in format()
337 if (color && !isUnderTest()) { in format()
417 color = false, in reportEvenIfSuppressed()
DTerminal.kt77 fun colorized(string: String, color: TerminalColor): String { in colorized()
/tools/asuite/atest/
Datest_utils.py301 def colorize(text, color, highlight=False): argument
318 ansi_shift = 40 + color
320 ansi_shift = 30 + color
327 def colorful_print(text, color, highlight=False, auto_wrap=True): argument
337 output = colorize(text, color, highlight)
/tools/tradefederation/core/atest/
Datest_utils.py297 def colorize(text, color, highlight=False): argument
314 ansi_shift = 40 + color
316 ansi_shift = 30 + color
323 def colorful_print(text, color, highlight=False, auto_wrap=True): argument
333 output = colorize(text, color, highlight)
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java238 int color = img.getRGB(i, j); in isImageBlack() local
240 if ((color & 0x00ffffff) != 0 && (color >> 24) != 0) { in isImageBlack()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java396 final int color = img.getRGB(x, y); in projectPixelsToXAxis() local
398 if (color == targetColor) { in projectPixelsToXAxis()
423 final int color = img.getRGB(x, y); in projectPixelsToYAxis() local
425 if (color == targetColor) { in projectPixelsToYAxis()
/tools/external_updater/
Dexternal_updater.py41 def color_string(string, color): argument
51 return colors[color] + string + end_color
/tools/asuite/aidegen/lib/
Dcommon_util.py44 atest_utils.colorize, color=constants.MAGENTA, highlight=False)
46 atest_utils.colorize, color=constants.GREEN, highlight=False)
48 atest_utils.colorize, color=constants.RED, highlight=False)
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py1122 color=colors[j])
1152 color=colors[j])
1163 color=colors[j])
1177 color='#7570B3',
1204 color=colors[j])
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRvrTest.py278 color='green',
297 color='red',