Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener.cpp225 for (const xml::Attribute* xml_attr : filtered_attrs_) { in WriteAttributes() local
227 if (xml_attr->compiled_attribute && xml_attr->compiled_attribute.value().id && in WriteAttributes()
228 xml_attr->compiled_attribute.value().id.value() == kIdAttr) { in WriteAttributes()
230 } else if (xml_attr->namespace_uri.empty()) { in WriteAttributes()
231 if (xml_attr->name == "class") { in WriteAttributes()
233 } else if (xml_attr->name == "style") { in WriteAttributes()
241 AddString(xml_attr->namespace_uri, kLowPriority, &flat_attr->ns, in WriteAttributes()
246 if (!xml_attr->compiled_attribute || !xml_attr->compiled_attribute.value().id) { in WriteAttributes()
248 AddString(xml_attr->name, kLowPriority, &flat_attr->name); in WriteAttributes()
269 if (xml_attr->compiled_value != nullptr) { in WriteAttributes()
[all …]