Home
last modified time | relevance | path

Searched refs:varSettings (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java72 @IntRange(from = 0) int ttcIndex, @Nullable FontVariationAxis[] varSettings) { in analyzeStyle() argument
75 if (varSettings != null) { in analyzeStyle()
76 for (FontVariationAxis axis :varSettings) { in analyzeStyle()
/frameworks/base/core/java/android/graphics/fonts/
DFontUpdateRequest.java112 String varSettings = source.readString8();
113 return new Font(fontName, new FontStyle(weight, slant), index, varSettings);
155 String varSettings = parser.getAttributeValue(null, ATTR_AXIS); in readFromXml() local
156 if (varSettings == null) { in readFromXml()
157 varSettings = ""; in readFromXml()
159 return new Font(psName, new FontStyle(weight, slant), index, varSettings); in readFromXml()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java265 String varSettings; in readFont() local
267 varSettings = ""; in readFont()
269 varSettings = FontVariationAxis.toFontVariationSettings( in readFont()
287 varSettings, in readFont()
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java97 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument
102 mVarSettings = varSettings; in Font()
/frameworks/base/core/java/android/text/
DFontConfig.java248 String varSettings = source.readString8();
252 index, varSettings, fallback);