Searched refs:draftMessageData (Results 1 – 4 of 4) sorted by relevance
93 public void loadAttachmentForDraft(final DraftMessageData draftMessageData, in loadAttachmentForDraft() argument124 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft()125 draftMessageData.removePendingAttachment(PendingAttachmentData.this); in loadAttachmentForDraft()133 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft()134 draftMessageData.updatePendingAttachment(attachment, in loadAttachmentForDraft()144 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft()145 draftMessageData.onPendingAttachmentLoadFailed(PendingAttachmentData.this); in loadAttachmentForDraft()146 draftMessageData.removePendingAttachment(PendingAttachmentData.this); in loadAttachmentForDraft()
673 final DraftMessageData draftMessageData = mBinding.getData(); in updateVisualsOnDraftChanged() local674 draftMessageData.setMessageText(messageText); in updateVisualsOnDraftChanged()677 draftMessageData.setMessageSubject(subject); in updateVisualsOnDraftChanged()688 new ArrayList<MessagePartData>(draftMessageData.getReadOnlyAttachments()); in updateVisualsOnDraftChanged()689 if (draftMessageData.getIsMms()) { // MMS case in updateVisualsOnDraftChanged()690 if (draftMessageData.hasAttachments()) { in updateVisualsOnDraftChanged()704 final int messageCount = draftMessageData.getNumMessagesToBeSent(); in updateVisualsOnDraftChanged()706 draftMessageData.getCodePointsRemainingInCurrentMessage(); in updateVisualsOnDraftChanged()737 mMmsIndicator.setVisibility(draftMessageData.getIsMms() ? VISIBLE : INVISIBLE); in updateVisualsOnDraftChanged()
151 public boolean onAttachmentsChanged(final DraftMessageData draftMessageData) { in onAttachmentsChanged() argument153 final List<MessagePartData> attachments = draftMessageData.getReadOnlyAttachments(); in onAttachmentsChanged()155 draftMessageData.getReadOnlyPendingAttachments(); in onAttachmentsChanged()176 if (draftMessageData.isSending()) { in onAttachmentsChanged()
118 public FakeDataModel withDraftMessageData(final DraftMessageData draftMessageData) { in withDraftMessageData() argument119 mDraftMessageData = draftMessageData; in withDraftMessageData()