Home
last modified time | relevance | path

Searched refs:layoutInflater (Results 1 – 25 of 43) 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.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/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/individual/
DIndividualPickerFragment.java866 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in createRotationHolder() local
870 view = layoutInflater.inflate(R.layout.grid_item_rotation_desktop, parent, false); in createRotationHolder()
877 view = layoutInflater.inflate(R.layout.grid_item_rotation, parent, false); in createRotationHolder()
883 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in createIndividualHolder() local
884 View view = layoutInflater.inflate(R.layout.grid_item_image, parent, false); in createIndividualHolder()
936 LayoutInflater layoutInflater = LayoutInflater.from(getActivity());
937 View view = layoutInflater.inflate(R.layout.grid_item_my_photos, parent, false);
/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/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java68 LayoutInflater layoutInflater = LayoutInflater.from(context); in setUp() local
71 mAppsRow = layoutInflater.inflate(R.layout.apps_row, null); in setUp()
74 when(mActivity.getLayoutInflater()).thenReturn(layoutInflater); in setUp()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DReviewAccessibilityServicesActivity.java77 LayoutInflater layoutInflater = LayoutInflater.from(this); in createDialogView() local
78 View view = layoutInflater.inflate(R.layout.accessibility_service_dialog, null); in createDialogView()
116 View itemView = layoutInflater.inflate(R.layout.accessibility_service_dialog_item, in createDialogView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategoryFragment.java1027 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in onCreateViewHolder() local
1033 view = layoutInflater.inflate( in onCreateViewHolder()
1037 view = layoutInflater.inflate( in onCreateViewHolder()
1042 view = layoutInflater.inflate( in onCreateViewHolder()
1046 view = layoutInflater.inflate( in onCreateViewHolder()
1050 view = layoutInflater.inflate( in onCreateViewHolder()
1054 view = layoutInflater.inflate( in onCreateViewHolder()
/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/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/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/
DBottomUserEducationView.java130 LayoutInflater layoutInflater = LayoutInflater.from(launcher); in showIfNeeded() local
132 (BottomUserEducationView) layoutInflater.inflate( in showIfNeeded()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsListAdapter.java52 LayoutInflater layoutInflater, AccessibilityContextMenuMaker in TermsListAdapter() argument
56 mInflater = checkNotNull(layoutInflater); in TermsListAdapter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DRenameMobileNetworkDialogFragment.java91 final LayoutInflater layoutInflater = builder.getContext().getSystemService( in onCreateDialog() local
93 final View view = layoutInflater.inflate(R.layout.dialog_mobile_network_rename, null); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragment.java113 final LayoutInflater layoutInflater = (LayoutInflater) requireActivity().getSystemService( in createDialogView() local
116 View view = layoutInflater.inflate(R.layout.preference_dialog_edittext, /* root= */ null); in createDialogView()
/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/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java64 public WidgetsListAdapter(Context context, LayoutInflater layoutInflater, in WidgetsListAdapter() argument
67 mLayoutInflater = layoutInflater; in WidgetsListAdapter()
/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/Dialer/java/com/android/incallui/answer/impl/answermethod/
DTwoButtonMethod.java78 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) { in onCreateView() argument
79 View view = layoutInflater.inflate(R.layout.two_button_method, viewGroup, false); in onCreateView()

12