Searched refs:weightStr (Results 1 – 2 of 2) sorted by relevance
371 String weightStr = parser.getAttributeValue(null, ATTR_WEIGHT); in readFont() local372 int weight = weightStr == null ? FontStyle.FONT_WEIGHT_NORMAL : Integer.parseInt(weightStr); in readFont()474 String weightStr = parser.getAttributeValue(null, "weight"); in readAlias() local476 if (weightStr == null) { in readAlias()479 weight = Integer.parseInt(weightStr); in readAlias()
161 XmlCharUniquePtr weightStr(xmlGetProp(fontNode, WEIGHT_ATTR_NAME)); in copyFont() local162 out->mWeight = weightStr ? in copyFont()163 strtol(reinterpret_cast<const char*>(weightStr.get()), nullptr, 10) : 400; in copyFont()