Home
last modified time | relevance | path

Searched refs:attachmentData (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java65 final MessagePartData attachmentData, final ViewGroup parent, in createAttachmentPreview() argument
68 final String contentType = attachmentData.getContentType(); in createAttachmentPreview()
70 if (attachmentData instanceof PendingAttachmentData) { in createAttachmentPreview()
72 (PendingAttachmentData) attachmentData); in createAttachmentPreview()
74 attachmentView = createImagePreview(layoutInflater, attachmentData, parent, viewType, in createAttachmentPreview()
77 attachmentView = createAudioPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview()
79 attachmentView = createVideoPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview()
81 attachmentView = createVCardPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview()
90 final String caption = attachmentData.getText(); in createAttachmentPreview()
100 clickListener.onAttachmentClick(attachmentData, bounds, in createAttachmentPreview()
[all …]
DAttachmentPreview.java283 static void tryAnimateViewIn(final MessagePartData attachmentData, final View view) { in tryAnimateViewIn() argument
284 if (attachmentData instanceof MediaPickerMessagePartData) { in tryAnimateViewIn()
285 final Rect startRect = ((MediaPickerMessagePartData) attachmentData).getStartRect(); in tryAnimateViewIn()