Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DSimpleNode.java7 protected Node[] children; field in SimpleNode
30 if (children == null) { in jjtAddChild()
31 children = new Node[i + 1]; in jjtAddChild()
32 } else if (i >= children.length) { in jjtAddChild()
34 System.arraycopy(children, 0, c, 0, children.length); in jjtAddChild()
35 children = c; in jjtAddChild()
37 children[i] = n; in jjtAddChild()
41 return children[i]; in jjtGetChild()
45 return (children == null) ? 0 : children.length; in jjtGetNumChildren()
55 if (children != null) { in childrenAccept()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java41 public ArrayList<Node> children; field in ProfileData.Node
82 if (node.children == null) { in addSample()
83 node.children = new ArrayList<Node>(); in addSample()
87 ArrayList<Node> children = node.children; in addSample() local
89 for (j = 0; j < children.size(); j++) { in addSample()
90 if (children.get(j).id == id) break; in addSample()
92 if (j == children.size()) { in addSample()
93 children.add(new Node(node, id)); in addSample()
96 node = children.get(j); in addSample()
145 ArrayList<Node> children = node.children; in writeAllStacks() local
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java173 List<DocumentInfo> children = listChildren(parentUri); in assertChildCount() local
174 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount()
178 List<DocumentInfo> children = listChildren(parentId, -1); in assertChildCount() local
179 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount()
187 List<DocumentInfo> children = listChildren(parentUri); in assertHasFile() local
188 for (DocumentInfo child : children) { in assertHasFile()
193 fail("Could not find file named=" + name + " in children " + children); in assertHasFile()
206 List<DocumentInfo> children = listChildren(parentUri); in assertHasDirectory() local
207 for (DocumentInfo child : children) { in assertHasDirectory()
212 fail("Could not find name=" + name + " in children " + children); in assertHasDirectory()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DSimpleScrollAdapterTransform.java63 ArrayList<Animator> children = ((AnimatorSet) animator).getChildAnimations(); in applyTransformationRecursive() local
64 for (int i = children.size() - 1; i >= 0; i--) { in applyTransformationRecursive()
65 applyTransformationRecursive(distanceFromCenter, children.get(i), child); in applyTransformationRecursive()
85 ArrayList<Animator> children = ((AnimatorSet) animator).getChildAnimations(); in initializeTransformationRecursive() local
86 for (int i = children.size() - 1; i >= 0; i--) { in initializeTransformationRecursive()
87 initializeTransformationRecursive(children.get(i), duration); in initializeTransformationRecursive()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaItem.java99 List<TmaMediaItem> children, String include) { in TmaMediaItem() argument
105 mChildren = Collections.unmodifiableList(children); in TmaMediaItem()
108 List<TmaMediaItem> playableChildren = new ArrayList<>(children.size()); in TmaMediaItem()
158 TmaMediaItem append(List<TmaMediaItem> children) { in append() argument
159 List<TmaMediaItem> allChildren = new ArrayList<>(mChildren.size() + children.size()); in append()
161 allChildren.addAll(children); in append()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DDumpTargetWrapper.java38 ArrayList<DumpTargetWrapper> children; field in DumpTargetWrapper
41 children = new ArrayList<>(); in DumpTargetWrapper()
59 children.add(child); in add()
65 if (!children.isEmpty()) { in getFlattenedList()
66 for(DumpTargetWrapper t: children) { in getFlattenedList()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java97 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()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileManagementUiTest.java177 List<DocumentInfo> children = mDocsHelper.listChildren(target, -1); in testCopyLargeAmountOfFiles()
178 if (children.size() == expectedCount) { in testCopyLargeAmountOfFiles()
197 if (newChildren.size() <= children.size()) { in testCopyLargeAmountOfFiles()
198 fail("Only copied " + children.size() in testCopyLargeAmountOfFiles()
202 children = newChildren; in testCopyLargeAmountOfFiles()
DFileCopyUiTest.java207 List<DocumentInfo> children = helper.listChildren(parent.documentId, TARGET_COUNT); in createDocuments() local
208 for (DocumentInfo docInfo : children) { in createDocuments()
366 List<DocumentInfo> children = helper.listChildren(parent.documentId, TARGET_COUNT); in assertFilesCopied() local
367 for (DocumentInfo info : children) { in assertFilesCopied()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DBrowsedMediaItems.java149 @NonNull List<MediaBrowserCompat.MediaItem> children) { in onChildrenLoaded() argument
152 setValue(children.stream() in onChildrenLoaded()
159 @NonNull List<MediaBrowserCompat.MediaItem> children, in onChildrenLoaded() argument
161 onChildrenLoaded(parentId, children); in onChildrenLoaded()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java102 public List<Box> children; field in IsoInterface.Box
178 box.children = new ArrayList<>(); in parseNextBox()
182 box.children.add(child); in parseNextBox()
216 if (box.children != null) { in IsoInterface()
217 queue.addAll(box.children); in IsoInterface()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaItemReader.java105 JSONArray children = getArray(json, Keys.CHILDREN); in fromJson() local
106 int childrenCount = (children != null) ? children.length() : 0; in fromJson()
109 mediaItems.add(fromJson(children.getJSONObject(i))); in fromJson()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java256 for (BluetoothMapAccountItem children : childItem) { in getGroupView()
257 boolean oldIsChecked = children.mIsChecked; in getGroupView()
259 children.mIsChecked = isChecked; in getGroupView()
260 if (oldIsChecked != children.mIsChecked) { in getGroupView()
261 updateAccount(children); in getGroupView()
DBluetoothMapAccountLoader.java159 ArrayList<BluetoothMapAccountItem> children = new ArrayList<BluetoothMapAccountItem>(); in parseAccounts() local
185 return children; in parseAccounts()
228 children.add(child); in parseAccounts()
236 return children; in parseAccounts()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DLauncherLayoutBuilder.java108 ArrayList<Pair<String, HashMap<String, Object>>> children = null; in writeNodes() local
113 children = (ArrayList<Pair<String, HashMap<String, Object>>>) attr.getValue(); in writeNodes()
119 if (children != null) { in writeNodes()
120 writeNodes(serializer, children); in writeNodes()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java52 final File[] children = dir.listFiles(); in listFilesRecursive() local
53 if (children == null) continue; in listFilesRecursive()
55 for (File child : children) { in listFilesRecursive()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DMultiDiscovery.java118 List<Discovery> children = new ArrayList<>(); in getChildren() local
120 children.addAll(child.getChildren()); in getChildren()
122 return children; in getChildren()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java81 List<View> children = new ArrayList<View>(); in reverseChildren() local
83 children.add(getChildAt(i)); in reverseChildren()
85 for (View v : children) { in reverseChildren()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsedPlayerWrapper.java252 public void onChildrenLoaded(String parentId, List<MediaItem> children) { in onChildrenLoaded() argument
254 Log.d(TAG, "onChildrenLoaded: mediaId=" + parentId + " size= " + children.size()); in onChildrenLoaded()
269 for (MediaItem item : children) { in onChildrenLoaded()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java190 @Nullable List<MediaItemMetadata> children) {
192 if (children == null) {
196 submitList(generateViewData(children));
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DInspectorBot.java65 int children = table.getChildCount(); in getTableRows() local
66 for (int i = 0; i < children; i++) { in getTableRows()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DRuntimeDataSupplier.java93 Uri children = DocumentsContract.buildChildDocumentsUri( in loadDirCount() local
105 mDirCallbacks = new Callbacks(mContext, children, callback); in loadDirCount()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java515 final File[] children = file.listFiles(); in recursiveDelete() local
516 for (final File child : children) { in recursiveDelete()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DCallStateLiveData.java84 public void onChildrenChanged(Call telecomCall, List<Call> children) {
DCallDetailLiveData.java86 public void onChildrenChanged(Call telecomCall, List<Call> children) {

12