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

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

Completed in 107 milliseconds