Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt468 …var color = System.getenv("TERM")?.startsWith("xterm") ?: System.getenv("COLORTERM") != null ?: fa… in <lambda>() variable in com.android.tools.metalava.Options
730 color = false in <lambda>()
732 color = true in <lambda>()
740 if (color) { in <lambda>()
772 helpAndQuit(color) in <lambda>()
1177 ARG_COLOR -> color = true in <lambda>()
1178 ARG_NO_COLOR -> color = false in <lambda>()
1418 color = true in <lambda>()
1573 val usage = getUsage(includeHeader = false, colorize = color) in <lambda>()
1948 color = color in <lambda>()
[all …]
DReporter.kt302 color: Boolean = options.color in doReport()
317 …val formattedMessage = format(effectiveSeverity, location, message, id, color, options.omitLocatio… in doReport()
333 color: Boolean, in format()
338 if (color && !isUnderTest()) { in format()
418 color = false, in reportEvenIfSuppressed()
DTerminal.kt75 fun colorized(string: String, color: TerminalColor): String { in colorized()
/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/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/tools/
Dcheckpatch.pl60 my $color = "auto";
191 $_ = "--color=$color";
225 'color=s' => \$color,
226 'no-color' => \$color, #keep old behaviors of -nocolor
227 'nocolor' => \$color, #keep old behaviors of -nocolor
253 if ($color =~ /^[01]$/) {
254 $color = !$color;
255 } elsif ($color =~ /^always$/i) {
256 $color = 1;
257 } elsif ($color =~ /^never$/i) {
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py1098 color='#7570B3',
1104 color = colors[index_now % len(colors)]
1109 color=color)
1114 fill_color=color)
1185 color=colors[j])
1215 color=colors[j])
1226 color=colors[j])
1240 color='#7570B3',
1267 color=colors[j])
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_performance_test_utils.py317 color=None, argument
340 if color == None:
341 color = self.COLORS[self.fig_property['num_lines'] %
354 'color': color,
369 color=None, argument
386 if color == None:
387 color = self.COLORS[self.fig_property['num_lines'] %
399 'color': color,
427 color=line['color'],
439 color='#7570B3',
/tools/repohooks/rh/
Dterminal.py53 def start(self, color): argument
64 return self.COLOR_START % (color + 30)
78 def color(self, color, text): member in Color
91 if color == self.BOLD:
94 start = self.COLOR_START % (color + 30)
/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/asuite/atest/
Dresult_reporter.py567 color = ''
571 color = constants.GREEN
576 color = constants.MAGENTA
579 color = constants.RED
586 print(': {} {}'.format(au.colorize(test.status, color),
Datest_utils.py309 def colorize(text, color, highlight=False): argument
326 ansi_shift = 40 + color
328 ansi_shift = 30 + color
335 def colorful_print(text, color, highlight=False, auto_wrap=True): argument
345 output = colorize(text, color, highlight)
/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/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))
Dplot_utils.py75 color = ['navy'] * total_data_points
79 data=dict(x=time_relative, y=current_data, color=color))
/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/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/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/external_updater/
Dexternal_updater.py62 def color_string(string: str, color: Color) -> str:
66 return color.value + string + END_COLOR
/tools/test/connectivity/acts/tests/google/wifi/
DWifiRvrTest.py272 color='green',
291 color='red',
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DChannelSweepTest.py403 color='blue')
414 color='red')
/tools/dexter/testdata/expected/
Dmedium.wrap_invoke22920 .params "color"
23263 .params "color"
23627 25| const-string/jumbo v1, "color"
28318 .params "color"
28333 .params "color"
30615 .params "color"
38810 .local v6, "color", int
38923 .local v2, "color", int
39065 213| iget v2, v9, com.android.calendar.Event.color
41075 156| iget v3, v0, com.android.calendar.Event.color
[all …]
Dmedium.rewrite22920 .params "color"
23263 .params "color"
23627 25| const-string/jumbo v1, "color"
28318 .params "color"
28333 .params "color"
30615 .params "color"
38810 .local v6, "color", int
38923 .local v2, "color", int
39065 213| iget v2, v9, com.android.calendar.Event.color
41075 156| iget v3, v0, com.android.calendar.Event.color
[all …]
Dmedium.entry_hook23941 .params "color"
24292 .params "color"
24673 28| const-string/jumbo v1, "color"
29451 .params "color"
29467 .params "color"
31812 .params "color"
40174 .local v6, "color", int
40288 .local v2, "color", int
40430 216| iget v2, v9, com.android.calendar.Event.color
42455 159| iget v3, v0, com.android.calendar.Event.color
[all …]
Dmedium.scratch_regs28903 .params "color"
29313 .params "color"
29761 25| const-string/jumbo v1, "color"
35170 .params "color"
35191 .params "color"
37800 .params "color"
47011 .local v6, "color", int
47152 .local v2, "color", int
47294 297| iget v2, v9, com.android.calendar.Event.color
49495 228| iget v3, v0, com.android.calendar.Event.color
[all …]

12