Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DFontListParser.java121 String weightStr = parser.getAttributeValue(null, "weight"); in readFont() local
122 int weight = weightStr == null ? 400 : Integer.parseInt(weightStr); in readFont()
158 String weightStr = parser.getAttributeValue(null, "weight"); in readAlias() local
160 if (weightStr == null) { in readAlias()
163 weight = Integer.parseInt(weightStr); in readAlias()
/frameworks/base/native/android/
Dsystem_fonts.cpp128 XmlCharUniquePtr weightStr(xmlGetProp(fontNode, WEIGHT_ATTR_NAME)); in copyFont() local
129 out->mWeight = weightStr ? in copyFont()
130 strtol(reinterpret_cast<const char*>(weightStr.get()), nullptr, 10) : 400; in copyFont()