Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 106) sorted by relevance

12345

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DManifestElementDescriptor.java49 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/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/util/
DDrawableViewNode.java26 public final ArrayList<DrawableViewNode> children = new ArrayList<DrawableViewNode>(); field in DrawableViewNode
116 if (viewNode.children.size() == 0) { in DrawableViewNode()
122 int N = viewNode.children.size(); in DrawableViewNode()
126 DrawableViewNode child = new DrawableViewNode(viewNode.children.get(i)); in DrawableViewNode()
127 children.add(child); in DrawableViewNode()
132 DrawableViewNode prevChild = children.get(i - 1); in DrawableViewNode()
157 int N = children.size(); in setLeft()
159 children.get(i).setLeft(); in setLeft()
166 int N = children.size(); in placeRoot()
168 DrawableViewNode child = children.get(i); in placeRoot()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
DViewsTreeModel.java37 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/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DStateListDetector.java86 List<Element> children = LintUtils.getChildren(root); in visitDocument() local
88 new HashMap<Element, Set<String>>(children.size()); in visitDocument()
90 for (int i = 0; i < children.size(); i++) { in visitDocument()
91 Element child = children.get(i); in visitDocument()
121 for (int i = 0; i < children.size() - 1; i++) { in visitDocument()
122 Element prev = children.get(i); in visitDocument()
125 for (int j = i + 1; j < children.size(); j++) { in visitDocument()
126 Element current = children.get(j); in visitDocument()
DUseCompoundDrawableDetector.java87 List<Element> children = LintUtils.getChildren(element); in visitElement() local
88 Element first = children.get(0); in visitElement()
89 Element second = children.get(1); in visitElement()
DInefficientWeightDetector.java115 List<Element> children = LintUtils.getChildren(element); in visitElement() local
120 for (Element child : children) { in visitElement()
151 boolean allChildrenAreLayouts = children.size() > 0; in visitElement()
152 for (Element child : children) { in visitElement()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DTableLayoutRule.java98 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()
DTableRowRule.java57 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()
DFrameLayoutRule.java169 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));
DGridLayoutRule.java156 final @NonNull List<? extends INode> children) { in addLayoutActions() argument
157 super.addLayoutActions(actions, parentNode, children); in addLayoutActions()
173 if (children != null && children.size() > 0) { in addLayoutActions()
175 actions.add(createMarginAction(parentNode, children)); in addLayoutActions()
176 actions.add(createGravityAction(children, ATTR_LAYOUT_GRAVITY)); in addLayoutActions()
210 grid.addRow(children); in addLayoutActions()
212 grid.removeRows(children); in addLayoutActions()
214 grid.addColumn(children); in addLayoutActions()
216 grid.removeColumns(children); in addLayoutActions()
239 if (children != null && children.size() > 0) { in addLayoutActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
DMockNodeList.java37 public MockNodeList(MockXmlNode[] children) { in MockNodeList() argument
39 if (children != null) { in MockNodeList()
40 for (MockXmlNode n : children) { in MockNodeList()
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/
DViewNode.java54 public List<ViewNode> children = new ArrayList<ViewNode>(); field in ViewNode
123 index = this.parent == null ? 0 : this.parent.children.size(); in ViewNode()
125 this.parent.children.add(this); in ViewNode()
143 final int N = children.size(); in dispose()
145 children.get(i).dispose(); in dispose()
259 final int N = children.size(); in setProfileRatings()
265 ViewNode child = children.get(i); in setProfileRatings()
271 ViewNode child = children.get(i); in setProfileRatings()
296 children.get(i).setProfileRatings(); in setProfileRatings()
302 final int N = children.size(); in setViewCount()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DElementDescriptor.java84 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()
DDocumentDescriptor.java46 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.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutContentAssist.java48 ElementDescriptor[] children = getRootDescriptor().getChildren(); in getChoicesForElement() local
49 for (ElementDescriptor e : children) { in getChoicesForElement()
51 return sort(children); in getChoicesForElement()
/sdk/traceview/src/com/android/traceview/
DProfileNode.java28 ProfileData[] children, boolean isParent, boolean isRecursive) { in ProfileNode() argument
31 mChildren = children; in ProfileNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfo.java239 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 …]
DClipboardSupport.java220 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()
DViewHierarchy.java250 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()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/core/
DPkgContentProvider.java149 List<?> children = parentElement.getItems(); in getSourceChildren() local
159 if (!source.isEnabled() || children.isEmpty()) { in getSourceChildren()
171 children2.addAll(children); in getSourceChildren()
172 children = children2; in getSourceChildren()
175 return children.toArray(); in getSourceChildren()
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
DViewInfo.java64 public void setChildren(List<ViewInfo> children) { in setChildren() argument
65 if (children != null) { in setChildren()
66 mChildren = Collections.unmodifiableList(children); in setChildren()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/
DItemElementDescriptor.java47 ElementDescriptor[] children, boolean mandatory) { in ItemElementDescriptor() argument
48 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory); in ItemElementDescriptor()
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
DPixelPerfectTree.java59 List<ViewNode> children = ((ViewNode) element).children; in getChildren() local
60 return children.toArray(new ViewNode[children.size()]); in getChildren()
76 return ((ViewNode) element).children.size() != 0; in hasChildren()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeLayoutRefactoring.java199 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 …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintDeltaProcessor.java136 IResourceDelta[] children = delta.getAffectedChildren(); in gatherFiles() local
137 if (children != null && children.length > 0) { in gatherFiles()
138 for (IResourceDelta d : children) { in gatherFiles()

12345