/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DocumentClipper.java | 58 ClipData clipData = mClipboard.getPrimaryClip(); in hasItemsToPaste() local 59 int count = clipData.getItemCount(); in hasItemsToPaste() 62 ClipData.Item item = clipData.getItemAt(i); in hasItemsToPaste() 90 public List<DocumentInfo> getDocumentsFromClipData(ClipData clipData) { in getDocumentsFromClipData() argument 91 assert(clipData != null); in getDocumentsFromClipData() 94 int count = clipData.getItemCount(); in getDocumentsFromClipData() 101 ClipData.Item item = clipData.getItemAt(i); in getDocumentsFromClipData() 131 ClipData clipData = null; in getClipDataForDocuments() local 133 if (clipData == null) { in getClipDataForDocuments() 137 clipData = new ClipData(label, mimeTypes, new ClipData.Item(doc.derivedUri)); in getClipDataForDocuments() [all …]
|
D | QuickViewIntentBuilder.java | 88 ClipData clipData = null; in build() local 95 if (clipData == null) { in build() 96 clipData = new ClipData( in build() 100 clipData.addItem(item); in build() 108 intent.setClipData(clipData); in build()
|
D | FilesActivity.java | 442 final ClipData clipData = new ClipData( in onTaskFinished() local 445 clipData.addItem(new ClipData.Item(uris[i])); in onTaskFinished() 447 intent.setClipData(clipData); in onTaskFinished()
|
D | DocumentsActivity.java | 398 final ClipData clipData = new ClipData( in onTaskFinished() local 401 clipData.addItem(new ClipData.Item(uris[i])); in onTaskFinished() 403 intent.setClipData(clipData); in onTaskFinished()
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
D | RemoteInputCompatJellybean.java | 80 ClipData clipData = intent.getClipData(); in getResultsFromIntent() local 81 if (clipData == null) { in getResultsFromIntent() 84 ClipDescription clipDescription = clipData.getDescription(); in getResultsFromIntent() 89 return clipData.getItemAt(0).getIntent().getExtras().getParcelable(EXTRA_RESULTS_DATA); in getResultsFromIntent()
|
/frameworks/base/core/java/android/app/ |
D | RemoteInput.java | 247 ClipData clipData = intent.getClipData(); in getResultsFromIntent() local 248 if (clipData == null) { in getResultsFromIntent() 251 ClipDescription clipDescription = clipData.getDescription(); in getResultsFromIntent() 256 return clipData.getItemAt(0).getIntent().getExtras().getParcelable(EXTRA_RESULTS_DATA); in getResultsFromIntent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 44 DragAndDropPermissionsHandler(ClipData clipData, int sourceUid, String targetPackage, int mode, in DragAndDropPermissionsHandler() argument 52 clipData.collectUris(mUris); in DragAndDropPermissionsHandler()
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | ChipsTest.java | 851 ClipData clipData = null; in testHandlePasteClip() local 853 view.handlePasteClip(clipData); in testHandlePasteClip() 856 clipData = ClipData.newPlainText("user label", "<foo@example.com>"); in testHandlePasteClip() 858 view.handlePasteClip(clipData); in testHandlePasteClip() 861 clipData = ClipData.newHtmlText("user label", in testHandlePasteClip() 864 view.handlePasteClip(clipData); in testHandlePasteClip() 868 clipData = new ClipData("user label", new String[]{"image/jpeg"}, clipImageData); in testHandlePasteClip() 870 view.handlePasteClip(clipData); in testHandlePasteClip()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 1048 private void copyFromClipData(final ClipData clipData, final DocumentInfo destination) { in copyFromClipData() argument 1049 assert(clipData != null); in copyFromClipData() 1055 return mClipper.getDocumentsFromClipData(clipData); in copyFromClipData() 1241 ClipData clipData = event.getClipData(); 1242 if (clipData == null) { 1266 copyFromClipData(clipData, dst);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 930 final ClipData clipData = new ClipData(null, new String[] { mimeType }, in buildSendIntent() local 935 clipData.addItem(new ClipData.Item(null, null, null, screenshotUri)); in buildSendIntent() 938 intent.setClipData(clipData); in buildSendIntent()
|
/frameworks/base/core/java/android/content/ |
D | Intent.java | 9047 final ClipData clipData = new ClipData( in migrateExtraStreamToClipData() local 9050 setClipData(clipData); in migrateExtraStreamToClipData() 9081 final ClipData clipData = new ClipData( in migrateExtraStreamToClipData() local 9086 clipData.addItem(makeClipItem(streams, texts, htmlTexts, i)); in migrateExtraStreamToClipData() 9089 setClipData(clipData); in migrateExtraStreamToClipData()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 2399 ClipData clipData = event.getClipData(); in onDrop() local 2400 final int itemCount = clipData.getItemCount(); in onDrop() 2402 Item item = clipData.getItemAt(i); in onDrop()
|