Home
last modified time | relevance | path

Searched refs:codeBackgroundColor (Results 1 – 6 of 6) sorted by relevance

/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/renderer/
DMarkdownBuilder.java44 private final int codeBackgroundColor; field in MarkdownBuilder
53 @ColorInt final int codeBackgroundColor, in MarkdownBuilder() argument
57 this.codeBackgroundColor = codeBackgroundColor; in MarkdownBuilder()
123 builder.setSpan(new CodeBlockSpan(codeBlockTypeface, codeBackgroundColor), startIndex, in buildCodeBlockSpan()
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/
DMainActivity.kt40 val codeBackgroundColor = getColorCompat(R.color.code_background) in onCreate() constant
43 MarkdownBuilder(bulletPointColor, codeBackgroundColor, codeBlockTypeface, Parser) in onCreate()
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/
DMainActivity.java47 int codeBackgroundColor = ContextCompat.getColor(this, R.color.code_background); in onCreate() local
50 CharSequence text = new MarkdownBuilder(bulletPointColor, codeBackgroundColor, in onCreate()
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/renderer/
DMarkdownBuilder.kt37 @ColorInt private val codeBackgroundColor: Int, in <lambda>() constant in com.android.example.text.styling.renderer.MarkdownBuilder
55 inSpans(CodeBlockSpan(codeBlockTypeface, codeBackgroundColor)) { in <lambda>()
/developers/samples/android/ui/text/TextStyling-Java/app/src/androidTest/java/com/android/example/text/styling/renderer/
DMarkdownBuilderTest.java43 int codeBackgroundColor = context.getColor(R.color.code_background); in MarkdownBuilderTest() local
45 builder = new MarkdownBuilder(bulletPointColor, codeBackgroundColor, codeBlockTypeface, in MarkdownBuilderTest()
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/androidTest/java/com/android/example/text/styling/renderer/
DMarkdownBuilderTest.kt38 private val codeBackgroundColor = context.getColor(R.color.code_background) constant
40 private val builder = MarkdownBuilder(bulletPointColor, codeBackgroundColor, codeBlockTypeface,