/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
D | ManifestElementDescriptor.java | 49 ElementDescriptor[] children, in ManifestElementDescriptor() argument 51 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ManifestElementDescriptor() 70 ElementDescriptor[] children, in ManifestElementDescriptor() argument 72 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ManifestElementDescriptor() 90 ElementDescriptor[] children) { in ManifestElementDescriptor() argument 91 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, false); in ManifestElementDescriptor() 101 public ManifestElementDescriptor(String xml_name, ElementDescriptor[] children) { in ManifestElementDescriptor() argument 102 super(xml_name, children); in ManifestElementDescriptor()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
D | ViewsTreeModel.java | 37 return ((ViewNode) o).children.get(i); in getChild() 41 return ((ViewNode) o).children.size(); in getChildCount() 46 return node.children == null || node.children.size() == 0; in isLeaf() 54 return ((ViewNode) parent).children.indexOf(child); in getIndexOfChild()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | TableLayoutRule.java | 98 final @NonNull List<? extends INode> children) { in addLayoutActions() argument 99 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 100 addTableLayoutActions(mRulesEngine, actions, parentNode, children); in addLayoutActions() 108 final List<? extends INode> children) { in addTableLayoutActions() argument 125 if (children != null) { in addTableLayoutActions() 127 for (INode child : children) { in addTableLayoutActions() 156 for (INode child : children) { in addTableLayoutActions() 179 if (children != null && children.size() > 0) { in addTableLayoutActions()
|
D | TableRowRule.java | 57 final @NonNull List<? extends INode> children) { in addLayoutActions() argument 58 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 63 if (children != null) { in addLayoutActions() 67 children); in addLayoutActions()
|
D | FrameLayoutRule.java | 169 final @NonNull List<? extends INode> children) { 170 super.addLayoutActions(actions, parentNode, children); 172 actions.add(createMarginAction(parentNode, children)); 173 if (children != null && children.size() > 0) { 174 actions.add(createGravityAction(children, ATTR_LAYOUT_GRAVITY));
|
D | GridLayoutRule.java | 158 final @NonNull List<? extends INode> children) { in addLayoutActions() argument 159 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 175 if (children != null && children.size() > 0) { in addLayoutActions() 177 actions.add(createMarginAction(parentNode, children)); in addLayoutActions() 178 actions.add(createGravityAction(children, ATTR_LAYOUT_GRAVITY)); in addLayoutActions() 212 grid.addRow(children); in addLayoutActions() 214 grid.removeRows(children); in addLayoutActions() 216 grid.addColumn(children); in addLayoutActions() 218 grid.removeColumns(children); in addLayoutActions() 244 if (children != null && children.size() > 0) { in addLayoutActions()
|
D | RelativeLayoutRule.java | 310 final @NonNull List<? extends INode> children) { in addLayoutActions() argument 311 super.addLayoutActions(actions, parentNode, children); in addLayoutActions() 316 actions.add(createMarginAction(parentNode, children)); in addLayoutActions() 330 for (INode child : children) { in addLayoutActions() 334 for (INode child : children) { in addLayoutActions() 354 if (children != null && children.size() > 0) { in addLayoutActions()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | ElementDescriptor.java | 84 ElementDescriptor[] children, in ElementDescriptor() argument 92 mChildren = children != null ? children : new ElementDescriptor[]{}; in ElementDescriptor() 112 ElementDescriptor[] children, in ElementDescriptor() argument 120 mChildren = children != null ? children : new ElementDescriptor[]{}; in ElementDescriptor() 135 public ElementDescriptor(String xml_name, ElementDescriptor[] children, Mandatory mandatory) { in ElementDescriptor() argument 136 this(xml_name, prettyName(xml_name), null, null, null, children, mandatory); in ElementDescriptor() 147 public ElementDescriptor(String xml_name, ElementDescriptor[] children) { in ElementDescriptor() argument 148 this(xml_name, prettyName(xml_name), null, null, null, children, false); in ElementDescriptor()
|
D | DocumentDescriptor.java | 46 public DocumentDescriptor(String xml_name, ElementDescriptor[] children) { in DocumentDescriptor() argument 47 super(xml_name, children, Mandatory.MANDATORY); in DocumentDescriptor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/ |
D | MockNodeList.java | 37 public MockNodeList(MockXmlNode[] children) { in MockNodeList() argument 39 if (children != null) { in MockNodeList() 40 for (MockXmlNode n : children) { in MockNodeList()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | CanvasViewInfo.java | 239 List<CanvasViewInfo> children = new ArrayList<CanvasViewInfo>(); in getUniqueChildren() local 242 children.add(vi); in getUniqueChildren() 244 children.add(vi); in getUniqueChildren() 247 return children; in getUniqueChildren() 254 List<CanvasViewInfo> children = new ArrayList<CanvasViewInfo>(mChildren.size()); in getUniqueChildren() local 257 children.add(vi); in getUniqueChildren() 261 return children; in getUniqueChildren() 860 List<ViewInfo> children = viewInfo.getChildren(); in createSubtree() local 863 for (ViewInfo child : children) { in createSubtree() 880 for (ViewInfo child : children) { in createSubtree() [all …]
|
D | ClipboardSupport.java | 220 List<INode> children = clusters.get(parent); in deleteSelection() 221 if (children == null) { in deleteSelection() 222 children = new ArrayList<INode>(); in deleteSelection() 223 clusters.put((NodeProxy) parent, children); in deleteSelection() 225 children.add(node); in deleteSelection() 233 List<INode> children = entry.getValue(); in deleteSelection() 234 assert children != null && children.size() > 0; in deleteSelection() 235 rulesEngine.callOnRemovingChildren(parent, children); in deleteSelection()
|
D | ViewHierarchy.java | 250 List<UiElementNode> children = model.getUiChildren(); in createMergeInfo() local 251 return new ViewInfo(VIEW_MERGE, children.get(0), 0, 0, layoutSize.x, layoutSize.y); in createMergeInfo() 263 List<UiElementNode> children = model.getUiChildren(); in hasMergeRoot() local 264 if (children != null && children.size() > 0 in hasMergeRoot() 265 && VIEW_MERGE.equals(children.get(0).getDescriptor().getXmlName())) { in hasMergeRoot() 499 List<CanvasViewInfo> children = canvasViewInfo.getChildren(); in findViewInfoAt_Recursive() local 500 assert children instanceof RandomAccess; in findViewInfoAt_Recursive() 501 for (int i = children.size() - 1; i >= 0; i--) { in findViewInfoAt_Recursive() 502 CanvasViewInfo child = children.get(i); in findViewInfoAt_Recursive()
|
D | DomUtilities.java | 142 NodeList children = node.getChildNodes(); in hasElementChildren() local 143 for (int i = 0, n = children.getLength(); i < n; i++) { in hasElementChildren() 144 if (children.item(i).getNodeType() == Node.ELEMENT_NODE) { in hasElementChildren() 559 NodeList children = element.getChildNodes(); in getChildren() local 562 List<Element> result = new ArrayList<Element>(children.getLength()); in getChildren() 563 for (int i = 0, n = children.getLength(); i < n; i++) { in getChildren() 564 Node node = children.item(i); in getChildren() 776 NodeList children = element.getChildNodes(); in findCorresponding() local 777 for (int i = 0, n = children.getLength(); i < n; i++) { in findCorresponding() 778 Node node = children.item(i); in findCorresponding()
|
D | OutlineDropListener.java | 118 Set<INode> children = new HashSet<INode>(); in performDrop() local 120 children.add(node); in performDrop() 147 if (!children.contains(node)) { in performDrop()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | ChangeLayoutRefactoring.java | 199 NodeList children = e.getChildNodes(); in initElements() local 201 for (int i = 0, n = children.getLength(); i < n; i++) { in initElements() 202 Node node = children.item(i); in initElements() 364 NodeList children = layout.getChildNodes(); in convertLinearToTable() local 365 for (int i = 0, n = children.getLength(); i < n; i++) { in convertLinearToTable() 366 Node node = children.item(i); in convertLinearToTable() 411 NodeList children = layout.getChildNodes(); in convertLinearToRelative() local 413 for (int i = 0, n = children.getLength(); i < n; i++) { in convertLinearToRelative() 414 Node node = children.item(i); in convertLinearToRelative() 427 NodeList children = layout.getChildNodes(); in convertLinearToRelative() local [all …]
|
D | UseCompoundDrawableRefactoring.java | 155 List<Element> children = DomUtilities.getChildren(layout); in checkInitialConditions() local 156 if (children.size() != 2) { in checkInitialConditions() 160 Element first = children.get(0); in checkInitialConditions() 161 Element second = children.get(1); in checkInitialConditions() 224 List<Element> children = DomUtilities.getChildren(layout); in computeChanges() local 225 Element first = children.get(0); in computeChanges() 226 Element second = children.get(1); in computeChanges()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintDeltaProcessor.java | 136 IResourceDelta[] children = delta.getAffectedChildren(); in gatherFiles() local 137 if (children != null && children.length > 0) { in gatherFiles() 138 for (IResourceDelta d : children) { in gatherFiles()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/ |
D | ItemElementDescriptor.java | 47 ElementDescriptor[] children, boolean mandatory) { in ItemElementDescriptor() argument 48 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ItemElementDescriptor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ExplodeRenderingHelperTest.java | 242 private MockXmlNode createLinearLayout(boolean horizontal, MockXmlNode[] children) { in createLinearLayout() argument 243 MockXmlNode layout = new MockXmlNode(null, "LinearLayout", Node.ELEMENT_NODE, children); in createLinearLayout() 251 private MockXmlNode createRelativeLayout(MockXmlNode[] children) { in createRelativeLayout() argument 252 MockXmlNode layout = new MockXmlNode(null, "RelativeLayout", Node.ELEMENT_NODE, children); in createRelativeLayout()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | TestNode.java | 100 public TestNode add(TestNode... children) { in add() argument 101 for (TestNode child : children) { in add() 374 List<Element> children = DomUtilities.getChildren(mElement); in insertChildAt() local 375 if (children.size() >= index) { in insertChildAt() 376 Element before = children.get(index); in insertChildAt() 408 List<Element> children = DomUtilities.getChildren(mElement); in removeChild() local 409 assertTrue(index < children.size()); in removeChild() 410 Element oldChild = children.get(index); in removeChild()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
D | LayoutRenderer.java | 114 for (ViewNode node : root.children) { in drawChildren() 119 if (node.children.size() > 0) { in drawChildren() 160 for (ViewNode node : root.children) { in findChild() 169 if (node.children.size() > 0) { in findChild()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | RefactoringTest.java | 198 List<Element> children = DomUtilities.getChildren(element); in createModel() local 200 boolean hasChildren = children.size() > 0; in createModel() 203 for (Element child : children) { in createModel() 256 List<ViewInfo> children = new ArrayList<ViewInfo>(); in create() local 258 children.add(create(child, lineIterator)); in create() 260 view.setChildren(children); in create()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | AndroidTypeMoveParticipant.java | 315 NodeList children = element.getChildNodes(); in addLayoutReplacements() local 316 for (int i = 0, n = children.getLength(); i < n; i++) { in addLayoutReplacements() 317 Node child = children.item(i); in addLayoutReplacements() 354 NodeList children = element.getChildNodes(); in addManifestReplacements() local 355 for (int i = 0, n = children.getLength(); i < n; i++) { in addManifestReplacements() 356 Node child = children.item(i); in addManifestReplacements()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | CanvasViewInfoTest.java | 376 List<ViewInfo> children = new ArrayList<ViewInfo>(); in testUnmatchedMissing() local 405 children.add(childView); in testUnmatchedMissing() 419 root.setChildren(children); in testUnmatchedMissing() 459 ArrayList<ViewInfo> children = new ArrayList<ViewInfo>(); in testMergeCookies() local 463 children.add(childView); in testMergeCookies() 465 root.setChildren(children); in testMergeCookies() 495 ArrayList<ViewInfo> children = new ArrayList<ViewInfo>(); in testMergeCookies2() local 500 children.add(childView); in testMergeCookies2() 502 root.setChildren(children); in testMergeCookies2() 547 ArrayList<ViewInfo> children = new ArrayList<ViewInfo>(); in testIncludeBounds() local [all …]
|