Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DFontListParser.java118 String indexStr = parser.getAttributeValue(null, "index"); in readFont() local
119 int index = indexStr == null ? 0 : Integer.parseInt(indexStr); in readFont()
/frameworks/base/native/android/
Dsystem_fonts.cpp138 XmlCharUniquePtr indexStr(xmlGetProp(fontNode, INDEX_ATTR_NAME)); in copyFont() local
139 out->mCollectionIndex = indexStr ? in copyFont()
140 strtol(reinterpret_cast<const char*>(indexStr.get()), nullptr, 10) : 0; in copyFont()