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.java259 final View attachmentView = AttachmentPreviewFactory.createAttachmentPreview( in onAttachmentsChanged() local
262 if (attachmentView != null) { in onAttachmentsChanged()
263 mAttachmentView.addView(attachmentView); in onAttachmentsChanged()
265 tryAnimateViewIn(attachment, attachmentView); in onAttachmentsChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java587 final View attachmentView = mMessageAttachmentsView.getChildAt(i); in updateMessageAttachments() local
588 if (attachmentView.getVisibility() == View.VISIBLE) { in updateMessageAttachments()
611 View attachmentView = mMessageAttachmentsView.getChildAt(attachmentViewIndex); in bindAttachmentsOfSameType() local
612 if (!attachmentViewClass.isInstance(attachmentView)) { in bindAttachmentsOfSameType()
613 attachmentView = layoutInflater.inflate(attachmentViewLayoutRes, in bindAttachmentsOfSameType()
615 attachmentView.setOnClickListener(this); in bindAttachmentsOfSameType()
616 attachmentView.setOnLongClickListener(this); in bindAttachmentsOfSameType()
617 mMessageAttachmentsView.addView(attachmentView, attachmentViewIndex); in bindAttachmentsOfSameType()
619 viewBinder.bindView(attachmentView, attachment); in bindAttachmentsOfSameType()
620 attachmentView.setTag(attachment); in bindAttachmentsOfSameType()
[all …]
DConversationFragment.java538 final AttachmentPreview attachmentView = in onCreateView()
541 final Rect attachmentRect = UiUtils.getMeasuredBoundsOnScreen(attachmentView); in onCreateView()
542 if (attachmentView.getVisibility() == View.VISIBLE) { in onCreateView()
558 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()