Searched refs:weightStr (Results 1 – 2 of 2) sorted by relevance
121 String weightStr = parser.getAttributeValue(null, "weight"); in readFont() local122 int weight = weightStr == null ? 400 : Integer.parseInt(weightStr); in readFont()158 String weightStr = parser.getAttributeValue(null, "weight"); in readAlias() local160 if (weightStr == null) { in readAlias()163 weight = Integer.parseInt(weightStr); in readAlias()
128 XmlCharUniquePtr weightStr(xmlGetProp(fontNode, WEIGHT_ATTR_NAME)); in copyFont() local129 out->mWeight = weightStr ? in copyFont()130 strtol(reinterpret_cast<const char*>(weightStr.get()), nullptr, 10) : 400; in copyFont()