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

/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/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/impl/binding/
H A DFakeExpandableAdapter.java63 List<DataBindingItem> children = dataBindingItem.getChildren();
66 // if there are children, we use the count as a repeat count for the children.
67 if (children.size() > 0) {
79 if (children.size() > 0) {
96 List<AdapterItem> children = item.getChildren();
97 return children.get(childPosition);
/frameworks/base/core/java/android/view/
H A DViewGroup.java53 * (called children.) The view group is the base class for layouts and views
92 * Listener used to propagate events indicating when children are added
103 * A Transformation used when drawing children, to
153 // The hover targets are children which have received ACTION_HOVER_ENTER.
195 // When set, this ViewGroup caches its children in a Bitmap before starting a layout animation
209 // the children's Bitmap caches if necessary
222 * When set, this ViewGroup supports static transformations on children; this causes
240 * of its children.
245 * When set, this ViewGroup tries to always draw its children using their drawing cache.
251 * draw its children wit
[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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaPlayerStressTest.java121 String[] children = dir.list();
122 if (children == null) {
126 for (int i = 0; i < children.length; i++) {
129 String filename = children[i];
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java79 mTransformData.children = null;
92 mTransformData.children = mChildField.getAllocation();
/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 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/view/animation/
H A DAnimationSet.java32 * If AnimationSet sets any properties that its children also set
38 * AnimationSet itself, some are pushed down to the children, and some are ignored,
437 final ArrayList<Animation> children = mAnimations;
438 final int count = children.size();
458 Animation a = children.get(i);
496 final ArrayList<Animation> children = mAnimations;
497 final int count = children.size();
500 children.get(i).setStartOffset(offsets[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
/frameworks/base/core/java/android/app/
H A DActivity.java684 HashMap<String, Object> children; field in class:Activity.NonConfigurationInstances
1552 ? mLastNonConfigurationInstances.children : null;
1568 HashMap<String, Object> children = onRetainNonConfigurationChildInstances();
1584 if (activity == null && children == null && fragments == null && !retainLoaders) {
1590 nci.children = children;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java116 HashMap<String, Object> children; field in class:FragmentActivity.NonConfigurationInstances
469 nci.children = null;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java686 // looks like this is a view class that doesn't support children manipulation!
832 // other children have made room for it.
882 // looks like this is a view class that doesn't support children manipulation!
945 // looks like this is a view class that doesn't support children manipulation!
1266 // otherwise, look for mContentRoot in the children
1283 * Visits a View and its children and generate a {@link ViewInfo} containing the
1321 * Visits all the children of a given ViewGroup generate a list of {@link ViewInfo}
1333 List<ViewInfo> children = new ArrayList<ViewInfo>();
1335 children.add(visit(viewGroup.getChildAt(i), offset, setExtendedInfo));
1337 return children;
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp744 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(application->getChildren()); local
745 for (size_t i = 0; i < children.size(); i++) {
746 sp<XMLNode> child = children.editItemAt(i);
762 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(root->getChildren()); local
763 for (size_t i = 0; i < children.size(); i++) {
764 sp<XMLNode> child = children.editItemAt(i);
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabasePerformanceTests.java40 public static String[] children() { method in class:DatabasePerformanceTests

Completed in 302 milliseconds