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()
148 public boolean onAttachmentsChanged(final DraftMessageData draftMessageData) { in onAttachmentsChanged() argument150 final List<MessagePartData> attachments = draftMessageData.getReadOnlyAttachments(); in onAttachmentsChanged()152 draftMessageData.getReadOnlyPendingAttachments(); in onAttachmentsChanged()173 if (draftMessageData.isSending()) { in onAttachmentsChanged()
629 final DraftMessageData draftMessageData = mBinding.getData(); in updateVisualsOnDraftChanged() local630 draftMessageData.setMessageText(messageText); in updateVisualsOnDraftChanged()633 draftMessageData.setMessageSubject(subject); in updateVisualsOnDraftChanged()644 final int messageCount = draftMessageData.getNumMessagesToBeSent(); in updateVisualsOnDraftChanged()645 final int codePointsRemaining = draftMessageData.getCodePointsRemainingInCurrentMessage(); in updateVisualsOnDraftChanged()650 if (!draftMessageData.getIsMms() && (messageCount > 1 || in updateVisualsOnDraftChanged()679 mMmsIndicator.setVisibility(draftMessageData.getIsMms() ? VISIBLE : INVISIBLE); in updateVisualsOnDraftChanged()702 final List<MessagePartData> attachments = draftMessageData.getReadOnlyAttachments(); in updateVisualsOnDraftChanged()
125 public FakeDataModel withDraftMessageData(final DraftMessageData draftMessageData) { in withDraftMessageData() argument126 mDraftMessageData = draftMessageData; in withDraftMessageData()