Home
last modified time | relevance | path

Searched refs:PendingAttachmentData (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPendingAttachmentData.java34 public class PendingAttachmentData extends MessagePartData { class
57 protected PendingAttachmentData(final String caption, final String contentType, in PendingAttachmentData() method in PendingAttachmentData
68 public static PendingAttachmentData createPendingAttachmentData(final String contentType, in createPendingAttachmentData()
74 public static PendingAttachmentData createPendingAttachmentData(final String caption, in createPendingAttachmentData()
77 return new PendingAttachmentData(caption, contentType, sourceUri, width, height, in createPendingAttachmentData()
81 public static PendingAttachmentData createPendingAttachmentData(final String caption, in createPendingAttachmentData()
85 return new PendingAttachmentData(caption, contentType, sourceUri, width, height, in createPendingAttachmentData()
125 draftMessageData.removePendingAttachment(PendingAttachmentData.this); in loadAttachmentForDraft()
135 PendingAttachmentData.this); in loadAttachmentForDraft()
145 draftMessageData.onPendingAttachmentLoadFailed(PendingAttachmentData.this); in loadAttachmentForDraft()
[all …]
DDraftMessageData.java106 private final List<PendingAttachmentData> mPendingAttachments;
109 private final List<PendingAttachmentData> mReadOnlyPendingAttachments;
122 mPendingAttachments = new ArrayList<PendingAttachmentData>(); in DraftMessageData()
156 if (part instanceof PendingAttachmentData) { in updateFromMessageData()
159 final PendingAttachmentData data = (PendingAttachmentData) part; in updateFromMessageData()
160 Assert.equals(PendingAttachmentData.STATE_PENDING, data.getCurrentState()); in updateFromMessageData()
327 for (final PendingAttachmentData pendingAttachment : mPendingAttachments) { in containsAttachment()
354 final PendingAttachmentData pendingAttachment) { in addAttachment()
392 public void addPendingAttachment(final PendingAttachmentData pendingAttachment, in addPendingAttachment()
407 private boolean addOnePendingAttachmentNoNotify(final PendingAttachmentData pendingAttachment, in addOnePendingAttachmentNoNotify()
[all …]
DConversationData.java733 final PendingAttachmentData pendingAttachmentData = PendingAttachmentData in createForwardedMessage()
DMessageData.java368 if (part instanceof PendingAttachmentData) { in addPart()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DDocumentImagePicker.java25 import com.android.messaging.datamodel.data.PendingAttachmentData;
49 void onDocumentSelected(PendingAttachmentData pendingItem); in onDocumentSelected()
134 final PendingAttachmentData pendingItem = in prepareDocumentForAttachment()
135 PendingAttachmentData.createPendingAttachmentData(contentType, in prepareDocumentForAttachment()
DMediaPicker.java47 import com.android.messaging.datamodel.data.PendingAttachmentData;
101 void onPendingItemAdded(PendingAttachmentData pendingItem); in onPendingItemAdded()
209 public void onDocumentSelected(final PendingAttachmentData data) { in onCreate()
648 void dispatchPendingItemAdded(final PendingAttachmentData pendingItem) { in dispatchPendingItemAdded()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java36 import com.android.messaging.datamodel.data.PendingAttachmentData;
70 if (attachmentData instanceof PendingAttachmentData) { in createAttachmentPreview()
72 (PendingAttachmentData) attachmentData); in createAttachmentPreview()
193 final ViewGroup parent, final PendingAttachmentData attachmentData) { in createPendingAttachmentPreview()
DAttachmentPreview.java37 import com.android.messaging.datamodel.data.PendingAttachmentData;
151 final List<PendingAttachmentData> pendingAttachments = in onAttachmentsChanged()
325 if (!(attachment instanceof PendingAttachmentData) && attachment.isImage()) { in onAttachmentClick()
DMultiAttachmentLayout.java33 import com.android.messaging.datamodel.data.PendingAttachmentData;
239 !(previousView.attachment instanceof PendingAttachmentData)) { in buildViews()
403 !(wrapper.attachment instanceof PendingAttachmentData)) { in findViewForAttachment()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInputManager.java33 import com.android.messaging.datamodel.data.PendingAttachmentData;
75 void onPendingAttachmentAdded(PendingAttachmentData pendingItem); in onPendingAttachmentAdded()
407 public void onPendingItemAdded(final PendingAttachmentData pendingItem) { in show()
DComposeMessageView.java55 import com.android.messaging.datamodel.data.PendingAttachmentData;
540 public void onPendingAttachmentAdded(final PendingAttachmentData pendingItem) { in onPendingAttachmentAdded()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java30 import com.android.messaging.datamodel.data.PendingAttachmentData;
178 mDraftMessage.addPart(PendingAttachmentData.createPendingAttachmentData(contentType, in addSharedImagePartToDraft()