Searched defs:src_attr (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/tools/aapt2/link/
H A DXmlCompatVersioner.cpp35 static bool CopyAttribute(const xml::Attribute& src_attr, bool generated, xml::Element* dst_el, argument
37 xml::Attribute* dst_attr = dst_el->FindAttribute(src_attr.namespace_uri, src_attr.name);
41 dst_attr->value = src_attr.value;
42 dst_attr->compiled_attribute = src_attr.compiled_attribute;
43 if (src_attr.compiled_value != nullptr) {
44 dst_attr->compiled_value.reset(src_attr.compiled_value->Clone(out_string_pool));
50 dst_el->attributes.push_back(CopyAttr(src_attr, out_string_pool));
54 void XmlCompatVersioner::ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr, argument
62 if (!CopyAttribute(src_attr, generate
164 Degrade(const xml::Element& src_el, const xml::Attribute& src_attr, StringPool* out_string_pool) const argument
[all...]

Completed in 62 milliseconds