Searched defs:children (Results 1 - 25 of 35) sorted by relevance

12

/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/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) {
H A DMockXmlNode.java49 * Constructs a node from a given children list.
54 * @param children The children list. Can be null.
57 MockXmlNode[] children) {
61 mNodeList = new MockNodeList(children);
56 MockXmlNode(String namespace, String localName, short node_type, MockXmlNode[] children) argument
/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/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 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 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 DRelativeLayoutRule.java310 final @NonNull List<? extends INode> children) {
311 super.addLayoutActions(actions, parentNode, children);
316 actions.add(createMarginAction(parentNode, children));
330 for (INode child : children) {
334 for (INode child : children) {
354 if (children != null && children.size() > 0) {
307 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
H A DBaseLayoutRule.java110 final List<? extends INode> children) {
112 final List<? extends INode> targets = children == null || children.size() == 0 ?
114 : children;
154 // to the parent whereas for LinearLayout it's on the children)
190 final @NonNull List<? extends INode> children) {
191 super.addLayoutActions(actions, parentNode, children);
193 final List<? extends INode> targets = children == null || children.size() == 0 ?
195 : children;
109 createMarginAction(final INode parentNode, final List<? extends INode> children) argument
187 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
[all...]
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...]
H A DLinearLayoutRule.java130 final @NonNull List<? extends INode> children) {
131 super.addLayoutActions(actions, parentNode, children);
161 if (children != null && children.size() > 0) {
165 actions.add(createMarginAction(parentNode, children));
168 actions.add(createGravityAction(children, ATTR_LAYOUT_GRAVITY));
184 children.get(0).getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT);
194 for (INode child : children) {
206 children.toArray(new INode[children
127 addLayoutActions( @onNull List<RuleAction> actions, final @NonNull INode parentNode, final @NonNull List<? extends INode> children) argument
[all...]
/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/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
H A DCustomViewDescriptorService.java460 // A custom view accepts children if its parent descriptor also does.
461 // The only exception to this is ViewGroup, which accepts children even though
465 ViewElementDescriptor[] children = null;
467 // We can't figure out what the allowable children are by just
469 children = builtInList.toArray(new ViewElementDescriptor[builtInList.size()]);
474 children, project, null);
525 ElementDescriptor[] children, IProject project,
535 children,
523 CustomViewDescriptor(String name, String fqcn, AttributeDescriptor[] attributes, AttributeDescriptor[] layoutAttributes, ElementDescriptor[] children, IProject project, Map<ResourceFile, Long> timestamps) 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);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DRulesEngine.java213 * @param children The selected children of the node, if any (used to
220 NodeProxy parentNode, List<NodeProxy> children ) {
227 rule.addLayoutActions(actions, parentNode, children);
404 // Find a target which accepts children. If you for example select a button
532 // (For example, a ScrollView parent can go and set all its children's layout params to
583 List<INode> children) {
589 parentRule.onRemovingChildren(children, parentNode,
582 callOnRemovingChildren(NodeProxy parentNode, List<INode> children) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
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...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
H A DGridModel.java144 /** List of all the view data for the children in this layout */
230 * Computes the index (among the children nodes) to insert a new node into which
402 INode[] children = layout.getChildren();
409 mChildViews = new ArrayList<ViewData>(children.length);
411 for (INode child : children) {
419 declaredRowCount == UNDEFINED ? children.length : declaredRowCount,
420 declaredColumnCount == UNDEFINED ? children.length : declaredColumnCount);
493 // are assigned by assuming that the children are assigned successive
545 // Vertical layout: successive children are assigned to the same column in
725 * children
1932 getChildIndex(INode[] children, INode target) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
H A DHyperlinks.java949 NodeList children = element.getChildNodes();
950 value = findValueInChildren(name, file, targetTag, children);
966 String targetTag, NodeList children) {
967 for (int i = 0, n = children.getLength(); i < n; i++) {
968 Node child = children.item(i);
1063 NodeList children = root.getChildNodes();
1064 for (int i = 0, n = children.getLength(); i < n; i++) {
1065 Node child = children.item(i);
1122 NodeList children = document.getElementsByTagName(targetTag);
1123 for (int i = 0, n = children
965 findValueInChildren(String name, IFile file, String targetTag, NodeList children) argument
[all...]
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 701 milliseconds

12