Home
last modified time | relevance | path

Searched refs:weightStr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DFontListParser.java228 String weightStr = parser.getAttributeValue(null, ATTR_WEIGHT); in readFont() local
229 int weight = weightStr == null ? FontStyle.FONT_WEIGHT_NORMAL : Integer.parseInt(weightStr); in readFont()
317 String weightStr = parser.getAttributeValue(null, "weight"); in readAlias() local
319 if (weightStr == null) { in readAlias()
322 weight = Integer.parseInt(weightStr); in readAlias()
/frameworks/base/native/android/
Dsystem_fonts.cpp166 XmlCharUniquePtr weightStr(xmlGetProp(fontNode, WEIGHT_ATTR_NAME)); in copyFont() local
167 out->mWeight = weightStr ? in copyFont()
168 strtol(reinterpret_cast<const char*>(weightStr.get()), nullptr, 10) : 400; in copyFont()