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/
DAttachmentPreview.java148 public boolean onAttachmentsChanged(final DraftMessageData draftMessageData) { in onAttachmentsChanged() argument
150 final List<MessagePartData> attachments = draftMessageData.getReadOnlyAttachments(); in onAttachmentsChanged()
152 draftMessageData.getReadOnlyPendingAttachments(); in onAttachmentsChanged()
173 if (draftMessageData.isSending()) { in onAttachmentsChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java629 final DraftMessageData draftMessageData = mBinding.getData(); in updateVisualsOnDraftChanged() local
630 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()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFakeDataModel.java125 public FakeDataModel withDraftMessageData(final DraftMessageData draftMessageData) { in withDraftMessageData() argument
126 mDraftMessageData = draftMessageData; in withDraftMessageData()