Home | History | Annotate | Download | only in ui

Lines Matching refs:layoutInflater

24 import android.view.LayoutInflater;
64 public static View createAttachmentPreview(final LayoutInflater layoutInflater,
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);
149 private static View createImagePreview(final LayoutInflater layoutInflater,
167 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */);
173 final Resources resources = layoutInflater.getContext().getResources();
192 private static View createPendingAttachmentPreview(final LayoutInflater layoutInflater,
194 final View pendingItemView = layoutInflater.inflate(R.layout.attachment_pending_item,
199 final int defaultSize = layoutInflater.getContext().getResources().getDimensionPixelSize(
208 private static View createVCardPreview(final LayoutInflater layoutInflater,
226 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */);
230 vcardPreview.bind(DataModel.get().createVCardContactItemData(layoutInflater.getContext(),
251 private static View createAudioPreview(final LayoutInflater layoutInflater,
269 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */);
277 private static View createVideoPreview(final LayoutInflater layoutInflater,
295 final VideoThumbnailView videoThumbnail = (VideoThumbnailView) layoutInflater.inflate(