Home
last modified time | relevance | path

Searched refs:getChildren (Results 1 – 25 of 78) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfoTest.java96 assertEquals(2, rootView.getChildren().size()); in normal()
97 CanvasViewInfo childView1 = rootView.getChildren().get(0); in normal()
98 CanvasViewInfo childView2 = rootView.getChildren().get(1); in normal()
142 assertEquals(1, rootView.getChildren().size()); in showIn()
143 CanvasViewInfo includedView = rootView.getChildren().get(0); in showIn()
151 CanvasViewInfo grandChild = includedView.getChildren().get(0); in showIn()
181 assertEquals(2, rootView.getChildren().size()); in testIncludeTag()
183 CanvasViewInfo childView1 = rootView.getChildren().get(0); in testIncludeTag()
184 CanvasViewInfo includedView = rootView.getChildren().get(1); in testIncludeTag()
197 assertEquals(0, includedView.getChildren().size()); in testIncludeTag()
[all …]
DSelectionManagerTest.java59 manager.selectMultiple(Arrays.asList(rootView, rootView.getChildren().get(0), rootView in testBasic()
60 .getChildren().get(1))); in testBasic()
82 manager.selectMultiple(Arrays.asList(rootView, rootView.getChildren().get(0), rootView in testBasic()
83 .getChildren().get(1))); in testBasic()
86 manager.deselect(rootView.getChildren().get(0)); in testBasic()
90 assertSame(rootView.getChildren().get(1), manager.getSelections().get(0).getViewInfo()); in testBasic()
110 manager.selectMultiple(Arrays.asList(rootView.getChildren().get(0))); in testSelectParent()
113 assertSame(rootView.getChildren().get(0), manager.getSelections().get(0).getViewInfo()); in testSelectParent()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DLayoutTestBase.java73 .getChildren()[currentIndex].getStringAttr(ANDROID_URI, ATTR_ID); in dragInto()
126 int childrenCountBefore = targetNode.getChildren().length; in dragInto()
131 assertEquals(childrenCountBefore+1, targetNode.getChildren().length); in dragInto()
136 assertEquals(childrenCountBefore, targetNode.getChildren().length); in dragInto()
139 String actualId = targetNode.getChildren()[insertIndex].getStringAttr( in dragInto()
145 for (INode child : targetNode.getChildren()) { in dragInto()
156 return targetNode.getChildren()[insertIndex]; in dragInto()
DTestNode.java145 public @NonNull INode[] getChildren() { in getChildren() method in TestNode
298 for (Element child : DomUtilities.getChildren(element)) { in createFromNode()
374 List<Element> children = DomUtilities.getChildren(mElement); in insertChildAt()
408 List<Element> children = DomUtilities.getChildren(mElement); in removeChild()
472 for (INode child : getChildren()) {
DLinearLayoutRuleTest.java96 assertEquals(0, targetNode.getChildren().length); in dragIntoEmpty()
98 assertEquals(1, targetNode.getChildren().length); in dragIntoEmpty()
99 assertEquals("@+id/Button01", targetNode.getChildren()[0].getStringAttr( in dragIntoEmpty()
DBaseLayoutRuleTest.java241 assertEquals(2, newNode.getChildren().length); in testAddInnerElements()
243 assertEquals("value2b", newNode.getChildren()[1].getStringAttr("uri", "childprop2b")); in testAddInnerElements()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DViewHierarchy.java202 mLastValidViewInfoRoot.getChildren().isEmpty()) { in setSession()
294 for (CanvasViewInfo child : vi.getChildren()) { in updateNodeProxies()
331 for (CanvasViewInfo child : vi.getChildren()) { in addInvisibleParents()
420 for (CanvasViewInfo child : canvasViewInfo.getChildren()) { in addWithin()
499 List<CanvasViewInfo> children = canvasViewInfo.getChildren(); in findViewInfoAt_Recursive()
549 if (parent != null && !parent.getChildren().isEmpty()) { in findAltViewInfoAt_Recursive()
551 for (CanvasViewInfo child : parent.getChildren()) { in findAltViewInfoAt_Recursive()
559 for (CanvasViewInfo child : parent.getChildren()) { in findAltViewInfoAt_Recursive()
636 for (CanvasViewInfo child : canvasViewInfo.getChildren()) { in findAllViewInfos()
766 for (ViewInfo child : info.getChildren()) { in dump()
DAccordionControl.java140 for (Control c : getChildren()) { in getHeaderLabels()
155 for (Control c : getChildren()) { in expandAll()
174 for (Control c : getChildren()) { in collapseAll()
386 for (Control c : getChildren()) { in getExpandedCategories()
DCanvasViewInfo.java173 public List<CanvasViewInfo> getChildren() { in getChildren() method in CanvasViewInfo
542 for (CanvasViewInfo childVi : getChildren()) { in toSimpleElement()
687 for (CanvasViewInfo vi : rootView.getChildren()) { in create()
860 List<ViewInfo> children = viewInfo.getChildren(); in createSubtree()
1059 for (CanvasViewInfo child : parentView.getChildren()) { in addMismatched()
1085 List<CanvasViewInfo> siblings = parentView.getChildren(); in addMismatched()
1169 for (ViewInfo child : viewInfo.getChildren()) { in addKeyedSubtrees()
DOutlineDropListener.java119 for (INode node : targetNode.getChildren()) { in performDrop()
146 for (INode node : targetNode.getChildren()) { in performDrop()
DOutlineOverlay.java102 for (CanvasViewInfo vi : info.getChildren()) { in drawOutline()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DUnwrapRefactoring.java108 if (DomUtilities.getChildren(first).size() == 0) { in checkInitialConditions()
115 List<Element> elements = DomUtilities.getChildren(mContainer); in checkInitialConditions()
138 if (DomUtilities.getChildren(mContainer).size() > 1) { in checkInitialConditions()
186 List<Element> elements = DomUtilities.getChildren(mContainer); in computeChanges()
200 List<Element> children = DomUtilities.getChildren(mContainer); in computeChanges()
DGridLayoutConverter.java139 if (layoutView == null || layoutView.getChildren().size() == 0) { in convertToGridLayout()
484 for (CanvasViewInfo child : info.getChildren()) { in findViewForElement()
809 for (CanvasViewInfo child : view.getChildren()) { in scan()
819 for (CanvasViewInfo childView : child.getChildren()) { in scan()
856 for (Element child : DomUtilities.getChildren(parent)) { in analyzeKnownLayouts()
877 List<Element> children = DomUtilities.getChildren(parent); in analyzeKnownLayouts()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateContentProvider.java38 return getChildren(inputElement); in getElements()
42 public Object[] getChildren(Object parentElement) { in getChildren() method in StateContentProvider
DGLCallGroups.java38 List<GLCallNode> getChildren(); in getChildren() method
76 public List<GLCallNode> getChildren() { in getChildren() method in GLCallGroups.GLTreeNode
105 public List<GLCallNode> getChildren() { in getChildren() method in GLCallGroups.GLLeafNode
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/
DOtherXmlDescriptors.java69 return mDescriptor.getChildren(); in getRootElementDescriptors()
96 return mSearchDescriptor.getChildren(); in getSearchableProvider()
110 return mPrefDescriptor.getChildren();
124 return mAppWidgetDescriptor.getChildren();
324 topPreferences.getChildren(),
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DScrollViewRule.java74 if (targetNode.getChildren().length > 0) { in onDropMove()
86 if (targetNode.getChildren().length > 0) { in drawFeedback()
DHorizontalScrollViewRule.java74 if (targetNode.getChildren().length > 0) { in onDropMove()
86 if (targetNode.getChildren().length > 0) { in drawFeedback()
DLinearLayoutRule.java200 distributeWeights(parentNode, parentNode.getChildren()); in addLayoutActions()
266 for (INode target : parentNode.getChildren()) { in clearWeights()
300 for (INode it : targetNode.getChildren()) { in onDropEnter()
353 int posCount = targetNode.getChildren().length + 1; in onDropEnter()
449 node.getChildren().length == 0) {
602 for (INode target : parent.getChildren()) {
1086 for (INode child : linearLayout.getChildren()) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeFactoryTest.java63 assertTrue(Arrays.equals(new INode[0], inode.getChildren())); in testCreateCanvasViewInfo()
88 assertTrue(Arrays.equals(new INode[0], inode.getChildren())); in testCreateUiViewElementNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DApplicationAttributesPart.java104 for (Control c : table.getChildren()) { in createUiAttributes()
169 for (Control c : table.getChildren()) { in uiElementNodeUpdated()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DElementDescriptor.java308 public ElementDescriptor[] getChildren() { in getChildren() method in ElementDescriptor
406 for (ElementDescriptor e : getChildren()) { in findChildrenDescriptorInternal()
417 for (ElementDescriptor e : getChildren()) { in findChildrenDescriptorInternal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DBuildFileCreator.java546 if (status.isMultiStatus() && status.getChildren().length > 0) { in validateEdit()
547 for (int i = 0; i < status.getChildren().length; i++) { in validateEdit()
548 IStatus statusChild = status.getChildren()[i]; in validateEdit()
567 for (int i = 0; i < status.getChildren().length; i++) { in validateEdit()
568 IStatus statusChild = status.getChildren()[i]; in validateEdit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiModelTreeContentProvider.java49 public Object[] getChildren(Object parentElement) { in getChildren() method in UiModelTreeContentProvider
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceContentProvider.java71 public Object[] getChildren(Object parentElement) { in getChildren() method in ResourceContentProvider

1234