Home
last modified time | relevance | path

Searched refs:getUiChildren (Results 1 – 24 of 24) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiElementNodeTest.java80 assertEquals(0, ui.getUiChildren().size()); in testInit()
92 assertEquals(0, ui.getUiChildren().size()); in testMandatoryOrder()
96 assertEquals(2, ui.getUiChildren().size()); in testMandatoryOrder()
97 assertSame(mAppDesc, ui.getUiChildren().get(0).getDescriptor()); in testMandatoryOrder()
98 assertSame(mUsesSdkDesc, ui.getUiChildren().get(1).getDescriptor()); in testMandatoryOrder()
110 assertEquals(2, ui.getUiChildren().size()); in testMandatoryOrder()
111 assertSame(mUsesSdkDesc, ui.getUiChildren().get(0).getDescriptor()); in testMandatoryOrder()
112 assertNull(ui.getUiChildren().get(0).getXmlNode()); in testMandatoryOrder()
113 assertSame(mAppDesc, ui.getUiChildren().get(1).getDescriptor()); in testMandatoryOrder()
114 assertNotNull(ui.getUiChildren().get(1).getXmlNode()); in testMandatoryOrder()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiModelTreeContentProvider.java52 return node.getUiChildren().toArray(); in getChildren()
75 return node.getUiChildren().size() > 0; in hasChildren()
94 for (UiElementNode ui_node : mUiRootNode.getUiChildren()) { in getElements()
DUiActions.java82 if (rootNode instanceof UiDocumentNode && rootNode.getUiChildren().size() > 0) { in doAdd()
83 rootNode = rootNode.getUiChildren().get(0); in doAdd()
121 if (uiParent instanceof UiDocumentNode && uiParent.getUiChildren().size() > 0) { in addElement()
122 uiParent = uiParent.getUiChildren().get(0); in addElement()
556 List<UiElementNode> uiChildren = uiParent.getUiChildren(); in addNewTreeElement()
DPasteAction.java79 if (mUiNode.getUiChildren().size() > 0) { in run()
82 Node xml_node = mUiNode.getUiChildren().get(0).getXmlNode(); in run()
DNewItemSelectionDialog.java224 for (UiElementNode child : ui_node.getUiChildren()) { in getMostUsedXmlName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiDocumentNode.java146 for (UiElementNode child : document.getUiChildren()) { in getAllElements()
155 for (UiElementNode child : node.getUiChildren()) { in addElements()
DUiElementNode.java509 for (UiElementNode node : mUiParent.getUiChildren()) { in getUiSiblingIndex()
529 List<UiElementNode> childlist = mUiParent.getUiChildren(); in getUiPreviousSibling()
546 List<UiElementNode> childlist = mUiParent.getUiChildren(); in getUiNextSibling()
597 public List<UiElementNode> getUiChildren() { in getUiChildren() method in UiElementNode
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditor.java354 List<UiElementNode> children = appUiNode.getUiChildren(); in updateFromExistingMarkers()
376 List<UiElementNode> children = app_ui_node.getUiChildren(); in processMarkerChanges()
444 for (UiElementNode ui_node : mUiManifestNode.getUiChildren()) { in initUiRootNode()
456 for (UiElementNode ui_node : mUiManifestNode.getUiChildren()) { in initUiRootNode()
502 for (UiElementNode sibling : root.getUiChildren()) { in addPermissions()
524 index = root.getUiChildren().size(); in addPermissions()
564 for (UiElementNode sibling : root.getUiChildren()) { in removePermissions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeProxy.java164 List<UiElementNode> children = p.getUiChildren(); in getRoot()
201 List<UiElementNode> uiChildren = mNode.getUiChildren(); in getChildren()
290 int n = mNode.getUiChildren().size(); in insertOrAppend()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java100 for (UiElementNode child : node.getUiChildren()) { in findById()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfo.java926 for (UiElementNode child : uiViewNode.getUiChildren()) { in createSubtree()
1055 for (UiElementNode child : parent.getUiChildren()) { in addMismatched()
1117 for (UiElementNode sibling : parent.getUiChildren()) { in isBefore()
1131 for (UiElementNode sibling : parent.getUiChildren()) { in isAfter()
DOutlineDropListener.java101 for (UiElementNode child : parentNode.getUiChildren()) { in performDrop()
DViewHierarchy.java250 List<UiElementNode> children = model.getUiChildren(); in createMergeInfo()
263 List<UiElementNode> children = model.getUiChildren(); in hasMergeRoot()
DClipboardSupport.java316 if (uiDoc == null || uiDoc.getUiChildren().size() > 0) { in pasteInEmptyDocument()
DOutlinePage.java1247 List<UiElementNode> children = curr.getUiChildren(); in findPrevious()
1306 return Pair.of((UiViewElementNode) parent, parent.getUiChildren().size()); in getLastPosition()
DSelectionManager.java934 List<UiElementNode> children = parentUiNode.getUiChildren(); in selectDropped()
DGraphicalEditorPart.java1520 if (model.getUiChildren().size() == 0) { in ensureModelValid()
1572 List<UiElementNode> children = model.getUiChildren(); in renderWithBridge()
DPaletteControl.java967 UiElementNode child = parent.getUiChildren().get(0); in renderPreview()
DLayoutCanvas.java1593 if (uiDoc == null || uiDoc.getUiChildren().size() > 0) { in createDocumentRoot()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParser.java459 return getCurrentNode().getUiChildren().size() == 0; in isEmptyElementTag()
475 List<UiElementNode> children = node.getUiChildren(); in onNextFromStartTag()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringTest.java254 List<UiElementNode> childNodes = node.getUiChildren(); in create()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java909 for (UiElementNode uiChild : uiRoot.getUiChildren()) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfoTest.java430 assertEquals(numViews + extraKeys.size() - extraViews.size(), rootNode.getUiChildren() in testUnmatchedMissing()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java826 List<UiElementNode> siblings = parent.getUiChildren(); in validateContiguous()