Home
last modified time | relevance | path

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

/frameworks/minikin/tests/util/
DFontTestUtils.cpp71 for (xmlNode* fontNode = familyNode->children; fontNode; fontNode = fontNode->next) { in getFontFamilies() local
72 if (xmlStrcmp(fontNode->name, (const xmlChar*)"font") != 0) { in getFontFamilies()
76 uint16_t weight = atoi((const char*)(xmlGetProp(fontNode, (const xmlChar*)"weight"))); in getFontFamilies()
78 xmlStrcmp(xmlGetProp(fontNode, (const xmlChar*)"style"), in getFontFamilies()
82 xmlChar* fontFileName = xmlNodeListGetString(doc, fontNode->xmlChildrenNode, 1); in getFontFamilies()
/frameworks/base/native/android/
Dsystem_fonts.cpp159 xmlNode* fontNode = state.mFontNode; in copyFont() local
161 xmlNodeListGetString(xmlDoc.get(), fontNode->xmlChildrenNode, 1)); in copyFont()
166 XmlCharUniquePtr weightStr(xmlGetProp(fontNode, WEIGHT_ATTR_NAME)); in copyFont()
172 XmlCharUniquePtr styleStr(xmlGetProp(fontNode, STYLE_ATTR_NAME)); in copyFont()
176 XmlCharUniquePtr indexStr(xmlGetProp(fontNode, INDEX_ATTR_NAME)); in copyFont()
188 for (xmlNode* axis = firstElement(fontNode, AXIS_TAG); axis; in copyFont()