Searched refs:lastChild (Results 1 – 5 of 5) sorted by relevance
169 private Node findChild(Node parent, Node lastChild, String elementName) { in findChild() argument170 if (lastChild == null && parent != null) { in findChild()171 lastChild = parent.getFirstChild(); in findChild()172 } else if (lastChild != null) { in findChild()173 lastChild = lastChild.getNextSibling(); in findChild()176 for ( ; lastChild != null ; lastChild = lastChild.getNextSibling()) { in findChild()177 if (lastChild.getNodeType() == Node.ELEMENT_NODE && in findChild()178 lastChild.getNamespaceURI() == null && // resources don't have any NS URI in findChild()179 elementName.equals(lastChild.getLocalName())) { in findChild()180 return lastChild; in findChild()
469 Node lastChild = root.getLastChild(); in computeInsertContext() local470 if (lastChild != null) { in computeInsertContext()471 if (lastChild instanceof IndexedRegion) { in computeInsertContext()472 IndexedRegion region = (IndexedRegion) lastChild; in computeInsertContext()477 while (lastChild != null) { in computeInsertContext()478 if (lastChild.getNodeType() == Node.ELEMENT_NODE) { in computeInsertContext()480 indent = AndroidXmlEditor.getIndent(document, lastChild); in computeInsertContext()483 lastChild = lastChild.getPreviousSibling(); in computeInsertContext()
307 Node lastChild = node.getLastChild(); in getNodeContext() local308 if (lastChild != null) { in getNodeContext()309 IndexedRegion previousRegion = (IndexedRegion) lastChild; in getNodeContext()311 return Pair.of(node, lastChild); in getNodeContext()
979 Node lastChild = parentXmlNode.getLastChild(); in createXmlNode() local980 if (lastChild != null && lastChild.getNodeType() == Node.TEXT_NODE) { in createXmlNode()981 previousTextNode = lastChild; in createXmlNode()
2 …lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,…