Searched refs:PendingAttachmentData (Results 1 – 12 of 12) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | PendingAttachmentData.java | 34 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 …]
|
D | DraftMessageData.java | 106 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 …]
|
D | ConversationData.java | 733 final PendingAttachmentData pendingAttachmentData = PendingAttachmentData in createForwardedMessage()
|
D | MessageData.java | 368 if (part instanceof PendingAttachmentData) { in addPart()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | DocumentImagePicker.java | 25 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()
|
D | MediaPicker.java | 47 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/ |
D | AttachmentPreviewFactory.java | 36 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()
|
D | AttachmentPreview.java | 37 import com.android.messaging.datamodel.data.PendingAttachmentData; 151 final List<PendingAttachmentData> pendingAttachments = in onAttachmentsChanged() 325 if (!(attachment instanceof PendingAttachmentData) && attachment.isImage()) { in onAttachmentClick()
|
D | MultiAttachmentLayout.java | 33 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/ |
D | ConversationInputManager.java | 33 import com.android.messaging.datamodel.data.PendingAttachmentData; 75 void onPendingAttachmentAdded(PendingAttachmentData pendingItem); in onPendingAttachmentAdded() 407 public void onPendingItemAdded(final PendingAttachmentData pendingItem) { in show()
|
D | ComposeMessageView.java | 55 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/ |
D | ShareIntentActivity.java | 30 import com.android.messaging.datamodel.data.PendingAttachmentData; 178 mDraftMessage.addPart(PendingAttachmentData.createPendingAttachmentData(contentType, in addSharedImagePartToDraft()
|