Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/xml/
DXmlDom.h299 const T* NodeCast(const Node* node) { in NodeCast() function
306 T* NodeCast(Node* node) { in NodeCast() function
307 return const_cast<T*>(NodeCast<T>(static_cast<const T*>(node))); in NodeCast()
DXmlDom.cpp402 return NodeCast<Element>(node); in FindRootElement()
466 if (const Element* el = NodeCast<Element>(child.get())) { in FindChildWithAttribute()
485 if (Element* child = NodeCast<Element>(child_node.get())) { in GetChildElements()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp75 using ::aapt::xml::NodeCast;
524 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ArtifactFormatTagHandler()
566 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in AbiGroupTagHandler()
627 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in ScreenDensityGroupTagHandler()
694 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in LocaleGroupTagHandler()
810 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in GlTextureGroupTagHandler()
847 if ((t = NodeCast<xml::Text>(node.get())) != nullptr) { in DeviceFeatureGroupTagHandler()
DConfigurationParser_test.cpp76 using ::aapt::xml::NodeCast;
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp140 if (xml::Text* t = xml::NodeCast<xml::Text>(child.get())) { in Consume()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp257 const xml::Text* child_text = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()
259 const xml::Element* child_el = xml::NodeCast<xml::Element>(actual_el.children[1].get()); in TEST()
269 child_text = xml::NodeCast<xml::Text>(child_el->children[0].get()); in TEST()
305 const xml::Text* child_text_keep = xml::NodeCast<xml::Text>(actual_el.children[0].get()); in TEST()
DProtoSerialize.cpp715 if (const xml::Element* child_el = xml::NodeCast<xml::Element>(child.get())) { in SerializeXmlToPb()
717 } else if (const xml::Text* text_el = xml::NodeCast<xml::Text>(child.get())) { in SerializeXmlToPb()