Home
last modified time | relevance | path

Searched refs:attachments (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java222 ArrayList<Part> attachments = new ArrayList<Part>(); in convertAndCheckcheckAddedAttachments() local
223 MimeUtility.collectParts(legacyMessage, viewables, attachments); in convertAndCheckcheckAddedAttachments()
224 LegacyConversions.updateAttachments(mProviderContext, localMessage, attachments); in convertAndCheckcheckAddedAttachments()
235 checkAttachment("attachment1Part", attachments.get(0), attachment, in convertAndCheckcheckAddedAttachments()
238 checkAttachment("attachment2Part", attachments.get(1), attachment, in convertAndCheckcheckAddedAttachments()
316 ArrayList<Part> attachments = new ArrayList<Part>(); in testAddDuplicateAttachments() local
317 MimeUtility.collectParts(legacyMessage, viewables, attachments); in testAddDuplicateAttachments()
318 LegacyConversions.updateAttachments(mProviderContext, localMessage, attachments); in testAddDuplicateAttachments()
325 LegacyConversions.updateAttachments(mProviderContext, localMessage, attachments); in testAddDuplicateAttachments()
331 attachments = new ArrayList<Part>(); in testAddDuplicateAttachments()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageFooterView.java140 final List<Attachment> attachments; in renderAttachments() local
143 attachments = Lists.newArrayList(); in renderAttachments()
145 attachments.add(mAttachmentsCursor.get()); in renderAttachments()
150 attachments = mMessageHeaderItem.getMessage().getAttachments(); in renderAttachments()
152 renderAttachments(attachments, loaderResult); in renderAttachments()
155 private void renderAttachments(List<Attachment> attachments, boolean loaderResult) { in renderAttachments() argument
156 if (attachments == null || attachments.isEmpty()) { in renderAttachments()
161 final int maxSize = attachments.size(); in renderAttachments()
165 for (Attachment attachment : attachments) { in renderAttachments()
172 mMessageHeaderItem.getMessage().attachmentsJson = Attachment.toJSONArray(attachments); in renderAttachments()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java124 boolean useSmartReply, boolean sendBcc, List<Attachment> attachments) in writeTo() argument
160 if (attachments == null) { in writeTo()
161 attachments = in writeTo()
165 boolean multipart = attachments.size() > 0; in writeTo()
177 if (attachments.size() == 1) { in writeTo()
180 int flags = attachments.get(0).mFlags; in writeTo()
198 for (Attachment att: attachments) { in writeTo()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java931 ArrayList<Attachment> attachments = mAttachmentsView.getAttachments(); in createMessage() local
932 message.hasAttachments = attachments != null && attachments.size() > 0; in createMessage()
936 message.attachmentsJson = Attachment.toJSONArray(attachments); in createMessage()
1125 mAttachmentsView = (AttachmentsView)findViewById(R.id.attachments); in findViews()
1294 List<Attachment> attachments = message.getAttachments(); in initFromDraftMessage() local
1295 for (Attachment a : attachments) { in initFromDraftMessage()
1522 public long addAttachments(List<Attachment> attachments) { in addAttachments() argument
1525 for (Attachment a : attachments) { in addAttachments()
1534 if (attachments.size() > 1) { in addAttachments()
1593 ArrayList<Attachment> attachments = new ArrayList<Attachment>(); in initAttachmentsFromIntent() local
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewActivity.java161 List<Attachment> attachments = getAllAttachments(); in updateActionItems() local
162 if (attachments != null) { in updateActionItems()
164 for (final Attachment a : attachments) { in updateActionItems()
175 for (final Attachment a : attachments) { in updateActionItems()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java408 ArrayList<Part> attachments) throws MessagingException { in collectParts() argument
438 collectParts(bp, viewables, attachments); in collectParts()
444 collectParts(message, viewables, attachments); in collectParts()
450 attachments.add(part); in collectParts()
/packages/apps/Email/src/com/android/email/provider/
DUtilities.java115 ArrayList<Part> attachments = new ArrayList<Part>(); in copyOneMessageToProvider() local
116 MimeUtility.collectParts(message, viewables, attachments); in copyOneMessageToProvider()
139 LegacyConversions.updateAttachments(context, localMessage, attachments); in copyOneMessageToProvider()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMessageModification.java158 public static void putAttachments(ContentValues values, List<Attachment> attachments) { in putAttachments() argument
159 values.put(MessageColumns.ATTACHMENTS, Attachment.toJSONArray(attachments)); in putAttachments()
DMessage.java395 ArrayList<Part> attachments = new ArrayList<Part>(); in Message() local
396 MimeUtility.collectParts(mimeMessage, viewables, attachments); in Message()
410 for (final Part attachmentPart : attachments) { in Message()
DAttachment.java600 public static String toJSONArray(Collection<? extends Attachment> attachments) { in toJSONArray() argument
601 if (attachments == null) { in toJSONArray()
606 for (Attachment attachment : attachments) { in toJSONArray()
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadList.java738 ArrayList<Parcelable> attachments = new ArrayList<Parcelable>();
744 attachments.add(uri);
749 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, attachments);
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
DComposeActivityTest.java847 JSONArray attachments = new JSONArray(); in createAttachmentsJson() local
849 attachments.put(attachment1.toJSON()); in createAttachmentsJson()
850 attachments.put(attachment2.toJSON()); in createAttachmentsJson()
854 return attachments.toString(); in createAttachmentsJson()
/packages/apps/Email/src/com/android/email/service/
DImapService.java231 ArrayList<Part> attachments = new ArrayList<Part>(); in loadUnsyncedMessages() local
232 MimeUtility.collectParts(message, viewables, attachments); in loadUnsyncedMessages()
1510 ArrayList<Part> attachments = new ArrayList<Part>(); in searchMailboxImpl() local
1511 MimeUtility.collectParts(message, viewables, attachments); in searchMailboxImpl()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasOutboxSync.java218 final ArrayList<Attachment> attachments = in writeMessageToTempFile() local
220 Rfc822Output.writeTo(mContext, message, fileStream, smartSend, true, attachments); in writeMessageToTempFile()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java1091 ArrayList<Part> attachments = new ArrayList<Part>(); in testNilMessage() local
1092 MimeUtility.collectParts(message1, viewables, attachments); in testNilMessage()
1104 attachments = new ArrayList<Part>(); in testNilMessage()
1105 MimeUtility.collectParts(message1, viewables, attachments); in testNilMessage()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java166 ArrayList<Part> attachments) throws MessagingException, IOException { in updateAttachments() argument
168 for (Part attachmentPart : attachments) { in updateAttachments()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1398 Attachment[] attachments = new Attachment[count]; in restoreAttachmentsWithMessageId() local
1403 attachments[i] = attach; in restoreAttachmentsWithMessageId()
1405 return attachments; in restoreAttachmentsWithMessageId()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncParser.java426 ArrayList<Part> attachments = new ArrayList<Part>(); in mimeBodyParser() local
427 MimeUtility.collectParts(mimeMessage, viewables, attachments); in mimeBodyParser()
DEmailSyncAdapter.java810 ArrayList<Part> attachments = new ArrayList<Part>();
811 MimeUtility.collectParts(mimeMessage, viewables, attachments);
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java582 Attachment[] attachments = in testMessageSaveWithJustAttachments() local
584 int size = attachments.length; in testMessageSaveWithJustAttachments()
587 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), attachments[i]); in testMessageSaveWithJustAttachments()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz