Searched refs:children (Results 1 - 25 of 86) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
H A DManifestElementDescriptor.java41 * @param children The list of allowed children. Can be null or empty.
49 ElementDescriptor[] children,
51 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
62 * @param children The list of allowed children. Can be null or empty.
70 ElementDescriptor[] children,
72 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
83 * @param children The list of allowed children
44 ManifestElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, Mandatory mandatory) argument
65 ManifestElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, boolean mandatory) argument
85 ManifestElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children) argument
101 ManifestElementDescriptor(String xml_name, ElementDescriptor[] children) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
H A DDocumentDescriptor.java28 * It has a children list which represent all the possible roots of the document.
36 * Constructs a new {@link DocumentDescriptor} based on its XML name and children list.
44 * @param children The list of allowed children. Can be null or empty.
46 public DocumentDescriptor(String xml_name, ElementDescriptor[] children) { argument
47 super(xml_name, children, Mandatory.MANDATORY);
H A DElementDescriptor.java37 * an attributes list and a children list.
52 /** The list of allowed children */
69 * tooltip, SDK url, attributes list, children list and mandatory.
76 * @param children The list of allowed children. Can be null or empty.
84 ElementDescriptor[] children,
92 mChildren = children != null ? children : new ElementDescriptor[]{};
97 * tooltip, SDK url, attributes list, children list and mandatory.
104 * @param children Th
82 ElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, Mandatory mandatory) argument
110 ElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, boolean mandatory) argument
135 ElementDescriptor(String xml_name, ElementDescriptor[] children, Mandatory mandatory) argument
147 ElementDescriptor(String xml_name, ElementDescriptor[] children) argument
[all...]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
H A DViewsTreeModel.java37 return ((ViewNode) o).children.get(i);
41 return ((ViewNode) o).children.size();
46 return node.children == null || node.children.size() == 0;
54 return ((ViewNode) parent).children.indexOf(child);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
H A DMockNodeList.java33 * Constructs a node list from a given children list.
35 * @param children The children list. Can be null.
37 public MockNodeList(MockXmlNode[] children) { argument
39 if (children != null) {
40 for (MockXmlNode n : children) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/
H A DItemElementDescriptor.java32 * tooltip, SDK url, attributes list, children list and mandatory.
39 * @param children The list of allowed children. Can be null or empty.
47 ElementDescriptor[] children, boolean mandatory) {
48 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
45 ItemElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, AttributeDescriptor[] attributes, ElementDescriptor[] children, boolean mandatory) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
H A DTableRowRule.java57 final @NonNull List<? extends INode> children) {
58 super.addLayoutActions(actions, parentNode, children);
63 if (children != null) {
67 children);
54 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
H A DTableLayoutRule.java44 // The fill of all children should be wrap_content
98 final @NonNull List<? extends INode> children) {
99 super.addLayoutActions(actions, parentNode, children);
100 addTableLayoutActions(mRulesEngine, actions, parentNode, children);
108 final List<? extends INode> children) {
125 if (children != null) {
127 for (INode child : children) {
151 // Find the direct children of the TableLayout to delete;
154 // TableLayout but the children might be grand children
95 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
106 addTableLayoutActions(final IClientRulesEngine rulesEngine, List<RuleAction> actions, final INode parentNode, final List<? extends INode> children) argument
[all...]
H A 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));
166 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
H A DGridLayoutRule.java158 final @NonNull List<? extends INode> children) {
159 super.addLayoutActions(actions, parentNode, children);
175 if (children != null && children.size() > 0) {
177 actions.add(createMarginAction(parentNode, children));
178 actions.add(createGravityAction(children, ATTR_LAYOUT_GRAVITY));
212 grid.addRow(children);
214 grid.removeRows(children);
216 grid.addColumn(children);
218 grid.removeColumns(children);
155 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DClipboardSupport.java220 List<INode> children = clusters.get(parent);
221 if (children == null) {
222 children = new ArrayList<INode>();
223 clusters.put((NodeProxy) parent, children);
225 children.add(node);
229 // Notify parent views about children getting deleted
233 List<INode> children = entry.getValue();
234 assert children != null && children.size() > 0;
235 rulesEngine.callOnRemovingChildren(parent, children);
[all...]
H A DCanvasViewInfo.java60 * Each view also knows its parent and children.
156 * It is null for the root and non-null for children.
166 * Returns the list of children of this {@link CanvasViewInfo}.
170 * @return the children, never null
179 * children of a {@code <merge>} tag included into a separate layout, return the
218 * Returns all the children of the canvas view info where each child corresponds to a
228 * @return list of {@link CanvasViewInfo} objects that are children of this view,
237 // We have secondary children; must create a new collection containing
238 // only non-secondary children
239 List<CanvasViewInfo> children
992 addMismatched(CanvasViewInfo parentView, int parentX, int parentY, List<ViewInfo> children, LinkedList<UiViewElementNode> unused) argument
1142 nextViewNode(List<ViewInfo> children, int index) argument
[all...]
H A DViewHierarchy.java250 List<UiElementNode> children = model.getUiChildren();
251 return new ViewInfo(VIEW_MERGE, children.get(0), 0, 0, layoutSize.x, layoutSize.y);
263 List<UiElementNode> children = model.getUiChildren();
264 if (children != null && children.size() > 0
265 && VIEW_MERGE.equals(children.get(0).getDescriptor().getXmlName())) {
302 * <li>Invisible parents. These are nodes that can hold children and have empty
369 * they have no children and zero layout bounds).
499 List<CanvasViewInfo> children = canvasViewInfo.getChildren();
500 assert children instanceo
[all...]
H A DOutlineDropListener.java116 // Record children of the target right before the drop (such that we can
117 // find out after the drop which exact children were inserted)
118 Set<INode> children = new HashSet<INode>();
120 children.add(node);
147 if (!children.contains(node)) {
H A DSelectionOverlay.java172 List<INode> children = new ArrayList<INode>();
176 children.add(node);
183 (NodeProxy) parent, children, view);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
H A DLintDeltaProcessor.java136 IResourceDelta[] children = delta.getAffectedChildren();
137 if (children != null && children.length > 0) {
138 for (IResourceDelta d : children) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/
H A DExplodeRenderingHelperTest.java242 private MockXmlNode createLinearLayout(boolean horizontal, MockXmlNode[] children) { argument
243 MockXmlNode layout = new MockXmlNode(null, "LinearLayout", Node.ELEMENT_NODE, children);
251 private MockXmlNode createRelativeLayout(MockXmlNode[] children) { argument
252 MockXmlNode layout = new MockXmlNode(null, "RelativeLayout", Node.ELEMENT_NODE, children);
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
H A DLayoutRenderer.java114 for (ViewNode node : root.children) {
119 if (node.children.size() > 0) {
160 for (ViewNode node : root.children) {
169 if (node.children.size() > 0) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DChangeLayoutRefactoring.java189 // overlay children are replaced by their first element children
199 NodeList children = e.getChildNodes();
201 for (int i = 0, n = children.getLength(); i < n; i++) {
202 Node node = children.item(i);
289 // Layout attributes on children have already been removed as part of conversion
359 // conversion) and then convert all the children into <TableRow> elements.
364 NodeList children = layout.getChildNodes();
365 for (int i = 0, n = children.getLength(); i < n; i++) {
366 Node node = children
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
H A DAndroidTypeMoveParticipant.java315 NodeList children = element.getChildNodes();
316 for (int i = 0, n = children.getLength(); i < n; i++) {
317 Node child = children.item(i);
354 NodeList children = element.getChildNodes();
355 for (int i = 0, n = children.getLength(); i < n; i++) {
356 Node child = children.item(i);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DRefactoringTest.java198 List<Element> children = DomUtilities.getChildren(element);
200 boolean hasChildren = children.size() > 0;
203 for (Element child : children) {
256 List<ViewInfo> children = new ArrayList<ViewInfo>();
258 children.add(create(child, lineIterator));
260 view.setChildren(children);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
H A DViewElementDescriptor.java44 * The base class {@link ElementDescriptor} has a notion of "children", that is an XML element
46 * XML files all possible views are children of the document and of themselves (that is any
49 * that deals with the children hierarchy must also deal with potential infinite loops since views
55 * The super class hierarchy is very different from the descriptor's children hierarchy: the
77 * its children list and its mandatory flag.
87 * @param children The list of allowed children. Can be null or empty.
97 ElementDescriptor[] children, boolean mandatory) {
98 super(xml_name, ui_name, tooltip, sdk_url, attributes, children, mandatory);
93 ViewElementDescriptor(String xml_name, String ui_name, String fullClassName, String tooltip, String sdk_url, AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, ElementDescriptor[] children, boolean mandatory) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
H A DTestDragElement.java74 public TestDragElement add(TestDragElement... children) { argument
79 for (TestDragElement child : children) {
H A DTestNode.java100 public TestNode add(TestNode... children) { argument
101 for (TestNode child : children) {
374 List<Element> children = DomUtilities.getChildren(mElement);
375 if (children.size() >= index) {
376 Element before = children.get(index);
408 List<Element> children = DomUtilities.getChildren(mElement);
409 assertTrue(index < children.size());
410 Element oldChild = children.get(index);
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
H A DViewNode.java34 public List<ViewNode> children = new ArrayList<ViewNode>(); field in class:ViewNode
128 index = parent == null ? 0 : parent.children.indexOf(this);

Completed in 284 milliseconds

1234