Searched refs:weightStr (Results 1 – 2 of 2) sorted by relevance
228 String weightStr = parser.getAttributeValue(null, ATTR_WEIGHT); in readFont() local229 int weight = weightStr == null ? FontStyle.FONT_WEIGHT_NORMAL : Integer.parseInt(weightStr); in readFont()317 String weightStr = parser.getAttributeValue(null, "weight"); in readAlias() local319 if (weightStr == null) { in readAlias()322 weight = Integer.parseInt(weightStr); in readAlias()
166 XmlCharUniquePtr weightStr(xmlGetProp(fontNode, WEIGHT_ATTR_NAME)); in copyFont() local167 out->mWeight = weightStr ? in copyFont()168 strtol(reinterpret_cast<const char*>(weightStr.get()), nullptr, 10) : 400; in copyFont()