Home
last modified time | relevance | path

Searched refs:rootNode (Results 1 – 10 of 10) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfoTest.java81 UiViewElementNode rootNode = createNode("android.widget.LinearLayout", true); in normal() local
82 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); in normal()
83 UiViewElementNode child1Node = createNode(rootNode, "android.widget.Button", false); in normal()
85 UiViewElementNode child2Node = createNode(rootNode, "android.widget.Button", false); in normal()
95 assertSame(rootView.getUiViewNode(), rootNode); in normal() local
164 UiViewElementNode rootNode = createNode("android.widget.LinearLayout", true); in testIncludeTag() local
165 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); in testIncludeTag()
166 UiViewElementNode child1Node = createNode(rootNode, "android.widget.Button", false); in testIncludeTag()
168 UiViewElementNode child2Node = createNode(rootNode, "include", true); in testIncludeTag()
180 assertSame(rootNode, rootView.getUiViewNode()); in testIncludeTag()
[all …]
DSelectionManagerTest.java46 UiViewElementNode rootNode = CanvasViewInfoTest.createNode("android.widget.LinearLayout", in testBasic() local
48 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); in testBasic()
49 UiViewElementNode child1Node = CanvasViewInfoTest.createNode(rootNode, in testBasic()
52 UiViewElementNode child2Node = CanvasViewInfoTest.createNode(rootNode, in testBasic()
97 UiViewElementNode rootNode = CanvasViewInfoTest.createNode("android.widget.LinearLayout", in testSelectParent() local
99 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); in testSelectParent()
100 UiViewElementNode child1Node = CanvasViewInfoTest.createNode(rootNode, in testSelectParent()
103 UiViewElementNode child2Node = CanvasViewInfoTest.createNode(rootNode, in testSelectParent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java81 UiElementNode rootNode = getRootNode(); in doAdd() local
82 if (rootNode instanceof UiDocumentNode && rootNode.getUiChildren().size() > 0) { in doAdd()
83 rootNode = rootNode.getUiChildren().get(0); in doAdd()
90 uiNode, rootNode); in doAdd()
587 UiElementNode rootNode = getRootNode(); in addNewTreeElement() local
589 rootNode.getEditor().wrapEditXmlModel(new Runnable() { in addNewTreeElement()
DNewItemSelectionDialog.java308 private void setInitialSelection(UiElementNode rootNode) { in setInitialSelection() argument
318 for (ElementDescriptor desc : getAllowedDescriptors(rootNode)) { in setInitialSelection()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
DMenuTreePage.java63 UiElementNode rootNode = mEditor.getUiRootNode(); in createFormContent() local
64 UiTreeBlock block = new UiTreeBlock(mEditor, rootNode, in createFormContent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/
DOtherXmlTreePage.java63 UiElementNode rootNode = mEditor.getUiRootNode(); in createFormContent() local
64 UiTreeBlock block = new UiTreeBlock(mEditor, rootNode, in createFormContent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionManager.java1171 NodeProxy rootNode = nodeFactory.create(uiViewNode); in performDefaultAction() local
1172 if (rootNode != null) { in performDefaultAction()
1173 rootNode.applyPendingChanges(); in performDefaultAction()
1250 NodeProxy rootNode = nodeFactory.create(uiViewNode); in performRename()
1251 if (rootNode != null) { in performRename()
1252 rootNode.applyPendingChanges(); in performRename()
DDynamicContextMenu.java566 NodeProxy rootNode = nodeFactory.create(uiViewNode); in applyPendingChanges() local
567 if (rootNode != null) { in applyPendingChanges()
568 rootNode.applyPendingChanges(); in applyPendingChanges()
DCanvasViewInfo.java765 private boolean hasMergeParent(UiViewElementNode rootNode) { in hasMergeParent() argument
766 UiElementNode rootParent = rootNode.getUiParent(); in hasMergeParent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiClassAttributeNode.java459 UiElementNode rootNode = getUiParent().getUiRoot();
461 Element xmlElement = (Element) rootNode.getXmlNode();