Home
last modified time | relevance | path

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

12

/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.java228 final LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in buildViews() local
247 final View view = AttachmentPreviewFactory.createAttachmentPreview(layoutInflater, in buildViews()
286 mPlusTextView = (TextView) layoutInflater.inflate(R.layout.attachment_more_text_view, in buildViews()
DAttachmentPreview.java212 final LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in onAttachmentsChanged() local
260 layoutInflater, attachment, mAttachmentView, in onAttachmentsChanged()
/packages/apps/Dialer/java/com/android/incallui/sessiondata/
DMultimediaFragment.java108 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
111 return layoutInflater.inflate(R.layout.fragment_spam, viewGroup, false); in onCreateView()
121 return layoutInflater.inflate( in onCreateView()
125 return layoutInflater.inflate(R.layout.fragment_composer_image_frag, viewGroup, false); in onCreateView()
129 return layoutInflater.inflate(R.layout.fragment_composer_text_frag, viewGroup, false); in onCreateView()
132 return layoutInflater.inflate(R.layout.fragment_composer_frag, viewGroup, false); in onCreateView()
137 return layoutInflater.inflate(R.layout.fragment_composer_text_image, viewGroup, false); in onCreateView()
140 return layoutInflater.inflate(R.layout.fragment_composer_image, viewGroup, false); in onCreateView()
144 return layoutInflater.inflate(R.layout.fragment_composer_text, viewGroup, false); in onCreateView()
/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/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceListAdapter.java159 LayoutInflater layoutInflater = LayoutInflater.from(parent.getContext()); in onCreateViewHolder() local
162 v = layoutInflater.inflate(R.layout.single_text_line_item, parent, false); in onCreateViewHolder()
168 v = layoutInflater.inflate(R.layout.single_text_line_item, parent, false); in onCreateViewHolder()
174 v = layoutInflater.inflate(R.layout.icon_widget_line_item, parent, false); in onCreateViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DManageApplicationsTest.java153 final LayoutInflater layoutInflater = mock(LayoutInflater.class); in onCreateView_shouldNotShowLoadingContainer() local
156 when(layoutInflater.inflate(anyInt(), eq(null))).thenReturn(view); in onCreateView_shouldNotShowLoadingContainer()
159 fragment.onCreateView(layoutInflater, mock(ViewGroup.class), null); in onCreateView_shouldNotShowLoadingContainer()
/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/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/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/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/Dialer/java/com/android/incallui/audioroute/
DAudioRouteSelectorDialogFragment.java74 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
75 View view = layoutInflater.inflate(R.layout.audioroute_selector, viewGroup, false); in onCreateView()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java107 final LayoutInflater layoutInflater = (LayoutInflater)getActivity() in createDialogView() local
109 View view = layoutInflater.inflate(R.layout.dialog_edittext, null); in createDialogView()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsListAdapter.java50 TermsListAdapter(List<TermsDocument> termsDocuments, LayoutInflater layoutInflater, in TermsListAdapter() argument
54 mInflater = checkNotNull(layoutInflater); in TermsListAdapter()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java99 public SelfManagedCallListAdapter(LayoutInflater layoutInflater, in SelfManagedCallListAdapter() argument
102 mLayoutInflater = layoutInflater; in SelfManagedCallListAdapter()
/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()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java67 public WidgetsListAdapter(Context context, LayoutInflater layoutInflater, in WidgetsListAdapter() argument
71 mLayoutInflater = layoutInflater; in WidgetsListAdapter()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DTwoButtonMethod.java79 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
80 View view = layoutInflater.inflate(R.layout.two_button_method, viewGroup, false); in onCreateView()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragment.java260 private ItemAdapter(LayoutInflater layoutInflater, List<T> items) { in ItemAdapter() argument
261 mLayoutInflater = layoutInflater; in ItemAdapter()
/packages/apps/Calendar/src/com/android/calendar/event/
DCreateEventDialogFragment.java129 final LayoutInflater layoutInflater = (LayoutInflater) activity in onCreateDialog() local
131 View view = layoutInflater.inflate(R.layout.create_event_dialog, null); in onCreateDialog()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DCollapsedAlarmViewHolder.java263 public Factory(LayoutInflater layoutInflater) { in Factory() argument
264 mLayoutInflater = layoutInflater; in Factory()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java432 final LayoutInflater layoutInflater = LayoutInflater.from(builder.getContext()); in createCustomDialog() local
435 final View view = layoutInflater.inflate(R.layout.contact_editor_label_name_dialog, null); in createCustomDialog()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java137 @NonNull LayoutInflater layoutInflater, in onCreateView()
141 final View view = layoutInflater.inflate(R.layout.frag_incall_voice, viewGroup, false); in onCreateView()

12