/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | WrapContentBasicTest.java | 100 View[] children = createMockChildren(3); in setDimensionsFromChildren() local 102 verify(mLayoutManager).setMeasuredDimension(children[0].getWidth(), in setDimensionsFromChildren() 103 children[0].getHeight()); in setDimensionsFromChildren() 109 View[] children = createMockChildren(3); in setDimensionsFromChildrenAnsSpec1() local 112 verify(mLayoutManager).setMeasuredDimension(children[0].getWidth(), 111); in setDimensionsFromChildrenAnsSpec1() 118 View[] children = createMockChildren(3); in setDimensionsFromChildrenAnsSpec2() local 121 verify(mLayoutManager).setMeasuredDimension(111, children[0].getHeight()); in setDimensionsFromChildrenAnsSpec2() 127 View[] children = createMockChildren(3); in setDimensionsFromChildrenAnsSpec3() local 128 children[0].layout(0, 0, 100, 100); in setDimensionsFromChildrenAnsSpec3() 129 children[1].layout(-5, 0, 100, 100); in setDimensionsFromChildrenAnsSpec3() [all …]
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 155 List<DocumentInfo> children = listChildren(parentUri); in assertChildCount() local 156 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount() 160 List<DocumentInfo> children = listChildren(parentId); in assertChildCount() local 161 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount() 169 List<DocumentInfo> children = listChildren(parentUri); in assertHasFile() local 170 for (DocumentInfo child : children) { in assertHasFile() 175 fail("Could not find file named=" + name + " in children " + children); in assertHasFile() 188 List<DocumentInfo> children = listChildren(parentUri); in assertHasDirectory() local 189 for (DocumentInfo child : children) { in assertHasDirectory() 194 fail("Could not find name=" + name + " in children " + children); in assertHasDirectory() [all …]
|
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
D | IndentingPrintWriterBenchmark.java | 101 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/ |
D | WebmFrameThread.cpp | 109 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 …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | SPVerifier.java | 94 Iterator<Asn1Object> children = sequence.getChildren().iterator(); in LogoTypeImage() local 97 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); in LogoTypeImage() 115 if (children.hasNext()) { in LogoTypeImage() 117 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); in LogoTypeImage() 196 Iterator<Asn1Object> children = sequence.getChildren().iterator(); in HashAlgAndValue() local 197 mJCEName = OidMappings.getJCEName(getFirstInner(children.next(), Asn1Oid.class)); in HashAlgAndValue() 198 mHash = castObject(children.next(), Asn1Octets.class).getOctets(); in HashAlgAndValue() 236 Iterator<Asn1Object> children = container.getChildren().iterator(); in getFirstInner() local 237 if (!children.hasNext()) { in getFirstInner() 240 return castObject(children.next(), klass); in getFirstInner() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 1068 final View[] children = mChildren; in hasFocusable() local 1071 final View child = children[i]; in hasFocusable() 1093 final View[] children = mChildren; in addFocusables() local 1096 final View child = children[i]; in addFocusables() 1155 final View[] children = mChildren; in findViewsWithText() local 1157 View child = children[i]; in findViewsWithText() 1178 final View[] children = mChildren; in findViewByAccessibilityIdTraversal() local 1180 View child = children[i]; in findViewByAccessibilityIdTraversal() 1194 final View[] children = mChildren; in dispatchWindowFocusChanged() local 1196 children[i].dispatchWindowFocusChanged(hasFocus); in dispatchWindowFocusChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockGuard.java | 67 public ArraySet<Object> children = new ArraySet<>(0, true); field in LockGuard.LockInfo 93 for (int i = 0; i < info.children.size(); i++) { in guard() 94 final Object child = info.children.valueAt(i); in guard() 113 sKnown.valueAt(i).children.add(lock); in guard() 143 for (int j = 0; j < info.children.size(); j++) { in dump() 144 pw.println(" Child " + lockToString(info.children.valueAt(j))); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupManager.java | 98 group.children.remove(removed); in onEntryRemovedInternal() 103 if (group.children.isEmpty()) { in onEntryRemovedInternal() 120 group.children.add(added); in onEntryAdded() 126 if (!group.children.isEmpty()) { in onEntryAdded() 128 (HashSet<NotificationData.Entry>) group.children.clone(); in onEntryAdded() 158 && (group.children.size() == 1 in updateSuppression() 159 || (group.children.size() == 0 in updateSuppression() 233 int realChildren = group != null ? group.children.size() : 0; in getTotalNumberOfChildren() 277 if (group.children.isEmpty()) { in isChildInGroupWithSummary() 297 return !group.children.isEmpty(); in isSummaryOfGroup() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | MOTree.java | 28 Iterator<XMLNode> children = node.getChildren().iterator(); in MOTree() local 32 while (children.hasNext()) { in MOTree() 33 XMLNode child = children.next(); in MOTree() 36 children.remove(); in MOTree() 128 List<XMLNode> children = new ArrayList<>(); in buildNode() local 149 if (!children.isEmpty()) in buildNode() 171 children.add(child); in buildNode() 184 for (XMLNode child : children) { in buildNode() 188 if (!children.isEmpty()) in buildNode()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | MOTree.java | 31 Iterator<XMLNode> children = node.getChildren().iterator(); in MOTree() local 35 while (children.hasNext()) { in MOTree() 36 XMLNode child = children.next(); in MOTree() 39 children.remove(); in MOTree() 124 List<XMLNode> children = new ArrayList<>(); in buildNode() local 145 if (!children.isEmpty()) in buildNode() 167 children.add(child); in buildNode() 180 for (XMLNode child : children) { in buildNode() 184 if (!children.isEmpty()) in buildNode()
|
/frameworks/base/sax/java/android/sax/ |
D | Element.java | 37 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()
|
D | Children.java | 25 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()
|
D | RootElement.java | 130 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/ |
D | MediaPlayerStressTest.java | 129 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/ |
D | PseudoGridView.java | 77 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/xml/ |
D | XmlDom.cpp | 144 if (!currentParent->children.empty()) { in characterDataHandler() 145 Node* lastChild = currentParent->children.back().get(); in characterDataHandler() 336 if (node->children.empty()) { in findRootElement() 340 node = node->children.front().get(); in findRootElement() 347 children.push_back(std::move(child)); in addChild() 366 for (auto& childNode : children) { in findChildWithAttribute() 369 if (child->children.empty()) { in findChildWithAttribute() 372 child = child->children[0].get(); in findChildWithAttribute() 393 for (auto& childNode : children) { in getChildElements() 396 if (child->children.empty()) { in getChildElements() [all …]
|
/frameworks/base/libs/hwui/ |
D | DisplayList.cpp | 40 , children(stdAllocator) in DisplayList() 90 size_t index = children.size(); in addChild() 91 children.push_back(op); in addChild()
|
/frameworks/support/v4/api24/android/support/v4/media/ |
D | MediaBrowserCompatApi24.java | 44 void onChildrenLoaded(@NonNull String parentId, List<Parcel> children, in onChildrenLoaded() argument 57 List<MediaBrowser.MediaItem> children, @NonNull Bundle options) { in onChildrenLoaded() argument 59 parentId, itemListToParcelList(children), options); in onChildrenLoaded()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeExpandableAdapter.java | 72 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/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 97 ArrayList<StubDocument> children = new ArrayList<StubDocument>(); in onCreate() local 98 mChildDocuments.put(STRESS_ROOT_1_DOC_ID, children); in onCreate() 102 children.add(document); in onCreate() 105 children = new ArrayList<StubDocument>(); in onCreate() 106 mChildDocuments.put(STRESS_ROOT_2_DOC_ID, children); in onCreate() 117 children.add(document); in onCreate()
|
/frameworks/base/test-runner/src/android/test/ |
D | TestRunner.java | 287 String[] children = getChildren(method); in run() local 288 run(children); in run() 565 String[] children = getChildren(m); in getChildren() local 567 String[] allChildren = new String[testChildren.length + children.length]; in getChildren() 568 System.arraycopy(children, 0, allChildren, 0, children.length); in getChildren() 569 … System.arraycopy(testChildren, 0, allChildren, children.length, testChildren.length); in getChildren() 572 return children; in getChildren() 693 String[] children = getChildren(method); in countTests() local 695 for (String child : children) { in countTests()
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | linear.jd | 21 <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/services/core/java/com/android/server/firewall/ |
D | FilterList.java | 27 protected final ArrayList<Filter> children = new ArrayList<Filter>(); field in FilterList 39 children.add(filter); in readChild()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | ArgListExpr.java | 34 public ArgListExpr(int id, Iterable<Expr> children) { in ArgListExpr() argument 35 super(children); in ArgListExpr()
|
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
D | BrowserListFragment.java | 133 List<MediaBrowser.MediaItem> children) { 135 + " children= " + children); 137 final int N = children.size(); 139 mItems.add(new Item(children.get(i)));
|