Home
last modified time | relevance | path

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

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/help/
DIssuesCommand.kt114 .colorize(" | ", TerminalColor.YELLOW) in formatHelp()
115 .colorize(" error", TerminalColor.RED) in formatHelp()
116 .colorize(" warning", TerminalColor.MAGENTA) in formatHelp()
117 .colorize(" lint", TerminalColor.BLUE) in formatHelp()
118 .colorize(" info", TerminalColor.GREEN) in formatHelp()
126 private fun String.colorize(substring: String, color: TerminalColor) = in colorize() method
127 replace(substring, terminal.colorize(substring, color)) in colorize()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DMetalavaHelpFormatter.kt92 val formattedProgramName = terminal.colorize(programName, TerminalColor.BLUE) in <lambda>()
199 return terminal.colorize(super.renderSectionTitle(title), TerminalColor.YELLOW) in <lambda>()
DTerminal.kt53 fun colorize(string: String, color: TerminalColor): String { in colorize() method in com.android.tools.metalava.cli.common.Terminal
/tools/asuite/atest/
Datest_utils.py528 def colorize(text, color, bp_color=None): function
566 return colorize(text, constants.RED)
571 return colorize(text, constants.YELLOW)
576 return colorize(text, constants.GREEN)
581 return colorize(text, constants.MAGENTA)
586 return colorize(text, constants.CYAN)
591 return colorize(text, constants.BLUE)
604 output = colorize(text, color, bp_color)
Datest_utils_unittest.py327 converted_str = atest_utils.colorize(
334 converted_str = atest_utils.colorize(
342 converted_str = atest_utils.colorize(original_str, green_no)
Dresult_reporter.py759 print(': {} {}'.format(au.colorize(test.status, color), test.test_time))
/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/metalava/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt1374 out.println(terminal.colorize(groupTitle, TerminalColor.YELLOW)) in usage()