/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | Snackbars.java | 37 public static final void showDocumentsClipped(Activity activity, int docCount) { in showDocumentsClipped() argument 39 activity, R.plurals.clipboard_files_clipped, docCount); in showDocumentsClipped() 43 public static final void showMove(Activity activity, int docCount) { in showMove() argument 44 CharSequence message = Shared.getQuantityString(activity, R.plurals.move_begin, docCount); in showMove() 48 public static final void showCopy(Activity activity, int docCount) { in showCopy() argument 49 CharSequence message = Shared.getQuantityString(activity, R.plurals.copy_begin, docCount); in showCopy() 53 public static final void showCompress(Activity activity, int docCount) { in showCompress() argument 54 … CharSequence message = Shared.getQuantityString(activity, R.plurals.compress_begin, docCount); in showCompress() 58 public static final void showExtract(Activity activity, int docCount) { in showExtract() argument 59 … CharSequence message = Shared.getQuantityString(activity, R.plurals.extract_begin, docCount); in showExtract() [all …]
|
D | DialogController.java | 37 void showFileOperationStatus(int status, int opType, int docCount); in showFileOperationStatus() argument 72 public void showFileOperationStatus(@Status int status, @OpType int opType, int docCount) { in showFileOperationStatus() argument 82 if (docCount == 0) { in showFileOperationStatus() 95 Snackbars.showMove(mActivity, docCount); in showFileOperationStatus() 98 Snackbars.showCopy(mActivity, docCount); in showFileOperationStatus() 101 Snackbars.showCompress(mActivity, docCount); in showFileOperationStatus() 104 Snackbars.showExtract(mActivity, docCount); in showFileOperationStatus() 107 Snackbars.showDelete(mActivity, docCount); in showFileOperationStatus()
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerUserInstanceTest.java | 354 int docCount = 500; in testUpdate() local 357 createFakePackageInfos(docCount), in testUpdate() 358 createFakeResolveInfos(docCount)); in testUpdate() 359 CountDownLatch latch = setupLatch(docCount); in testUpdate() 366 assertThat(appIds.size()).isEqualTo(docCount); in testUpdate() 371 int docCount = 10; in testUpdate_setsLastAppUpdatedTimestamp() local 374 createFakePackageInfos(docCount), in testUpdate_setsLastAppUpdatedTimestamp() 375 createFakeResolveInfos(docCount)); in testUpdate_setsLastAppUpdatedTimestamp() 453 int docCount = 100; in testStart_initialRun_schedulesUpdateJob() local 457 createFakePackageInfos(docCount), in testStart_initialRun_schedulesUpdateJob() [all …]
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | ContactsIndexerUserInstanceTest.java | 144 int docCount = 2; in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local 148 for (int j = 0; j < docCount; j++) { in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() 158 int docCount = 2; in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local 162 for (int j = 0; j < docCount; j++) { in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() 189 int docCount = 10; in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun() local 194 for (int j = 0; j < docCount; j++) { in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun() 203 for (int j = 0; j < docCount; j++) { in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun() 247 int docCount = 100; in testStart_initialRun_schedulesFullUpdateJob() local 248 CountDownLatch latch = new CountDownLatch(docCount); in testStart_initialRun_schedulesFullUpdateJob() 271 for (int i = 0; i < docCount; i++) { in testStart_initialRun_schedulesFullUpdateJob() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | RuntimeDocumentClipper.java | 167 int docCount = 0; in createJumboClipData() local 169 if (docCount++ < Shared.MAX_DOCS_IN_INTENT) { in createJumboClipData()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/ |
D | TestDialogController.java | 43 public void showFileOperationStatus(int status, int opType, int docCount) { in showFileOperationStatus() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperations.java | 146 void onOperationResult(@Status int status, @OpType int opType, int docCount); in onOperationResult() argument
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 89 @FileOperationService.OpType int opType, int docCount) {
|