/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | MessageBuilder.java | 45 public String generateDeleteMessage(List<DocumentInfo> docs) { in generateDeleteMessage() argument 49 for (DocumentInfo doc : docs) { in generateDeleteMessage() 55 if (docs.size() == 1) { in generateDeleteMessage() 60 String displayName = BidiFormatter.getInstance().unicodeWrap(docs.get(0).displayName); in generateDeleteMessage() 69 R.plurals.delete_files_confirmation_message, docs.size()); in generateDeleteMessage() 70 } else if (dirsCount == docs.size()) { in generateDeleteMessage() 73 R.plurals.delete_folders_confirmation_message, docs.size()); in generateDeleteMessage() 77 R.plurals.delete_items_confirmation_message, docs.size()); in generateDeleteMessage() 83 @DialogType int dialogType, @OpType int operationType, List<DocumentInfo> docs, in generateListMessage() argument 119 for (DocumentInfo documentInfo : docs) { in generateListMessage() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | AbstractActionHandlerTest.java | 80 mEnv.docs, in setUp() 129 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 130 mEnv.docs.nextPath = new Path( in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 133 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 139 assertEquals(mEnv.docs.nextPath.getPath().size(), mEnv.state.stack.size()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 151 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport() 152 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport() 173 mEnv.docs.nextIsDocumentsUri = true; in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 174 mEnv.docs.nextPath = new Path( in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 178 mEnv.docs.nextDocuments = Arrays.asList( in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() [all …]
|
/packages/services/Car/car-lib/ |
D | Android.bp | 103 name: "android.car-docs-default", 140 name: "android.car-stubs-docs", 141 defaults: ["android.car-docs-default"], 143 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* ", 168 name: "android.car-system-stubs-docs", 169 defaults: ["android.car-docs-default"], 171 args: "--hide UnavailableSymbol --no-docs --stub-packages android.car* " + 197 name: "android.car-test-stubs-docs", 198 defaults: ["android.car-docs-default"], 199 … args: "--hide HiddenSuperclass --hide UnavailableSymbol --no-docs --stub-packages android.car* " + [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 104 DocumentsAccess docs, in ActionHandler() argument 113 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler() 313 public void deleteSelectedDocuments(List<DocumentInfo> docs, DocumentInfo srcParent) { in deleteSelectedDocuments() argument 314 if (docs == null || docs.isEmpty()) { in deleteSelectedDocuments() 320 List<Uri> uris = new ArrayList<>(docs.size()); in deleteSelectedDocuments() 321 for (DocumentInfo doc : docs) { in deleteSelectedDocuments() 363 List<DocumentInfo> docs = mModel.loadDocuments( in shareSelectedDocuments() local 368 if (docs.size() == 1) { in shareSelectedDocuments() 370 DocumentInfo doc = docs.get(0); in shareSelectedDocuments() 374 } else if (docs.size() > 1) { in shareSelectedDocuments() [all …]
|
D | DeleteDocumentFragment.java | 59 public static void show(FragmentManager fm, List<DocumentInfo> docs, DocumentInfo srcParent) { in show() argument 66 dialog.mDocuments = docs; in show()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentsProvider.java | 111 public void setNextChildDocumentsReturns(DocumentInfo... docs) { in setNextChildDocumentsReturns() argument 112 mNextChildDocuments = createDocumentsCursor(docs); in setNextChildDocumentsReturns() 115 public void setNextRecentDocumentsReturns(DocumentInfo... docs) { in setNextRecentDocumentsReturns() argument 116 mNextRecentDocuments = createDocumentsCursor(docs); in setNextRecentDocumentsReturns() 119 private Cursor createDocumentsCursor(DocumentInfo... docs) { in createDocumentsCursor() argument 121 for (DocumentInfo doc : docs) { in createDocumentsCursor()
|
D | DocumentStackAsserts.java | 18 public static void assertEqualsTo(DocumentStack stack, RootInfo root, List<DocumentInfo> docs) { in assertEqualsTo() argument 20 assertEquals(docs.size(), stack.size()); in assertEqualsTo() 21 for (int i = 0; i < docs.size(); ++i) { in assertEqualsTo() 22 assertEquals(docs.get(i), stack.get(i)); in assertEqualsTo()
|
D | DocsProviders.java | 28 public static UrisSupplier createDocsProvider(List<Uri> docs) { in createDocsProvider() argument 29 return new UrisSupplier.StandardUrisSupplier(docs); in createDocsProvider()
|
D | TestStableIdProvider.java | 27 public TestStableIdProvider(List<String> docs) { in TestStableIdProvider() argument 28 mDocs = docs; in TestStableIdProvider()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentStack.java | 68 public DocumentStack(RootInfo root, DocumentInfo... docs) { in DocumentStack() argument 70 for (int i = 0; i < docs.length; ++i) { in DocumentStack() 71 mList.add(docs[i]); in DocumentStack() 81 public DocumentStack(RootInfo root, List<DocumentInfo> docs) { in DocumentStack() argument 82 mList = new LinkedList<>(docs); in DocumentStack() 90 public DocumentStack(DocumentStack src, DocumentInfo... docs) { in DocumentStack() argument 92 for (DocumentInfo doc : docs) { in DocumentStack()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | LoadDocStackTask.java | 56 DocumentsAccess docs, in LoadDocStackTask() argument 61 mDocs = docs; in LoadDocStackTask() 112 List<DocumentInfo> docs = mDocs.getDocuments(root.userId, authority, path.getPath()); in buildStack() local 114 return new DocumentStack(root, docs); in buildStack()
|
D | RootsMonitor.java | 51 final DocumentsAccess docs, in RootsMonitor() argument 64 docs, in RootsMonitor() 96 DocumentsAccess docs, in HandleRootsChangedTask() argument 103 mDocs = docs; in HandleRootsChangedTask()
|
D | Model.java | 218 final List<DocumentInfo> docs = new ArrayList<>(size); in loadDocuments() local 223 docs.add(doc); in loadDocuments() 226 return docs; in loadDocuments()
|
D | AbstractActionHandler.java | 131 DocumentsAccess docs, in AbstractActionHandler() argument 140 assert(docs != null); in AbstractActionHandler() 146 mDocs = docs; in AbstractActionHandler() 699 public void deleteSelectedDocuments(List<DocumentInfo> docs, DocumentInfo srcParent) { in deleteSelectedDocuments() argument 959 void onDocumentsPicked(List<DocumentInfo> docs); in onDocumentsPicked() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | UrisSupplier.java | 223 public StandardUrisSupplier(List<Uri> docs) { in StandardUrisSupplier() argument 224 mDocs = docs; in StandardUrisSupplier() 228 ArrayList<Uri> docs = new ArrayList<>(clipData.getItemCount()); in listDocs() local 233 docs.add(uri); in listDocs() 236 return docs; in listDocs()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 401 public void onDocumentsPicked(List<DocumentInfo> docs) { in onDocumentsPicked() argument 403 if (!canShare(docs)) { in onDocumentsPicked() 409 final int size = docs.size(); in onDocumentsPicked() 412 for (int i = 0; i < docs.size(); i++) { in onDocumentsPicked() 413 DocumentInfo doc = docs.get(i); in onDocumentsPicked() 425 private boolean canShare(List<DocumentInfo> docs) { in canShare() argument 426 for (DocumentInfo doc : docs) { in canShare()
|
D | ActionHandler.java | 88 DocumentsAccess docs, in ActionHandler() argument 94 super(activity, state, providers, docs, searchMgr, executors, injector); in ActionHandler() 393 void finishPicking(Uri... docs) { in finishPicking() argument 399 onPickFinished(docs); in finishPicking()
|
D | CreatePickedDocumentTask.java | 53 DocumentsAccess docs, in CreatePickedDocumentTask() argument 62 mDocs = docs; in CreatePickedDocumentTask()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | SelectionHelpers.java | 40 public static DocsSelectionHelper createTestInstance(List<String> docs) { in createTestInstance() argument 45 Integer.toHexString(System.identityHashCode(docs)), in createTestInstance() 46 new TestStableIdProvider(docs), in createTestInstance()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 182 List<DocumentInfo> docs = new ArrayList<>(); in testDeleteSelectedDocuments() local 183 docs.add(TestEnv.FILE_PNG); in testDeleteSelectedDocuments() 184 mHandler.deleteSelectedDocuments(docs, mEnv.state.stack.peek()); in testDeleteSelectedDocuments() 379 mEnv.docs.nextDocument = TestEnv.FILE_ARCHIVE; in testDocumentPicked_OpensArchives() 480 mEnv.docs.nextIsDocumentsUri = true; in testInitLocation_LaunchToDocuments() 481 mEnv.docs.nextPath = new Path( in testInitLocation_LaunchToDocuments() 486 mEnv.docs.nextDocuments = in testInitLocation_LaunchToDocuments() 702 mEnv.docs, in createHandler()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 98 mEnv.docs, in setUp() 121 DocumentsAccess docs, in TestableActionHandler() argument 128 super(activity, state, providers, docs, searchMgr, executors, injector, lastAccessed, in TestableActionHandler() 176 mEnv.docs.nextIsDocumentsUri = true; in testInitLocation_LaunchToDocuments() 177 mEnv.docs.nextPath = new Path( in testInitLocation_LaunchToDocuments() 183 mEnv.docs.nextDocuments = in testInitLocation_LaunchToDocuments() 355 mEnv.docs.assertCreatedDocument(TestEnv.FOLDER_1, mimeType, displayName); in testSaveDocument_SetsCorrectResultAndFinishes() 356 final Uri docUri = mEnv.docs.getLastCreatedDocumentUri(); in testSaveDocument_SetsCorrectResultAndFinishes()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | GetRootDocumentTask.java | 48 DocumentsAccess docs, in GetRootDocumentTask() argument 52 mDocs = docs; in GetRootDocumentTask()
|
/packages/modules/ArtPrebuilt/iorap/test/src/IorapTestApp/ |
D | gradle.properties | 6 # http://www.gradle.org/docs/current/userguide/build_environment.html 12 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
/packages/apps/Car/libs/car-ui-lib/ |
D | gradle.properties | 21 # http://www.gradle.org/docs/current/userguide/build_environment.html 27 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 992 List<DocumentInfo> docs = mModel.getDocuments(selected); in openDocuments() local 993 if (docs.size() > 1) { in openDocuments() 994 mActivity.onDocumentsPicked(docs); in openDocuments() 996 mActivity.onDocumentPicked(docs.get(0)); in openDocuments() 1095 List<DocumentInfo> docs = mModel.getDocuments(selected); in transferDocuments() local 1131 List<DocumentInfo> docs = mModel.getDocuments(selected); in renameDocuments() local 1132 RenameDocumentFragment.show(getChildFragmentManager(), docs.get(0)); in renameDocuments()
|