Home
last modified time | relevance | path

Searched refs:draftMessageData (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPendingAttachmentData.java93 public void loadAttachmentForDraft(final DraftMessageData draftMessageData, in loadAttachmentForDraft() argument
124 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()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java673 final DraftMessageData draftMessageData = mBinding.getData(); in updateVisualsOnDraftChanged() local
674 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()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java151 public boolean onAttachmentsChanged(final DraftMessageData draftMessageData) { in onAttachmentsChanged() argument
153 final List<MessagePartData> attachments = draftMessageData.getReadOnlyAttachments(); in onAttachmentsChanged()
155 draftMessageData.getReadOnlyPendingAttachments(); in onAttachmentsChanged()
176 if (draftMessageData.isSending()) { in onAttachmentsChanged()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeDataModel.java118 public FakeDataModel withDraftMessageData(final DraftMessageData draftMessageData) { in withDraftMessageData() argument
119 mDraftMessageData = draftMessageData; in withDraftMessageData()