Searched refs:mAttachments (Results 1 – 10 of 10) sorted by relevance
98 private final List<MessagePartData> mAttachments; field in DraftMessageData120 mAttachments = new ArrayList<MessagePartData>(); in DraftMessageData()121 mReadOnlyAttachments = Collections.unmodifiableList(mAttachments); in DraftMessageData()146 mAttachments.isEmpty())) { in updateFromMessageData()186 for (final MessagePartData attachment : mAttachments) { in createMessageWithCurrentAttachments()207 mAttachments.clear(); in clearLocalDraftCopy()228 mMessageTextStats.getMessageLengthRequiresMms() || !mAttachments.isEmpty() || in getIsMms()289 for (final MessagePartData data : mAttachments) { in addAttachments()321 for (final MessagePartData existingAttachment : mAttachments) { in containsAttachment()367 for (final MessagePartData data : mAttachments) { in addAttachment()[all …]
53 private final ArrayList<Attachment> mAttachments; field in AttachmentsView64 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()
226 private transient List<Attachment> mAttachments = null; field in Message473 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()
147 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()
930 transient public ArrayList<Attachment> mAttachments = null; field in EmailContent.Message1083 (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()
54 private List<Attachment> mAttachments; field in AttachmentTileGrid78 mAttachments = list; in configureGrid()234 return mAttachments; in getAttachments()
168 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()
136 msg1.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()145 msg2.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()
470 message3.mAttachments = atts; in testMessageWithAttachment()521 message4.mAttachments = atts; in testMessageSaveWithJustAttachments()1448 message1.mAttachments = atts; in testCascadeMessageDelete()1464 message2.mAttachments = atts; in testCascadeMessageDelete()
4971 msg.mAttachments = atts; in uiSaveMessage()