Home
last modified time | relevance | path

Searched refs:newChild (Results 1 – 12 of 12) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
DMockXmlNode.java123 public Node appendChild(Node newChild) throws DOMException { in appendChild() argument
124 mNodeList.getArrayList().add((MockXmlNode) newChild); in appendChild()
125 return newChild; in appendChild()
253 public Node insertBefore(Node newChild, Node refChild) in insertBefore() argument
294 public Node replaceChild(Node newChild, Node oldChild) in replaceChild() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java473 INode newChild = null; in handleFreeFormDrop() local
686 newChild = targetNode.appendChild(fqcn); in handleFreeFormDrop()
690 newChild = targetNode.insertChildAt(fqcn, index); in handleFreeFormDrop()
706 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN, column); in handleFreeFormDrop()
738 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_GRAVITY, getGravity(gravity)); in handleFreeFormDrop()
740 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_ROW, row); in handleFreeFormDrop()
744 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN_SPAN, columnSpan); in handleFreeFormDrop()
747 mGrid.setGridAttribute(newChild, ATTR_LAYOUT_ROW_SPAN, rowSpan); in handleFreeFormDrop()
755 return newChild; in handleFreeFormDrop()
768 INode newChild = targetNode.appendChild(fqcn); in handleGridModeDrop() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DAbsoluteLayoutRule.java174 INode newChild = targetNode.appendChild(fqcn); in onDropped()
177 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER); in onDropped()
204 newChild.setAttribute(ANDROID_URI, ATTR_LAYOUT_X, in onDropped()
206 newChild.setAttribute(ANDROID_URI, ATTR_LAYOUT_Y, in onDropped()
209 addInnerElements(newChild, element, idMap); in onDropped()
DGridLayoutRule.java327 INode newChild; in onDropped() local
329 newChild = dropHandler.handleFreeFormDrop(targetNode, element); in onDropped()
331 newChild = dropHandler.handleGridModeDrop(targetNode, element); in onDropped()
335 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER); in onDropped()
337 addInnerElements(newChild, element, idMap); in onDropped()
657 INode newChild = targetNode.appendChild(fqcn); in onPaste() local
658 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER); in onPaste()
664 grid.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN, null); in onPaste()
665 grid.setGridAttribute(newChild, ATTR_LAYOUT_ROW, null); in onPaste()
672 addInnerElements(newChild, element, idMap); in onPaste()
DRelativeLayoutRule.java210 INode newChild = targetNode.insertChildAt(fqcn, index); in onDropped()
213 addAttributes(newChild, element, idMap, BaseLayoutRule.DEFAULT_ATTR_FILTER); in onDropped()
214 addInnerElements(newChild, element, idMap); in onDropped()
217 state.applyConstraints(newChild); in onDropped()
218 previous = newChild; in onDropped()
232 state.attachPrevious(previous, newChild); in onDropped()
233 previous = newChild; in onDropped()
DFrameLayoutRule.java154 INode newChild = targetNode.appendChild(fqcn);
157 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER);
159 addInnerElements(newChild, element, idMap);
DBaseLayoutRule.java595 INode newChild = targetNode.insertChildAt(fqcn, insertPos); in insertAt()
604 addAttributes(newChild, element, idMap, DEFAULT_ATTR_FILTER); in insertAt()
605 addInnerElements(newChild, element, idMap); in insertAt()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DGradleExportWizard.java92 localmonitor.newChild(count)); in generateBuildfiles()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
DGridModelTest.java658 INode newChild = targetNode.insertChildAt(FQCN_BUTTON, index); in testInsert1() local
660 model.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN, 1); in testInsert1()
661 model.setGridAttribute(newChild, ATTR_LAYOUT_COLUMN_SPAN, 3); in testInsert1()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidTargetParser.java99 preload(classLoader, progress.newChild(40, SubMonitor.SUPPRESS_NONE)); in run()
152 progress.newChild(1)); in run()
167 progress.newChild(1)); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java2076 private void fireNodeCreated(UiElementNode newChild, int index) { in fireNodeCreated() argument
2086 UiElementNode parent = newChild.getUiParent(); in fireNodeCreated()
2088 listener.nodeCreated(parent, newChild, index); in fireNodeCreated()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java1807 ASTNode node = parser.createAST(monitor.newChild(1));
1836 TextEdit subEdit = importRewrite.rewriteImports(monitor.newChild(1));