Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DXmlFlattener.cpp258 AttributeToFlatten attrToFlatten; in writeAttributes() local
259 attrToFlatten.xmlAttr = &attr; in writeAttributes()
276 attrToFlatten.resourceId = result.value().id.id; in writeAttributes()
277 attrToFlatten.resourceAttr = result.value().attr; in writeAttributes()
279 size_t sdk = findAttributeSdkLevel(attrToFlatten.resourceId); in writeAttributes()
288 if (attrToFlatten.resourceId == 0) { in writeAttributes()
292 attrToFlatten.resourceId = nextAttributeId++; in writeAttributes()
297 attrToFlatten.resourceId, lessAttributeId); in writeAttributes()
298 sortedAttributes.insert(iter, std::move(attrToFlatten)); in writeAttributes()
312 for (const AttributeToFlatten& attrToFlatten : sortedAttributes) { in writeAttributes() local
[all …]