Home
last modified time | relevance | path

Searched refs:attachmentView (Results 1 – 6 of 6) 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.java537 final AttachmentPreview attachmentView = in onCreateView()
540 final Rect attachmentRect = UiUtils.getMeasuredBoundsOnScreen(attachmentView); in onCreateView()
541 if (attachmentView.getVisibility() == View.VISIBLE) { in onCreateView()
557 attachmentView.onMessageAnimationStart(); in onCreateView()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DAttachmentsView.java128 final AttachmentComposeView attachmentView = in addAttachment() local
131 attachmentView.addDeleteListener(new OnClickListener() { in addAttachment()
134 deleteAttachment(attachmentView, attachment); in addAttachment()
139 mAttachmentLayout.addView(attachmentView, new LinearLayout.LayoutParams( in addAttachment()
149 protected void deleteAttachment(final View attachmentView, in deleteAttachment() argument
152 ((ViewGroup) attachmentView.getParent()).removeView(attachmentView); in deleteAttachment()
/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()