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

12

/frameworks/base/tests/CoreTests/android/core/
H A DAndroidPerformanceTests.java28 public static String[] children() { method in class:AndroidPerformanceTests.Suite
H A DJavaPerformanceTests.java24 public static String[] children() { method in class:JavaPerformanceTests
/frameworks/base/sax/java/android/sax/
H A DChildren.java20 * Contains element children. Using this class instead of HashMap results in
25 Child[] children = new Child[16]; field in class:Children
34 Child current = children[index];
36 // We have no children in this bucket yet.
38 children[index] = current;
69 Child current = children[index];
H A DElement.java39 Children children; field in class:Element
69 + " text element listener. It cannot have children.");
72 if (children == null) {
73 children = new Children();
76 return children.getOrCreate(this, uri, localName);
158 if (children != null) {
159 throw new IllegalStateException("This element already has children."
176 * Clears flags on required children.
H A DRootElement.java130 Children children = current.children;
131 if (children != null) {
132 Element child = children.get(uri, localName);
/frameworks/base/core/java/android/view/
H A DViewGroup.java48 * (called children.) The view group is the base class for layouts and views
79 * Listener used to propagate events indicating when children are added
133 // When set, this ViewGroup caches its children in a Bitmap before starting a layout animation
147 // the children's Bitmap caches if necessary
160 * When set, this ViewGroup supports static transformations on children; this causes
178 * of its children.
183 * When set, this ViewGroup tries to always draw its children using their drawing cache.
189 * draw its children with their drawing cache.
194 * When set, this group will go through its list of children to notify them of
269 // Number of valid children i
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/expandablelistview/
H A DInflatedExpandableListView.java44 // Sample data set. children[i] contains the children (String[]) for groups[i].
46 private String[][] children = { field in class:InflatedExpandableListView.MyExpandableListAdapter
54 return children[groupPosition][childPosition];
62 return children[groupPosition].length;
/frameworks/base/tools/localize/
H A Dres_check.cpp96 const vector<XMLNode*>& children = value->Children(); local
97 for (size_t i=0; i<children.size(); i++) {
98 err |= scan_for_unguarded_format(pos, children[i], depth+1);
H A Dxmb.cpp72 vector<XMLNode*>& children = node->EditChildren(); local
73 const size_t I = children.size();
75 err |= convert_xliff_to_ph(children[i], phID);
H A DXLIFFFile.cpp355 const vector<XMLNode*>& children = original->Children(); local
356 size_t I = children.size();
358 err |= convert_html_to_xliff(children[i], name, copy, phID);
401 const vector<XMLNode*>& children = original->Children(); local
402 size_t I = children.size();
404 err |= convert_html_to_xliff(children[i], name, addTo, phID);
427 const vector<XMLNode*>& children = str.value->Children(); local
428 size_t I = children.size();
432 err |= convert_html_to_xliff(children[i], name, node, &phID);
H A Dlocalize.cpp467 const vector<XMLNode*>& children = source->Children(); local
468 const size_t I = children.size();
470 target->EditChildren().push_back(pseudolocalize_xml_node(children[i], settings));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DLayoutResult.java94 public void setChildren(ILayoutViewInfo[] children) { argument
95 mChildren = children;
H A DBridge.java539 * Visits a View and its children and generate a {@link ILayoutViewInfo} containing the
556 ILayoutViewInfo[] children = new ILayoutViewInfo[n];
558 children[i] = visit(group.getChildAt(i), context);
560 result.setChildren(children);
/frameworks/base/core/tests/coretests/src/android/util/
H A DExpandableListScenario.java92 * Sets the number of children per group.
94 * @param numChildrenPerGroup The number of children per group.
103 * groups and children per group.
180 .children.get(ExpandableListView.getPackedPositionChild(packedPosition))
210 if (child >= mGroups.get(group).children.size() || child < 0) {
268 * Returns a group index containing either the number of children or at
309 return mGroups.get(groupPosition).children.get(childPosition).id;
313 return mGroups.get(groupPosition).children.size();
355 List<MyChild> children; field in class:ExpandableListScenario.MyGroup
359 children
[all...]
/frameworks/base/core/java/android/content/
H A DUriMatcher.java163 ArrayList<UriMatcher> children = node.mChildren;
164 int numChildren = children.size();
168 child = children.get(j);
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java31 * If AnimationSet sets any properties that its children also set
371 final ArrayList<Animation> children = mAnimations;
372 final int count = children.size();
392 Animation a = children.get(i);
430 final ArrayList<Animation> children = mAnimations;
431 final int count = children.size();
434 children.get(i).setStartOffset(offsets[i]);
/frameworks/base/tools/preload/
H A DProc.java44 final List<Proc> children = new ArrayList<Proc>(); field in class:Proc
159 for (Proc child : children) {
H A DRoot.java124 parent.children.add(proc);
/frameworks/base/test-runner/src/android/test/
H A DTestListActivity.java55 /** Our children tests */
129 String[] children = TestRunner.getChildren(this, mSuite);
131 Arrays.sort(children, sComparator);
133 int len = children.length;
135 System.arraycopy(children, 0, mTests, 0, len);
H A DTestRunner.java286 String[] children = getChildren(method);
287 run(children);
376 + " children method: " + className);
541 return clazz.getMethod("children", (Class[]) null);
560 throw new RuntimeException("couldn't get children method for "
564 String[] children = getChildren(m);
566 String[] allChildren = new String[testChildren.length + children.length];
567 System.arraycopy(children, 0, allChildren, 0, children.length);
568 System.arraycopy(testChildren, 0, allChildren, children
[all...]
/frameworks/base/core/java/android/widget/
H A DTabWidget.java163 int children = getChildCount();
166 // children: 1, 3, 5, ... and we want to convert that sequence to
169 children = (children + 1) / 2;
171 return children;
/frameworks/base/awt/javax/imageio/metadata/
H A DIIOMetadataFormatImpl.java97 * the minimum number of children.
99 * the maximum number of children
344 parent.children.add(element.name);
370 parent.children.add(elementName);
403 parent.children.add(elementName);
610 // children
613 return element.children.toArray(new String[element.children.size()]);
759 e.children.remove(element.name);
803 * The children
805 ArrayList<String> children = new ArrayList<String>(); field in class:IIOMetadataFormatImpl.Element
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaPlayerApiTest.java496 String[] children = dir.list();
497 if (children == null) {
501 for (int i = 0; i < children.length; i++) {
503 String filename = children[i];
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java1339 private final HashMap<Character,TrieNode> children = field in class:AbstractMessageParser.TrieNode
1355 return children.get(Character.valueOf(ch));
1360 TrieNode node = children.get(key);
1363 children.put(key, node);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DGraphicsPerformanceTests.java41 public static String[] children() { method in class:GraphicsPerformanceTests

Completed in 383 milliseconds

12