Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java182 Node endNode = null; in format() local
227 endNode = currentDOMNode; in format()
230 if (endNode == startNode && endRegion == startRegion) { in format()
276 if (startNode == null || endNode == null) { in format()
282 endNode = root; in format()
291 root = DomUtilities.getCommonAncestor(startNode, endNode); in format()
302 replaceEnd = ((IndexedRegion) endNode).getEndOffset(); in format()
322 IndentationMeasurer m = new IndentationMeasurer(startNode, endNode, document); in format()
354 printer.prettyPrint(initialDepth, root, startNode, endNode, sb, isOpenTagOnly); in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java396 Node endNode = beginNode; in getElementRange() local
398 endNode = getNode(document, endOffset, false); in getElementRange()
401 if (beginNode == null || endNode == null) { in getElementRange()
424 if (endNode.getNodeType() != Node.ELEMENT_NODE) { in getElementRange()
427 endElement = getPreviousElement(endNode); in getElementRange()
431 endElement = getNextElement(endNode); in getElementRange()
436 endElement = getParentElement(endNode); in getElementRange()
440 endElement = (Element) endNode; in getElementRange()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java70 Node endNode = document; in checkFormat() local
75 endNode = findNode(document.getDocumentElement(), endNodeName); in checkFormat()
78 printer.prettyPrint(-1, document, startNode, endNode, sb, false/*openTagOnly*/); in checkFormat()