Home
last modified time | relevance | path

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

/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java318 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Reply()
319 assertEquals(1, msg.mAttachments.size()); in testCreateMessageForEntity_Reply()
320 Attachment att = msg.mAttachments.get(0); in testCreateMessageForEntity_Reply()
360 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Invite_AllDay()
361 assertEquals(1, msg.mAttachments.size()); in testCreateMessageForEntity_Invite_AllDay()
362 Attachment att = msg.mAttachments.get(0); in testCreateMessageForEntity_Invite_AllDay()
422 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Invite()
423 assertEquals(1, msg.mAttachments.size()); in testCreateMessageForEntity_Invite()
424 Attachment att = msg.mAttachments.get(0); in testCreateMessageForEntity_Invite()
488 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Recurring()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAttachmentsView.java54 private final ArrayList<Attachment> mAttachments; field in AttachmentsView
65 mAttachments = Lists.newArrayList(); in AttachmentsView()
104 mAttachments.add(attachment); in addAttachment()
144 mAttachments.remove(attachment); in deleteAttachment()
156 return mAttachments; in getAttachments()
178 mAttachments.clear(); in deleteAllAttachments()
189 for (Attachment attachment : mAttachments) { in getTotalAttachmentsSize()
372 Attachment lastAttachment = mAttachments.get(mAttachments.size() - 1); in focusLastAttachment()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMessage.java206 private transient List<Attachment> mAttachments = null; field in Message
406 mAttachments = Lists.newArrayList(); in Message()
411 mAttachments.add(new Attachment(context, attachmentPart, in Message()
415 hasAttachments = !mAttachments.isEmpty(); in Message()
560 if (mAttachments == null) { in getAttachments()
562 mAttachments = Attachment.fromJSONArray(attachmentsJson); in getAttachments()
564 mAttachments = Collections.emptyList(); in getAttachments()
567 return mAttachments; in getAttachments()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java833 transient public ArrayList<Attachment> mAttachments = null; field in EmailContent.Message
987 (mAttachments == null || mAttachments.isEmpty())) { in save()
1011 if (mAttachments != null) { in save()
1013 for (int i = 0; i < mAttachments.size(); i++) { in save()
1014 final Attachment a = mAttachments.get(i); in save()
1101 if (mAttachments != null) { in addSaveOps()
1102 for (Attachment att: mAttachments) { in addSaveOps()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java247 msg.mAttachments = new ArrayList<Attachment>(); in testWriteToAlternativePart()
254 msg.mAttachments.add(att); in testWriteToAlternativePart()
292 msg.mAttachments = new ArrayList<Attachment>(); in testWriteToMixedPart()
298 msg.mAttachments.add(att); in testWriteToMixedPart()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAttachmentTileGrid.java50 private List<Attachment> mAttachments; field in AttachmentTileGrid
69 mAttachments = list; in configureGrid()
202 return mAttachments; in getAttachments()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java167 localMessage.mAttachments = null; in updateAttachments()
275 if (localMessage.mAttachments == null) { in addOneAttachment()
276 localMessage.mAttachments = new ArrayList<Attachment>(); in addOneAttachment()
278 localMessage.mAttachments.add(localAttachment); in addOneAttachment()
/packages/apps/Email/tests/src/com/android/email/provider/
DPolicyTests.java136 msg1.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()
145 msg2.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()
DProviderTests.java501 message3.mAttachments = atts; in testMessageWithAttachment()
552 message4.mAttachments = atts; in testMessageSaveWithJustAttachments()
1479 message1.mAttachments = atts; in testCascadeMessageDelete()
1495 message2.mAttachments = atts; in testCascadeMessageDelete()
/packages/apps/Exchange/src/com/android/exchange/utility/
DCalendarUtilities.java1998 msg.mAttachments = new ArrayList<Attachment>(); in createMessageForEntity()
1999 msg.mAttachments.add(att); in createMessageForEntity()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncParser.java235 msg.mAttachments = atts; in addData()
DEmailSyncAdapter.java620 msg.mAttachments = atts;
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java4534 msg.mAttachments = atts; in uiSaveMessage()