Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/
DIndentingPrintWriterBenchmark.java101 public ArrayList<Node> children; field in IndentingPrintWriterBenchmark.Node
105 public static Node build(String name, Node... children) { in build() argument
108 if (children != null && children.length > 0) { in build()
109 node.children = Lists.newArrayList(children); in build()
129 if (children != null) { in dumpDirect()
130 for (Node child : children) { in dumpDirect()
141 if (children != null) { in dumpIndenting()
143 for (Node child : children) { in dumpIndenting()
/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp109 List<sp<WebmElement> >& children) { in initCluster()
110 CHECK(!frames.empty() && children.empty()); in initCluster()
115 children.clear(); in initCluster()
116 children.push_back(clusterTimecode); in initCluster()
119 void WebmFrameSinkThread::writeCluster(List<sp<WebmElement> >& children) { in writeCluster() argument
121 CHECK_GE(children.size(), 2); in writeCluster()
124 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children); in writeCluster()
126 children.clear(); in writeCluster()
139 List<sp<WebmElement> > children; in flushFrames() local
140 initCluster(frames, clusterTimecodeL, children); in flushFrames()
[all …]
DWebmElement.cpp48 uint64_t childrenSum(const List<sp<WebmElement> >& children) { in childrenSum() argument
50 for (List<sp<WebmElement> >::const_iterator it = children.begin(); in childrenSum()
51 it != children.end(); ++it) { in childrenSum()
231 WebmMaster::WebmMaster(uint64_t id, const List<sp<WebmElement> >& children) in WebmMaster() argument
232 : WebmElement(id, childrenSum(children)), mChildren(children) { in WebmMaster()
/frameworks/base/core/java/android/view/
DViewGroup.java1070 final View[] children = mChildren; in hasFocusable() local
1073 final View child = children[i]; in hasFocusable()
1098 final View[] children = mChildren; in addFocusables() local
1101 final View child = children[i]; in addFocusables()
1160 final View[] children = mChildren; in findViewsWithText() local
1162 View child = children[i]; in findViewsWithText()
1183 final View[] children = mChildren; in findViewByAccessibilityIdTraversal() local
1185 View child = children[i]; in findViewByAccessibilityIdTraversal()
1202 final View[] children = mChildren; in dispatchWindowFocusChanged() local
1204 children[i].dispatchWindowFocusChanged(hasFocus); in dispatchWindowFocusChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java91 group.children.remove(removed); in onEntryRemovedInternal()
93 if (group.children.isEmpty()) { in onEntryRemovedInternal()
103 if (group.children.isEmpty()) { in onEntryRemovedInternal()
127 if (!group.children.isEmpty()) { in onEntryAdded()
131 group.children.add(added); in onEntryAdded()
132 if (group.summary != null && group.children.size() == 1 && !group.expanded) { in onEntryAdded()
168 return !group.children.isEmpty(); in hasGroupChildren()
216 public final HashSet<NotificationData.Entry> children = new HashSet<>(); field in NotificationGroupManager.NotificationGroup
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DMOTree.java29 Iterator<XMLNode> children = node.getChildren().iterator(); in MOTree() local
33 while (children.hasNext()) { in MOTree()
34 XMLNode child = children.next(); in MOTree()
37 children.remove(); in MOTree()
95 List<XMLNode> children = new ArrayList<XMLNode>(); in buildNode() local
113 if (!children.isEmpty()) in buildNode()
133 children.add(child); in buildNode()
145 for (XMLNode child : children) { in buildNode()
149 if (!children.isEmpty()) in buildNode()
/frameworks/base/sax/java/android/sax/
DElement.java37 Children children; field in Element
70 if (children == null) { in getChild()
71 children = new Children(); in getChild()
74 return children.getOrCreate(this, uri, localName); in getChild()
156 if (children != null) { in setEndTextElementListener()
DChildren.java25 Child[] children = new Child[16]; field in Children
34 Child current = children[index]; in getOrCreate()
38 children[index] = current; in getOrCreate()
69 Child current = children[index]; in get()
DRootElement.java130 Children children = current.children; in startElement() local
131 if (children != null) { in startElement()
132 Element child = children.get(uri, localName); in startElement()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStressTest.java129 String[] children = MediaNames.NETWORK_VIDEO_FILES; in testVideoPlayback() local
132 children = dir.list(); in testVideoPlayback()
134 if (children == null) { in testVideoPlayback()
138 for (int i = 0; i < children.length; i++) { in testVideoPlayback()
140 String filename = children[i]; in testVideoPlayback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java77 int children = getChildCount(); in onMeasure() local
78 int rows = (children + mNumColumns - 1) / mNumColumns; in onMeasure()
81 int endOfRow = Math.min(startOfRow + mNumColumns, children); in onMeasure()
107 int children = getChildCount(); in onLayout() local
108 int rows = (children + mNumColumns - 1) / mNumColumns; in onLayout()
114 int endOfRow = Math.min(startOfRow + mNumColumns, children); in onLayout()
/frameworks/base/tools/aapt2/
DXmlDom.cpp144 if (!currentParent->children.empty()) { in characterDataHandler()
145 Node* lastChild = currentParent->children.back().get(); in characterDataHandler()
323 children.push_back(std::move(child)); in addChild()
336 for (auto& child : children) { in clone()
353 for (auto& child : children) { in clone()
374 for (auto& childNode : children) { in findChildWithAttribute()
377 if (child->children.empty()) { in findChildWithAttribute()
380 child = child->children[0].get(); in findChildWithAttribute()
402 for (auto& childNode : children) { in getChildElements()
405 if (child->children.empty()) { in getChildElements()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java72 List<DataBindingItem> children = dataBindingItem.getChildren(); in createItems() local
76 if (children.size() > 0) { in createItems()
88 if (children.size() > 0) { in createItems()
105 List<AdapterItem> children = item.getChildren(); in getChildItem() local
106 return children.get(childPosition); in getChildItem()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
Dtransform.rs93 if (data->children.p) {
94 … rsForEach(transformScript, data->children, data->children, (void*)&toChild, sizeof(toChild));
Dscenegraph.rs63 rsForEach(gTransformRS, gRootNode->children, gRootNode->children);
/frameworks/base/libs/hwui/
DRenderNode.cpp49 for (size_t i = 0; i < mDisplayListData->children().size(); i++) { in debugDumpLayers()
50 mDisplayListData->children()[i]->mRenderNode->debugDumpLayers(prefix); in debugDumpLayers()
301 for (size_t i = 0; i < mStagingDisplayListData->children().size(); i++) { in pushStagingDisplayListChanges()
302 mStagingDisplayListData->children()[i]->mRenderNode->incParentRefCount(); in pushStagingDisplayListChanges()
326 for (size_t i = 0; i < mDisplayListData->children().size(); i++) { in deleteDisplayListData()
327 mDisplayListData->children()[i]->mRenderNode->decParentRefCount(); in deleteDisplayListData()
345 for (size_t i = 0; i < subtree->children().size(); i++) { in prepareSubTree()
346 DrawRenderNodeOp* op = subtree->children()[i]; in prepareSubTree()
364 for (size_t i = 0; i < mDisplayListData->children().size(); i++) { in destroyHardwareResources()
365 mDisplayListData->children()[i]->mRenderNode->destroyHardwareResources(); in destroyHardwareResources()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DArgListExpr.java33 public ArgListExpr(int id, Iterable<Expr> children) { in ArgListExpr() argument
34 super(children); in ArgListExpr()
/frameworks/base/test-runner/src/android/test/
DTestRunner.java286 String[] children = getChildren(method); in run() local
287 run(children); in run()
564 String[] children = getChildren(m); in getChildren() local
566 String[] allChildren = new String[testChildren.length + children.length]; in getChildren()
567 System.arraycopy(children, 0, allChildren, 0, children.length); in getChildren()
568 … System.arraycopy(testChildren, 0, allChildren, children.length, testChildren.length); in getChildren()
571 return children; in getChildren()
692 String[] children = getChildren(method); in countTests() local
694 for (String child : children) { in countTests()
/frameworks/base/services/core/java/com/android/server/firewall/
DFilterList.java27 protected final ArrayList<Filter> children = new ArrayList<Filter>(); field in FilterList
39 children.add(filter); in readChild()
DOrFilter.java30 for (int i=0; i<children.size(); i++) { in matches()
31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid, in matches()
DAndFilter.java30 for (int i=0; i<children.size(); i++) { in matches()
31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid, in matches()
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlinear.jd21 <p>{@link android.widget.LinearLayout} is a view group that aligns all children in a single
28 <p>All children of a {@link android.widget.LinearLayout} are
32 android.widget.LinearLayout LinearLayout} respects <em>margin</em>s between children
40 <h3>Equally weighted children</h3>
57 <em>weight</em> to individual children with the <a
64 assigned to children in the proportion of their declared weight. Default
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
DBrowserListFragment.java133 List<MediaBrowser.MediaItem> children) {
135 + " children= " + children);
137 final int N = children.size();
139 mItems.add(new Item(children.get(i)));
/frameworks/base/core/java/android/content/
DUriMatcher.java180 ArrayList<UriMatcher> children = node.mChildren; in addURI()
181 int numChildren = children.size(); in addURI()
185 child = children.get(j); in addURI()
/frameworks/base/core/java/android/view/animation/
DAnimationSet.java440 final ArrayList<Animation> children = mAnimations; in initialize() local
441 final int count = children.size(); in initialize()
461 Animation a = children.get(i); in initialize()
499 final ArrayList<Animation> children = mAnimations; in restoreChildrenStartOffset()
500 final int count = children.size(); in restoreChildrenStartOffset()
503 children.get(i).setStartOffset(offsets[i]); in restoreChildrenStartOffset()

12345