Searched refs:attachmentView (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
H A DAttachmentPreviewFactory.java69 View attachmentView = null;
71 attachmentView = createPendingAttachmentPreview(layoutInflater, parent,
74 attachmentView = createImagePreview(layoutInflater, attachmentData, parent, viewType,
77 attachmentView = createAudioPreview(layoutInflater, attachmentData, parent, viewType);
79 attachmentView = createVideoPreview(layoutInflater, attachmentData, parent, viewType);
81 attachmentView = createVCardPreview(layoutInflater, attachmentData, parent, viewType);
88 final TextView captionView = (TextView) attachmentView.findViewById(R.id.caption);
95 if (attachmentView != null && clickListener != null) {
96 attachmentView.setOnClickListener(new OnClickListener() {
104 attachmentView
[all...]
H A DAttachmentPreview.java259 final View attachmentView = AttachmentPreviewFactory.createAttachmentPreview(
262 if (attachmentView != null) {
263 mAttachmentView.addView(attachmentView);
265 tryAnimateViewIn(attachment, attachmentView);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DAttachmentsView.java124 final AttachmentComposeView attachmentView =
127 attachmentView.addDeleteListener(new OnClickListener() {
130 deleteAttachment(attachmentView, attachment);
135 mAttachmentLayout.addView(attachmentView, new LinearLayout.LayoutParams(
145 protected void deleteAttachment(final View attachmentView, argument
148 ((ViewGroup) attachmentView.getParent()).removeView(attachmentView);
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
H A DAttachmentGridItemView.java114 final View attachmentView = AttachmentPreviewFactory.createAttachmentPreview(inflater,
117 mAttachmentViewContainer.addView(attachmentView);
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationMessageView.java587 final View attachmentView = mMessageAttachmentsView.getChildAt(i);
588 if (attachmentView.getVisibility() == View.VISIBLE) {
611 View attachmentView = mMessageAttachmentsView.getChildAt(attachmentViewIndex);
612 if (!attachmentViewClass.isInstance(attachmentView)) {
613 attachmentView = layoutInflater.inflate(attachmentViewLayoutRes,
615 attachmentView.setOnClickListener(this);
616 attachmentView.setOnLongClickListener(this);
617 mMessageAttachmentsView.addView(attachmentView, attachmentViewIndex);
619 viewBinder.bindView(attachmentView, attachment);
620 attachmentView
[all...]
H A DConversationFragment.java537 final AttachmentPreview attachmentView =
540 final Rect attachmentRect = UiUtils.getMeasuredBoundsOnScreen(attachmentView);
541 if (attachmentView.getVisibility() == View.VISIBLE) {
557 attachmentView.onMessageAnimationStart();

Completed in 74 milliseconds