Home
last modified time | relevance | path

Searched refs:clipData (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentClipper.java58 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 …]
DQuickViewIntentBuilder.java88 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()
DFilesActivity.java442 final ClipData clipData = new ClipData( in onTaskFinished() local
445 clipData.addItem(new ClipData.Item(uris[i])); in onTaskFinished()
447 intent.setClipData(clipData); in onTaskFinished()
DDocumentsActivity.java398 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/
DRemoteInputCompatJellybean.java80 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/
DRemoteInput.java247 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/
DDragAndDropPermissionsHandler.java44 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/
DChipsTest.java851 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/
DDirectoryFragment.java1048 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/
DBugreportProgressService.java930 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/
DIntent.java9047 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/
DEditor.java2399 ClipData clipData = event.getClipData(); in onDrop() local
2400 final int itemCount = clipData.getItemCount(); in onDrop()
2402 Item item = clipData.getItemAt(i); in onDrop()