Home
last modified time | relevance | path

Searched defs:Context (Results 1 – 1 of 1) sorted by relevance

/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/
DExtensions.kt24 fun Context.getColorCompat(@ColorRes colorRes: Int) = ContextCompat.getColor(this, colorRes) method
25 fun Context.getFontCompat(@FontRes fontRes: Int) = ResourcesCompat.getFont(this, fontRes) method