Home
last modified time | relevance | path

Searched refs:matchFont (Results 1 – 4 of 4) sorted by relevance

/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/font/
DFontMatcherTest.kt56 FontMatcher().matchFont(FontFamily(FONT_100_ITALIC), FontWeight.W100, FontStyle.Italic) in family with single italic font matches()
65 .matchFont( in family with fallback italic font matches()
77 FontMatcher().matchFont(FontFamily(FONT_100_REGULAR), FontWeight.W100, FontStyle.Normal) in family with single normal font matches()
86 .matchFont( in italic query against family with multiple fonts matches()
104 .matchFont( in italic query against family with multiple fonts and fallback matches()
123 .matchFont( in normal style query against family with multiple fonts matches()
147 .matchFont( in italic style below 400 with no exact result matches a smaller italic value()
172 .matchFont( in italic style below 400 with no exact result matches a smaller italic and fallback()
198 .matchFont( in italic style below 400 with no smaller weight matches larger weight and style()
223 .matchFont( in italic style below 400 with no smaller weight matches larger weight and style fallback()
[all …]
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/
DFontMatcher.kt43 fun matchFont(fontList: List<Font>, fontWeight: FontWeight, fontStyle: FontStyle): List<Font> { in matchFont() method in androidx.compose.ui.text.font.FontMatcher
146 fun matchFont( in matchFont() method
156 return matchFont(fontFamily, fontWeight, fontStyle) in matchFont()
164 fun matchFont( in matchFont() method
169 return matchFont(fontFamily.fonts, fontWeight, fontStyle) in matchFont()
DFontListFontFamilyTypefaceAdapter.kt79 val matched = fontMatcher.matchFont(allFonts, fontWeight, fontStyle) in <lambda>()
132 fontMatcher.matchFont( in <lambda>()
/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/
DAndroidFontListTypeface.android.kt70 fontMatcher.matchFont(blockingFonts, weight, style).firstOrNull() in <lambda>()
98 .matchFont(ArrayList(loadedTypefaces.keys), fontWeight, fontStyle) in <lambda>()