Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DTerminal.kt19 enum class TerminalColor(val value: Int) { class
34 foreground: TerminalColor? = null, in terminalAttributes()
35 background: TerminalColor? = null in terminalAttributes()
75 fun colorized(string: String, color: TerminalColor): String { in colorized()
DReporter.kt346 … LINT -> sb.append(terminalAttributes(foreground = TerminalColor.CYAN)).append("lint: ") in format()
347 … INFO -> sb.append(terminalAttributes(foreground = TerminalColor.CYAN)).append("info: ") in format()
348 … WARNING -> sb.append(terminalAttributes(foreground = TerminalColor.YELLOW)).append("warning: ") in format()
349 … ERROR -> sb.append(terminalAttributes(foreground = TerminalColor.RED)).append("error: ") in format()
DOptions.kt741 stdout.print(colorized(BANNER.trimIndent(), TerminalColor.BLUE)) in <lambda>()
2499 out.println(colorized(description, TerminalColor.YELLOW)) in <lambda>()