/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | SimpleNode.java | 7 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/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 161 List<DocumentInfo> children = listChildren(parentUri); in assertChildCount() local 162 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount() 166 List<DocumentInfo> children = listChildren(parentId, -1); in assertChildCount() local 167 assertEquals("Incorrect file count after copy", expected, children.size()); in assertChildCount() 175 List<DocumentInfo> children = listChildren(parentUri); in assertHasFile() local 176 for (DocumentInfo child : children) { in assertHasFile() 181 fail("Could not find file named=" + name + " in children " + children); in assertHasFile() 194 List<DocumentInfo> children = listChildren(parentUri); in assertHasDirectory() local 195 for (DocumentInfo child : children) { in assertHasDirectory() 200 fail("Could not find name=" + name + " in children " + children); in assertHasDirectory() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ProfileData.java | 41 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/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | BrowsedMediaPlayer.java | 134 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { 135 if (DEBUG) Log.d(TAG, "OnChildren Loaded folder items: childrens= " + children.size()); 143 mFolderItems = children; 145 (byte)0x00, children.size(), ROOT_FOLDER); 147 mFolderItems = children; 176 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { in onChildrenLoaded() argument 181 if (children == null) { in onChildrenLoaded() 185 for (MediaBrowser.MediaItem item : children) { in onChildrenLoaded() 534 byte[] bdaddr, List<MediaBrowser.MediaItem> children, long startItem, long endItem) { in checkIndexOutofBounds() argument 535 if (endItem >= children.size()) endItem = children.size() - 1; in checkIndexOutofBounds() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | SimpleScrollAdapterTransform.java | 63 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/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()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | DumpTargetWrapper.java | 38 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/tests/functional/com/android/documentsui/ |
D | FileManagementUiTest.java | 172 List<DocumentInfo> children = mDocsHelper.listChildren(target, -1); in testCopyLargeAmountOfFiles() 173 if (children.size() == expectedCount) { in testCopyLargeAmountOfFiles() 192 if (newChildren.size() <= children.size()) { in testCopyLargeAmountOfFiles() 193 fail("Only copied " + children.size() in testCopyLargeAmountOfFiles() 197 children = newChildren; in testCopyLargeAmountOfFiles()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | BrowseTree.java | 186 synchronized <E> void refreshChildren(String parentID, List<E> children) { in refreshChildren() argument 192 refreshChildren(parent, children); in refreshChildren() 195 synchronized <E> void refreshChildren(BrowseNode parent, List<E> children) { in refreshChildren() argument 196 if (children == null) { in refreshChildren() 202 for (E child : children) { in refreshChildren()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSettingsAdapter.java | 256 for (BluetoothMapAccountItem children : childItem) in getGroupView() 258 boolean oldIsChecked = children.mIsChecked; in getGroupView() 260 children.mIsChecked = isChecked; in getGroupView() 261 if(oldIsChecked != children.mIsChecked){ in getGroupView() 262 updateAccount(children); in getGroupView()
|
D | BluetoothMapAccountLoader.java | 155 ArrayList<BluetoothMapAccountItem> children = new ArrayList<BluetoothMapAccountItem>(); in parseAccounts() local 179 return children; in parseAccounts() 223 children.add(child); in parseAccounts() 229 return children; in parseAccounts()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | StorageUtils.java | 52 final File[] children = dir.listFiles(); in listFilesRecursive() local 53 if (children == null) continue; in listFilesRecursive() 55 for (File child : children) { in listFilesRecursive()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TopRightWeightedLayout.java | 81 List<View> children = new ArrayList<View>(); in reverseChildren() local 83 children.add(getChildAt(i)); in reverseChildren() 85 for (View v : children) { in reverseChildren()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | EntityDiff.java | 139 final ArrayList<NamedContentValues> children = entity.getSubValues(); in buildChildrenMap() local 141 children.size()); in buildChildrenMap() 142 for (NamedContentValues child : children) { in buildChildrenMap()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | InspectorBot.java | 53 int children = detailsView.getChildCount(); in isRowPresent() local 54 for (int i = 0; i < children; i++) { in isRowPresent()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Folder.java | 355 ArrayList<ShortcutInfo> children = info.contents; in bind() local 357 setupContentForNumItems(children.size()); in bind() 358 placeInReadingOrder(children); in bind() 360 for (int i = 0; i < children.size(); i++) { in bind() 361 ShortcutInfo child = (ShortcutInfo) children.get(i); in bind()
|
D | FocusHelper.java | 535 final ShortcutAndWidgetContainer children = layout.getShortcutsAndWidgets(); in handleHotseatButtonKeyEvent() local 536 final View newIcon = getIconInDirection(layout, children, -1, 1); in handleHotseatButtonKeyEvent()
|
/packages/apps/Car/Media/src/com/android/car/media/drawer/ |
D | MediaBrowserItemsFetcher.java | 90 public void onChildrenLoaded(String parentId, List<MediaBrowser.MediaItem> children) { 92 mItems.addAll(children);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | DocumentLoader.java | 93 Uri children = DocumentsContract.buildChildDocumentsUri( in loadDirCount() local 110 mDirCallbacks = new Callbacks(mContext, children, callback); in loadDirCount()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | EmlAttachmentProvider.java | 515 final File[] children = file.listFiles(); in recursiveDelete() local 516 for (final File child : children) { in recursiveDelete()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 116 final boolean isPossiblyOffensive, final PtNodeArray children) { in PtNode() argument 120 mChildren = children; in PtNode()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 432 ArrayList<ShortcutInfo> children = info.contents; in bind() local 433 Collections.sort(children, ITEM_POS_COMPARATOR); in bind() 435 ArrayList<ShortcutInfo> overflow = mContent.bindItems(children); in bind()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageHeaderView.java | 583 private static void setChildVisibility(int visibility, View... children) { in setChildVisibility() argument 584 for (View v : children) { in setChildVisibility()
|
/packages/apps/UnifiedEmail/assets/ |
D | script.js | 774 var body = msg.children[0]; // toss the outer div, it was just to render innerHTML into
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | UiCallManager.java | 665 public void onChildrenChanged(Call telecomCall, List<Call> children) {
|