Home
last modified time | relevance | path

Searched refs:layoutInflater (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java64 public static View createAttachmentPreview(final LayoutInflater layoutInflater, in createAttachmentPreview() argument
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()
149 private static View createImagePreview(final LayoutInflater layoutInflater, in createImagePreview() argument
167 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */); in createImagePreview()
173 final Resources resources = layoutInflater.getContext().getResources(); in createImagePreview()
192 private static View createPendingAttachmentPreview(final LayoutInflater layoutInflater, in createPendingAttachmentPreview() argument
[all …]
DMultiAttachmentLayout.java229 final LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in buildViews() local
248 final View view = AttachmentPreviewFactory.createAttachmentPreview(layoutInflater, in buildViews()
291 mPlusTextView = (TextView) layoutInflater.inflate(R.layout.attachment_more_text_view, in buildViews()
/packages/apps/Dialer/java/com/android/incallui/sessiondata/
DMultimediaFragment.java109 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
110 layoutInflater = in onCreateView()
111 layoutInflater.cloneInContext( in onCreateView()
116 return layoutInflater.inflate(R.layout.fragment_spam, viewGroup, false); in onCreateView()
126 return layoutInflater.inflate( in onCreateView()
130 return layoutInflater.inflate(R.layout.fragment_composer_image_frag, viewGroup, false); in onCreateView()
134 return layoutInflater.inflate(R.layout.fragment_composer_text_frag, viewGroup, false); in onCreateView()
137 return layoutInflater.inflate(R.layout.fragment_composer_frag, viewGroup, false); in onCreateView()
142 return layoutInflater.inflate(R.layout.fragment_composer_text_image, viewGroup, false); in onCreateView()
145 return layoutInflater.inflate(R.layout.fragment_composer_image, viewGroup, false); in onCreateView()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/core/
DCarUiInstaller.java270 LayoutInflater layoutInflater = LayoutInflater.from(context); in injectLayoutInflaterFactory() local
271 if (layoutInflater.getFactory2() == null) { in injectLayoutInflaterFactory()
272 layoutInflater.setFactory2(new CarUiLayoutInflaterFactory()); in injectLayoutInflaterFactory()
273 } else if (!(layoutInflater.getFactory2() in injectLayoutInflaterFactory()
275 && !(layoutInflater.getFactory2() in injectLayoutInflaterFactory()
277 throw new AssertionError(layoutInflater.getFactory2() in injectLayoutInflaterFactory()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java321 LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in initialize() local
344 inflateAllEntries(layoutInflater); in initialize()
347 inflateInitialEntries(layoutInflater); in initialize()
495 private void inflateInitialEntries(LayoutInflater layoutInflater) { in inflateInitialEntries() argument
498 inflateAllEntries(layoutInflater); in inflateInitialEntries()
508 entryViewList.add(createEntryView(layoutInflater, entryList.get(0), in inflateInitialEntries()
515 entryViewList.add(createEntryView(layoutInflater, entryList.get(j), in inflateInitialEntries()
527 private void inflateAllEntries(LayoutInflater layoutInflater) { in inflateAllEntries() argument
546 viewList.add(createEntryView(layoutInflater, entry, iconVisibility)); in inflateAllEntries()
630 private View createEntryView(LayoutInflater layoutInflater, final Entry entry, in createEntryView() argument
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java460 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in onCreateViewHolder() local
465 view = layoutInflater.inflate(R.layout.grid_item_loading_indicator, in onCreateViewHolder()
469 view = layoutInflater.inflate(R.layout.grid_item_category, in onCreateViewHolder()
473 view = layoutInflater.inflate(R.layout.grid_item_category, in onCreateViewHolder()
477 view = layoutInflater.inflate(R.layout.grid_item_category, in onCreateViewHolder()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatAdapter.java78 LayoutInflater layoutInflater = LayoutInflater.from(context); in onCreateViewHolder() local
81 View view = layoutInflater.inflate(R.layout.rtt_transcript_advisory, parent, false); in onCreateViewHolder()
84 view = layoutInflater.inflate(R.layout.rtt_chat_list_item, parent, false); in onCreateViewHolder()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DReviewAccessibilityServicesActivity.java76 LayoutInflater layoutInflater = LayoutInflater.from(this); in createDialogView() local
77 View view = layoutInflater.inflate(R.layout.accessibility_service_dialog, null); in createDialogView()
115 View itemView = layoutInflater.inflate(R.layout.accessibility_service_dialog_item, in createDialogView()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridAdapter.java59 final LayoutInflater layoutInflater = LayoutInflater.from(context); in newView() local
60 return layoutInflater.inflate(R.layout.gallery_grid_item_view, parent, false); in newView()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListAdapter.java59 final LayoutInflater layoutInflater = LayoutInflater.from(context); in createViewHolder() local
61 (ConversationListItemView) layoutInflater.inflate( in createViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeaderViewHolderBinder.java36 public WidgetsListHeaderViewHolderBinder(LayoutInflater layoutInflater, in WidgetsListHeaderViewHolderBinder() argument
40 mLayoutInflater = layoutInflater; in WidgetsListHeaderViewHolderBinder()
DWidgetsListSearchHeaderViewHolderBinder.java37 public WidgetsListSearchHeaderViewHolderBinder(LayoutInflater layoutInflater, in WidgetsListSearchHeaderViewHolderBinder() argument
41 mLayoutInflater = layoutInflater; in WidgetsListSearchHeaderViewHolderBinder()
DWidgetsListAdapter.java119 public WidgetsListAdapter(Context context, LayoutInflater layoutInflater, in WidgetsListAdapter() argument
128 layoutInflater, iconClickListener, iconLongClickListener, in WidgetsListAdapter()
134 layoutInflater, in WidgetsListAdapter()
141 layoutInflater, in WidgetsListAdapter()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkAdapterProvider.java53 public AllAppsGridAdapter.ViewHolder onCreateViewHolder(LayoutInflater layoutInflater, in onCreateViewHolder() argument
57 return new AllAppsGridAdapter.ViewHolder(layoutInflater.inflate(viewId, parent, false)); in onCreateViewHolder()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactListAdapter.java62 final LayoutInflater layoutInflater = LayoutInflater.from(context); in newView() local
63 return layoutInflater.inflate(R.layout.contact_list_item_view, parent, false); in newView()
/packages/apps/Dialer/java/com/android/dialer/rtt/
DRttTranscriptAdapter.java42 LayoutInflater layoutInflater = LayoutInflater.from(context); in onCreateViewHolder() local
43 View view = layoutInflater.inflate(R.layout.rtt_transcript_list_item, parent, false); in onCreateViewHolder()
/packages/apps/Dialer/java/com/android/incallui/maps/impl/
DStaticMapFragment.java52 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
53 return layoutInflater.inflate(R.layout.static_map_fragment, viewGroup, false); in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DToggleButtonActionItem.java158 LayoutInflater layoutInflater = LayoutInflater.from(context); in createView() local
160 return (DrawableStateToggleButton) layoutInflater in createView()
/packages/apps/Dialer/java/com/android/incallui/hold/
DOnHoldFragment.java54 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
55 final View view = layoutInflater.inflate(R.layout.incall_on_hold_banner, viewGroup, false); in onCreateView()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageAdapter.java74 final LayoutInflater layoutInflater = LayoutInflater.from(context); in createViewHolder() local
76 layoutInflater.inflate(R.layout.conversation_message_view, null); in createViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DWidgetsEduView.java134 LayoutInflater layoutInflater = LayoutInflater.from(launcher); in showEducationDialog() local
135 WidgetsEduView v = (WidgetsEduView) layoutInflater.inflate( in showEducationDialog()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
DMicPrivacyChipDialogController.java133 LayoutInflater layoutInflater = LayoutInflater.from(mContext); in show() local
134 if (layoutInflater.getFactory2() == null) { in show()
135 layoutInflater.setFactory2(new CarUiLayoutInflaterFactory()); in show()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java116 final LayoutInflater layoutInflater = (LayoutInflater)getActivity() in createDialogView() local
118 View view = layoutInflater.inflate(R.layout.dialog_edittext, null); in createDialogView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment.java1289 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in createRotationHolder() local
1290 View view = layoutInflater.inflate(R.layout.grid_item_rotation_desktop, parent, false); in createRotationHolder()
1297 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in createIndividualHolder() local
1298 View view = layoutInflater.inflate(R.layout.grid_item_image, parent, false); in createIndividualHolder()
1348 LayoutInflater layoutInflater = LayoutInflater.from(getActivity());
1349 View view = layoutInflater.inflate(R.layout.grid_item_my_photos, parent, false);
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java95 final LayoutInflater layoutInflater = AndroidServices.instance().provideLayoutInflater(); in CaptureIntentModuleUI() local
98 layoutInflater.inflate(R.layout.capture_module, moduleRoot, true); in CaptureIntentModuleUI()

123