Searched refs:mAttachments (Results 1 – 13 of 13) sorted by relevance
318 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 …]
54 private final ArrayList<Attachment> mAttachments; field in AttachmentsView65 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()
206 private transient List<Attachment> mAttachments = null; field in Message406 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()
833 transient public ArrayList<Attachment> mAttachments = null; field in EmailContent.Message987 (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()
247 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()
50 private List<Attachment> mAttachments; field in AttachmentTileGrid69 mAttachments = list; in configureGrid()202 return mAttachments; in getAttachments()
167 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()
136 msg1.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()145 msg2.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()
501 message3.mAttachments = atts; in testMessageWithAttachment()552 message4.mAttachments = atts; in testMessageSaveWithJustAttachments()1479 message1.mAttachments = atts; in testCascadeMessageDelete()1495 message2.mAttachments = atts; in testCascadeMessageDelete()
1998 msg.mAttachments = new ArrayList<Attachment>(); in createMessageForEntity()1999 msg.mAttachments.add(att); in createMessageForEntity()
235 msg.mAttachments = atts; in addData()
620 msg.mAttachments = atts;
4534 msg.mAttachments = atts; in uiSaveMessage()