Home | History | Annotate | Download | only in aapt2

Lines Matching defs:child

321 void Node::addChild(std::unique_ptr<Node> child) {
322 child->parent = this;
323 children.push_back(std::move(child));
336 for (auto& child : children) {
337 ns->addChild(child->clone());
353 for (auto& child : children) {
354 el->addChild(child->clone());
375 Node* child = childNode.get();
376 while (child->type == NodeType::kNamespace) {
377 if (child->children.empty()) {
380 child = child->children[0].get();
383 if (child->type == NodeType::kElement) {
384 Element* el = static_cast<Element*>(child);
403 Node* child = childNode.get();
404 while (child->type == NodeType::kNamespace) {
405 if (child->children.empty()) {
408 child = child->children[0].get();
411 if (child->type == NodeType::kElement) {
412 elements.push_back(static_cast<Element*>(child));