Searched refs:getVariationSettings (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/ |
D | FontResourcesParserCompatTest.java | 78 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/ |
D | FontResourcesParserTest.java | 72 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/ |
D | FontResourcesParser.java | 107 public @Nullable String getVariationSettings() { in getVariationSettings() method in FontResourcesParser.FontFileResourceEntry
|
/frameworks/support/compat/src/main/java/androidx/core/content/res/ |
D | FontResourcesParserCompat.java | 132 public @Nullable String getVariationSettings() { in getVariationSettings() method in FontResourcesParserCompat.FontFileResourceEntry
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
D | TypefaceCompatApi26Impl.java | 213 FontVariationAxis.fromFontVariationSettings(fontFile.getVariationSettings()))) { in createFromFontFamilyFilesResourceEntry()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 263 FontVariationAxis.fromFontVariationSettings(fontFile.getVariationSettings()))) { in createFromResources()
|