Home
last modified time | relevance | path

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

/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java330 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Reply()
331 assertEquals(1, msg.mAttachments.size()); in testCreateMessageForEntity_Reply()
332 Attachment att = msg.mAttachments.get(0); in testCreateMessageForEntity_Reply()
372 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Invite_AllDay()
373 assertEquals(1, msg.mAttachments.size()); in testCreateMessageForEntity_Invite_AllDay()
374 Attachment att = msg.mAttachments.get(0); in testCreateMessageForEntity_Invite_AllDay()
434 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Invite()
435 assertEquals(1, msg.mAttachments.size()); in testCreateMessageForEntity_Invite()
436 Attachment att = msg.mAttachments.get(0); in testCreateMessageForEntity_Invite()
500 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Recurring()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAttachmentsView.java53 private final ArrayList<Attachment> mAttachments; field in AttachmentsView
64 mAttachments = Lists.newArrayList(); in AttachmentsView()
97 mAttachments.add(attachment); in addAttachment()
147 mAttachments.remove(attachment); in deleteAttachment()
159 return mAttachments; in getAttachments()
181 mAttachments.clear(); in deleteAllAttachments()
192 for (Attachment attachment : mAttachments) { in getTotalAttachmentsSize()
363 Attachment lastAttachment = mAttachments.get(mAttachments.size() - 1); in focusLastAttachment()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMessage.java226 private transient List<Attachment> mAttachments = null; field in Message
473 mAttachments = Lists.newArrayList(); in Message()
479 mAttachments.add(new Attachment(context, attachmentPart, in Message()
489 mAttachments.add(new Attachment(context, viewablePart, emlFileUri, messageId, cid, in Message()
494 hasAttachments = !mAttachments.isEmpty(); in Message()
641 if (mAttachments == null) { in getAttachments()
643 mAttachments = Attachment.fromJSONArray(attachmentsJson); in getAttachments()
645 mAttachments = Collections.emptyList(); in getAttachments()
648 return mAttachments; in getAttachments()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java147 msg.mAttachments = new ArrayList<Attachment>(); in testWriteToAlternativePart()
154 msg.mAttachments.add(att); in testWriteToAlternativePart()
192 msg.mAttachments = new ArrayList<Attachment>(); in testWriteToMixedPart()
198 msg.mAttachments.add(att); in testWriteToMixedPart()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java930 transient public ArrayList<Attachment> mAttachments = null; field in EmailContent.Message
1083 (mAttachments == null || mAttachments.isEmpty())) { in save()
1107 if (mAttachments != null) { in save()
1109 for (int i = 0; i < mAttachments.size(); i++) { in save()
1110 final Attachment a = mAttachments.get(i); in save()
1198 if (mAttachments != null) { in addSaveOps()
1199 for (Attachment att: mAttachments) { in addSaveOps()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java168 localMessage.mAttachments = null; in updateAttachments()
309 if (localMessage.mAttachments == null) { in addOneAttachment()
310 localMessage.mAttachments = new ArrayList<Attachment>(); in addOneAttachment()
312 localMessage.mAttachments.add(localAttachment); in addOneAttachment()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTileGrid.java54 private List<Attachment> mAttachments; field in AttachmentTileGrid
78 mAttachments = list; in configureGrid()
234 return mAttachments; in getAttachments()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java136 msg1.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()
145 msg2.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()
DProviderTests.java470 message3.mAttachments = atts; in testMessageWithAttachment()
521 message4.mAttachments = atts; in testMessageSaveWithJustAttachments()
1448 message1.mAttachments = atts; in testCascadeMessageDelete()
1464 message2.mAttachments = atts; in testCascadeMessageDelete()
/packages/apps/Exchange/src/com/android/exchange/utility/
DCalendarUtilities.java2021 msg.mAttachments = new ArrayList<Attachment>(); in createMessageForEntity()
2022 msg.mAttachments.add(att); in createMessageForEntity()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncParser.java242 msg.mAttachments = atts; in addData()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java4971 msg.mAttachments = atts; in uiSaveMessage()