Home
last modified time | relevance | path

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

/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/
DFontResourcesParserCompatTest.java78 assertEquals("'wdth' 0.8", font1.getVariationSettings()); in testParse()
84 assertEquals("'contrast' 0.5", font2.getVariationSettings()); in testParse()
90 assertEquals("'wdth' 500.0, 'wght' 300.0", font3.getVariationSettings()); in testParse()
96 assertEquals(null, font4.getVariationSettings()); in testParse()
121 assertEquals("'wdth' 0.8", font1.getVariationSettings()); in testParseAndroidAttrs()
127 assertEquals("'contrast' 0.5", font2.getVariationSettings()); in testParseAndroidAttrs()
133 assertEquals("'wdth' 500.0, 'wght' 300.0", font3.getVariationSettings()); in testParseAndroidAttrs()
139 assertEquals(null, font4.getVariationSettings()); in testParseAndroidAttrs()
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontResourcesParserTest.java72 assertEquals("'wdth' 0.8", font1.getVariationSettings()); in testParse()
79 assertEquals("'cntr' 0.5", font2.getVariationSettings()); in testParse()
85 assertEquals("'wdth' 500.0, 'wght' 300.0", font3.getVariationSettings()); in testParse()
91 assertEquals(null, font4.getVariationSettings()); in testParse()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java107 public @Nullable String getVariationSettings() { in getVariationSettings() method in FontResourcesParser.FontFileResourceEntry
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DFontResourcesParserCompat.java132 public @Nullable String getVariationSettings() { in getVariationSettings() method in FontResourcesParserCompat.FontFileResourceEntry
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompatApi26Impl.java213 FontVariationAxis.fromFontVariationSettings(fontFile.getVariationSettings()))) { in createFromFontFamilyFilesResourceEntry()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java263 FontVariationAxis.fromFontVariationSettings(fontFile.getVariationSettings()))) { in createFromResources()