/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | WrapContentBasicTest.java | 86 View[] children = createMockChildren(3); 88 verify(mLayoutManager).setMeasuredDimension(children[0].getWidth(), 89 children[0].getHeight()); 95 View[] children = createMockChildren(3); 98 verify(mLayoutManager).setMeasuredDimension(children[0].getWidth(), 111); 104 View[] children = createMockChildren(3); 107 verify(mLayoutManager).setMeasuredDimension(111, children[0].getHeight()); 113 View[] children = createMockChildren(3); 114 children[0].layout(0, 0, 100, 100); 115 children[ [all...] |
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
H A D | IndentingPrintWriterBenchmark.java | 101 public ArrayList<Node> children; field in class:IndentingPrintWriterBenchmark.Node 105 public static Node build(String name, Node... children) { argument 108 if (children != null && children.length > 0) { 109 node.children = Lists.newArrayList(children); 129 if (children != null) { 130 for (Node child : children) { 141 if (children != null) { 143 for (Node child : children) { [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | LockGuard.java | 67 public ArraySet<Object> children = new ArraySet<>(0, true); field in class:LockGuard.LockInfo 93 for (int i = 0; i < info.children.size(); i++) { 94 final Object child = info.children.valueAt(i); 113 sKnown.valueAt(i).children.add(lock); 143 for (int j = 0; j < info.children.size(); j++) { 144 pw.println(" Child " + lockToString(info.children.valueAt(j)));
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | AndFilter.java | 30 for (int i=0; i<children.size(); i++) { 31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
|
H A D | FilterList.java | 27 protected final ArrayList<Filter> children = new ArrayList<Filter>(); field in class:FilterList 39 children.add(filter);
|
H A D | OrFilter.java | 30 for (int i=0; i<children.size(); i++) { 31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | ArgListExpr.java | 34 public ArgListExpr(int id, Iterable<Expr> children) { argument 35 super(children);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
H A D | DocumentsProviderHelper.java | 155 List<DocumentInfo> children = listChildren(parentUri); 156 assertEquals("Incorrect file count after copy", expected, children.size()); 160 List<DocumentInfo> children = listChildren(parentId); 161 assertEquals("Incorrect file count after copy", expected, children.size()); 169 List<DocumentInfo> children = listChildren(parentUri); 170 for (DocumentInfo child : children) { 175 fail("Could not find file named=" + name + " in children " + children); 188 List<DocumentInfo> children = listChildren(parentUri); 189 for (DocumentInfo child : children) { [all...] |
/frameworks/base/sax/java/android/sax/ |
H A D | Children.java | 20 * 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 D | Element.java | 37 Children children; field in class:Element 67 + " text element listener. It cannot have children."); 70 if (children == null) { 71 children = new Children(); 74 return children.getOrCreate(this, uri, localName); 156 if (children != null) { 157 throw new IllegalStateException("This element already has children." 174 * Clears flags on required children.
|
H A D | RootElement.java | 130 Children children = current.children; 131 if (children != null) { 132 Element child = children.get(uri, localName);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayList.cpp | 40 , children(stdAllocator) 90 size_t index = children.size(); 91 children.push_back(op);
|
/frameworks/support/media-compat/api24/android/support/v4/media/ |
H A D | MediaBrowserCompatApi24.java | 43 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options); argument 55 List<MediaBrowser.MediaItem> children, @NonNull Bundle options) { 56 mSubscriptionCallback.onChildrenLoaded(parentId, children, options); 54 onChildrenLoaded(@onNull String parentId, List<MediaBrowser.MediaItem> children, @NonNull Bundle options) argument
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 101 // children: 109 List<sp<WebmElement> >& children) { 110 CHECK(!frames.empty() && children.empty()); 115 children.clear(); 116 children.push_back(clusterTimecode); 119 void WebmFrameSinkThread::writeCluster(List<sp<WebmElement> >& children) { argument 120 // children must contain at least one simpleblock and its timecode 121 CHECK_GE(children.size(), 2); 124 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children); 126 children 106 initCluster( List<const sp<WebmFrame> >& frames, uint64_t& clusterTimecodeL, List<sp<WebmElement> >& children) argument 139 List<sp<WebmElement> > children; local [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | SPVerifier.java | 94 Iterator<Asn1Object> children = sequence.getChildren().iterator(); 97 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); 115 if (children.hasNext()) { 117 castObject(children.next(), Asn1Constructed.class).getChildren().iterator(); 196 Iterator<Asn1Object> children = sequence.getChildren().iterator(); 197 mJCEName = OidMappings.getJCEName(getFirstInner(children.next(), Asn1Oid.class)); 198 mHash = castObject(children.next(), Asn1Octets.class).getOctets(); 236 Iterator<Asn1Object> children = container.getChildren().iterator(); 237 if (!children.hasNext()) { 240 return castObject(children [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | MOTree.java | 31 Iterator<XMLNode> children = node.getChildren().iterator(); 35 while (children.hasNext()) { 36 XMLNode child = children.next(); 39 children.remove(); 124 List<XMLNode> children = new ArrayList<>(); 145 if (!children.isEmpty()) 167 children.add(child); 180 for (XMLNode child : children) { 184 if (!children.isEmpty())
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | MOTree.java | 28 Iterator<XMLNode> children = node.getChildren().iterator(); 32 while (children.hasNext()) { 33 XMLNode child = children.next(); 36 children.remove(); 128 List<XMLNode> children = new ArrayList<>(); 149 if (!children.isEmpty()) 171 children.add(child); 184 for (XMLNode child : children) { 188 if (!children.isEmpty())
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupManager.java | 99 group.children.remove(removed); 104 if (group.children.isEmpty()) { 121 group.children.add(added); 127 if (!group.children.isEmpty()) { 129 (HashSet<NotificationData.Entry>) group.children.clone(); 150 && (group.children.size() == 1 151 || (group.children.size() == 0 232 int realChildren = group != null ? group.children.size() : 0; 276 if (group.children.isEmpty()) { 286 * @return whether a given notification is a summary in a group which has children 462 public final HashSet<NotificationData.Entry> children = new HashSet<>(); field in class:NotificationGroupManager.NotificationGroup [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaPlayerStressTest.java | 129 String[] children = MediaNames.NETWORK_VIDEO_FILES; 132 children = dir.list(); 134 if (children == null) { 138 for (int i = 0; i < children.length; i++) { 140 String filename = children[i];
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 68 * (called children.) The view group is the base class for layouts and views 86 * children in left and right gutters.</p> 129 * Listener used to propagate events indicating when children are added 140 * A Transformation used when drawing children, to 192 // The hover targets are children which have received ACTION_HOVER_ENTER. 265 // the children's Bitmap caches if necessary 278 * When set, this ViewGroup supports static transformations on children; this causes 294 * of its children. 305 * When set, this group will go through its list of children to notify them of 348 * to children whe 3051 getAndVerifyPreorderedView(ArrayList<View> preorderedList, View[] children, int childIndex) argument [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | BrowseFragment.java | 47 * Once connected, the fragment subscribes to get all the children. All 63 // The mediaId to be used for subscribing for children using the MediaBrowser. 74 public void onChildrenLoaded(String parentId, List<MediaBrowserCompat.MediaItem> children, 78 if (page < 0 || pageSize != PAGE_SIZE || children == null 79 || children.size() > PAGE_SIZE) { 85 if (children.size() == 0) { 89 mMediaItems.addAll(children); 92 for (MediaBrowserCompat.MediaItem item : children) { 103 if (children.size() < PAGE_SIZE) { 114 public void onChildrenLoaded(String parentId, List<MediaBrowserCompat.MediaItem> children) { [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | BrowseFragment.java | 47 * Once connected, the fragment subscribes to get all the children. All 63 // The mediaId to be used for subscribing for children using the MediaBrowser. 74 public void onChildrenLoaded(String parentId, List<MediaBrowserCompat.MediaItem> children, 78 if (page < 0 || pageSize != PAGE_SIZE || children == null 79 || children.size() > PAGE_SIZE) { 85 if (children.size() == 0) { 89 mMediaItems.addAll(children); 92 for (MediaBrowserCompat.MediaItem item : children) { 103 if (children.size() < PAGE_SIZE) { 114 public void onChildrenLoaded(String parentId, List<MediaBrowserCompat.MediaItem> children) { [all...] |
/frameworks/support/media-compat/api21/android/support/v4/media/ |
H A D | MediaBrowserCompatApi21.java | 116 void onChildrenLoaded(@NonNull String parentId, List<?> children); argument 130 List<MediaBrowser.MediaItem> children) { 131 mSubscriptionCallback.onChildrenLoaded(parentId, children); 129 onChildrenLoaded(@onNull String parentId, List<MediaBrowser.MediaItem> children) argument
|
/frameworks/minikin/tests/ |
H A D | FontTestUtils.cpp | 32 for (xmlNode* familyNode = familySet->children; familyNode; familyNode = familyNode->next) { 53 for (xmlNode* fontNode = familyNode->children; fontNode; fontNode = fontNode->next) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PseudoGridView.java | 32 * A view that arranges it's children in a grid with a fixed number of evenly spaced columns. 77 int children = getChildCount(); 78 int rows = (children + mNumColumns - 1) / mNumColumns; 81 int endOfRow = Math.min(startOfRow + mNumColumns, children); 107 int children = getChildCount(); 108 int rows = (children + mNumColumns - 1) / mNumColumns; 114 int endOfRow = Math.min(startOfRow + mNumColumns, children); 142 * After this call, the ViewGroup's children will be provided by the adapter.
|