Home
last modified time | relevance | path

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

12

/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.py57 def start(self, color): argument
68 return self.COLOR_START % (color + 30)
82 def color(self, color, text): member in Color
95 if color == self.BOLD:
98 start = self.COLOR_START % (color + 30)
Dterminal_unittest.py86 self.assertEqual(c.color(rh.terminal.Color.BLACK, 'foo'), 'foo')
93 self.assertEqual(c.color(rh.terminal.Color.BLACK, 'foo'),
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/wifi_performance_test_utils/
Dbokeh_figure.py148 color=None, argument
171 if color == None:
172 color = self.COLORS[self.fig_property['num_lines'] %
185 'color': color,
200 color=None, argument
217 if color == None:
218 color = self.COLORS[self.fig_property['num_lines'] %
228 'color': color,
256 color=line['color'],
268 color='#7570B3',
/tools/repohooks/
Dpre-upload.py62 COMMIT = COLOR.color(COLOR.CYAN, 'COMMIT')
63 RUNNING = COLOR.color(COLOR.YELLOW, 'RUNNING')
64 PASSED = COLOR.color(COLOR.GREEN, 'PASSED')
65 FAILED = COLOR.color(COLOR.RED, 'FAILED')
66 WARNING = COLOR.color(COLOR.YELLOW, 'WARNING')
67 FIXUP = COLOR.color(COLOR.MAGENTA, 'FIXUP')
87 self._banner_esc_chars = len(self.COLOR.color(self.COLOR.YELLOW, ''))
281 print(Output.COLOR.color(Output.COLOR.MAGENTA, banner), file=sys.stderr)
552 color = rh.terminal.Color()
553 print(color.color(color.RED, 'FATAL') +
/tools/netsim/ui/ts/
Dcube-sprite.ts35 @property({type: css, attribute: 'color'}) color = css`red`; property in CubeSprite
177 --color: ${this.color};
Dpyramid-sprite.ts35 @property({type: css, attribute: 'color'}) color = css`red`; property in PyramidSprite
163 --color: ${this.color};
Ddevice-info.ts539 color: 'red',
554 color: 'green',
569 color: 'blue',
/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_tests/acts_contrib/test_utils/power/
Dplot_utils.py56 color = ['navy'] * len(samples)
63 data=dict(x=time_realtime, y=current_data, color=color))
DPowerGnssBaseTest.py80 color = ['navy'] * len(samples)
84 data=dict(x0=time_relative, y0=power_data, color=color))
/tools/netsim/ui/dist/js/
Dpyramid-sprite.js1 …er(...arguments),this.yaw=-15,this.pitch=-15,this.roll=0,this.posZ=0,this.color=e`red`,this.size=e…
5 --color: ${this.color};
Dcube-sprite.js1 …er(...arguments),this.yaw=-15,this.pitch=-15,this.roll=0,this.posZ=0,this.color=e`red`,this.size=e…
5 --color: ${this.color};
Ddevice-info.js82 style=${d({color:"red"})}
93 style=${d({color:"green"})}
104 style=${d({color:"blue"})}
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/help/
DIssuesCommand.kt126 private fun String.colorize(substring: String, color: TerminalColor) = in colorize()
127 replace(substring, terminal.colorize(substring, color)) in colorize()
/tools/test/connectivity/acts_tests/acts_contrib/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/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/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/atest/
Dresult_reporter.py735 color = ''
739 color = constants.GREEN
746 color = constants.MAGENTA
749 color = constants.RED
759 print(': {} {}'.format(au.colorize(test.status, color), test.test_time))
Datest_utils.py528 def colorize(text, color, bp_color=None): argument
547 text_color = 30 + color
551 text_color = 30 + color
594 def colorful_print(text, color, bp_color=None, auto_wrap=True): argument
604 output = colorize(text, color, bp_color)
612 prefix: str, color: int, msg: Any, *fmt_args: list[Any]
628 colorful_print(f'{prefix}{evaluated_msg}', color)
2065 colorful_print('[Suggestion] ' + suggestion, color=constants.RED)
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DTerminal.kt53 fun colorize(string: String, color: TerminalColor): String { in colorize()
/tools/asuite/aidegen/lib/
Dcommon_util.py45 COLORED_INFO = partial(atest_utils.colorize, color=constants.MAGENTA)
46 COLORED_PASS = partial(atest_utils.colorize, color=constants.GREEN)
47 COLORED_FAIL = partial(atest_utils.colorize, color=constants.RED)
/tools/repohooks/tools/
Dcheckpatch.pl70 my $color = "auto";
182 if ($color) {
196 if ($color) {
287 $_ = "--color=$color";
323 'color=s' => \$color,
324 'no-color' => \$color, #keep old behaviors of -nocolor
325 'nocolor' => \$color, #keep old behaviors of -nocolor
359 if ($color =~ /^[01]$/) {
360 $color = !$color;
361 } elsif ($color =~ /^always$/i) {
[all …]
/tools/external_updater/
Dexternal_updater.py67 def color_string(string: str, color: Color) -> str:
71 return color.value + string + END_COLOR
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRvrTest.py299 color='green',
328 color='black',
335 color='blue',
343 color='red',

12