Searched refs:attachmentView (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreviewFactory.java | 69 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 …]
|
D | AttachmentPreview.java | 259 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/UnifiedEmail/src/com/android/mail/compose/ |
D | AttachmentsView.java | 124 final AttachmentComposeView attachmentView = in addAttachment() local 127 attachmentView.addDeleteListener(new OnClickListener() { in addAttachment() 130 deleteAttachment(attachmentView, attachment); in addAttachment() 135 mAttachmentLayout.addView(attachmentView, new LinearLayout.LayoutParams( in addAttachment() 145 protected void deleteAttachment(final View attachmentView, in deleteAttachment() argument 148 ((ViewGroup) attachmentView.getParent()).removeView(attachmentView); in deleteAttachment()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 587 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 …]
|
D | ConversationFragment.java | 537 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/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentGridItemView.java | 114 final View attachmentView = AttachmentPreviewFactory.createAttachmentPreview(inflater, in updateAttachmentView() local 117 mAttachmentViewContainer.addView(attachmentView); in updateAttachmentView()
|