Home
last modified time | relevance | path

Searched refs:attachmentView (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java69 View attachmentView = null; in createAttachmentPreview() local
71 attachmentView = createPendingAttachmentPreview(layoutInflater, parent, 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()
88 final TextView captionView = (TextView) attachmentView.findViewById(R.id.caption); in createAttachmentPreview()
95 if (attachmentView != null && clickListener != null) { in createAttachmentPreview()
96 attachmentView.setOnClickListener(new OnClickListener() { in createAttachmentPreview()
104 attachmentView.setOnLongClickListener(new OnLongClickListener() { in createAttachmentPreview()
[all …]
DAttachmentPreview.java262 final View attachmentView = AttachmentPreviewFactory.createAttachmentPreview( in onAttachmentsChanged() local
265 if (attachmentView != null) { in onAttachmentsChanged()
266 mAttachmentView.addView(attachmentView); in onAttachmentsChanged()
268 tryAnimateViewIn(attachment, attachmentView); in onAttachmentsChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java588 final View attachmentView = mMessageAttachmentsView.getChildAt(i); in updateMessageAttachments() local
589 if (attachmentView.getVisibility() == View.VISIBLE) { in updateMessageAttachments()
612 View attachmentView = mMessageAttachmentsView.getChildAt(attachmentViewIndex); in bindAttachmentsOfSameType() local
613 if (!attachmentViewClass.isInstance(attachmentView)) { in bindAttachmentsOfSameType()
614 attachmentView = layoutInflater.inflate(attachmentViewLayoutRes, in bindAttachmentsOfSameType()
616 attachmentView.setOnClickListener(this); in bindAttachmentsOfSameType()
617 attachmentView.setOnLongClickListener(this); in bindAttachmentsOfSameType()
618 mMessageAttachmentsView.addView(attachmentView, attachmentViewIndex); in bindAttachmentsOfSameType()
620 viewBinder.bindView(attachmentView, attachment); in bindAttachmentsOfSameType()
621 attachmentView.setTag(attachment); in bindAttachmentsOfSameType()
[all …]
DConversationFragment.java539 final AttachmentPreview attachmentView = in onCreateView()
542 final Rect attachmentRect = UiUtils.getMeasuredBoundsOnScreen(attachmentView); in onCreateView()
543 if (attachmentView.getVisibility() == View.VISIBLE) { in onCreateView()
559 attachmentView.onMessageAnimationStart(); in onCreateView()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridItemView.java114 final View attachmentView = AttachmentPreviewFactory.createAttachmentPreview(inflater, in updateAttachmentView() local
117 mAttachmentViewContainer.addView(attachmentView); in updateAttachmentView()