Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/
DBeamShareActivity.java140 ClipData clipData = intent.getClipData(); in parseShareIntentAndFinish()
141 if (clipData != null && clipData.getItemCount() > 0) { in parseShareIntentAndFinish()
142 for (int i = 0; i < clipData.getItemCount(); i++) { in parseShareIntentAndFinish()
143 ClipData.Item item = clipData.getItemAt(i); in parseShareIntentAndFinish()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DClipboardUtils.java44 ClipData clipData = ClipData.newPlainText(label == null ? "" : label, text); in copyText() local
45 clipboardManager.setPrimaryClip(clipData); in copyText()
/packages/apps/Messaging/src/com/android/messaging/ui/
DUIIntentsImpl.java109 ClipData clipData = null; in getConversationActivityIntent() local
113 if (clipData == null) { in getConversationActivityIntent()
114 clipData = ClipData.newRawUri("Attachments", uri); in getConversationActivityIntent()
116 clipData.addItem(new ClipData.Item(uri)); in getConversationActivityIntent()
120 if (clipData != null) { in getConversationActivityIntent()
121 intent.setClipData(clipData); in getConversationActivityIntent()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DImportVCardActivity.java635 final ClipData clipData = intent.getClipData(); in onActivityResult() local
636 if (clipData != null) { in onActivityResult()
639 for (int i = 0; i < clipData.getItemCount(); i++) { in onActivityResult()
640 ClipData.Item item = clipData.getItemAt(i); in onActivityResult()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java639 ClipData clipData = intent.getClipData(); in finishCreate() local
640 if (clipData != null in finishCreate()
641 && LEGACY_WEAR_EXTRA.equals(clipData.getDescription().getLabel())) { in finishCreate()
642 Bundle extras = clipData.getItemAt(0).getIntent().getExtras(); in finishCreate()
2005 final ClipData clipData = data.getClipData(); in addAttachmentAndUpdateView() local
2006 if (clipData != null) { in addAttachmentAndUpdateView()
2007 for (int i = 0, size = clipData.getItemCount(); i < size; i++) { in addAttachmentAndUpdateView()
2008 addAttachmentAndUpdateView(clipData.getItemAt(i).getUri()); in addAttachmentAndUpdateView()
3296 ClipData clipData = null;
3300 if (clipData == null) {
[all …]