Home
last modified time | relevance | path

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

1234

/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 …]
/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/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DFileContentPreviewUi.java70 public ViewGroup display(Resources resources, LayoutInflater layoutInflater, ViewGroup parent) { in display() argument
71 ViewGroup layout = displayInternal(resources, layoutInflater, parent); in display()
77 Resources resources, LayoutInflater layoutInflater, ViewGroup parent) { in displayInternal() argument
78 mContentPreview = (ViewGroup) layoutInflater.inflate( in displayInternal()
DTextContentPreviewUi.java71 public ViewGroup display(Resources resources, LayoutInflater layoutInflater, ViewGroup parent) { in display() argument
72 ViewGroup layout = displayInternal(layoutInflater, parent); in display()
78 LayoutInflater layoutInflater, in displayInternal() argument
80 ViewGroup contentPreviewLayout = (ViewGroup) layoutInflater.inflate( in displayInternal()
DUnifiedContentPreviewUi.java86 public ViewGroup display(Resources resources, LayoutInflater layoutInflater, ViewGroup parent) { in display() argument
87 ViewGroup layout = displayInternal(layoutInflater, parent); in display()
103 private ViewGroup displayInternal(LayoutInflater layoutInflater, ViewGroup parent) { in displayInternal() argument
104 mContentPreviewView = (ViewGroup) layoutInflater.inflate( in displayInternal()
DFilesPlusTextContentPreviewUi.java101 public ViewGroup display(Resources resources, LayoutInflater layoutInflater, ViewGroup parent) { in display() argument
102 ViewGroup layout = displayInternal(layoutInflater, parent); in display()
125 private ViewGroup displayInternal(LayoutInflater layoutInflater, ViewGroup parent) { in displayInternal() argument
126 mContentPreviewView = (ViewGroup) layoutInflater.inflate( in displayInternal()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsTwoPaneSheet.java92 LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in setupSheet() local
96 layoutInflater.inflate(contentLayoutRes, findViewById(R.id.recycler_view_container), true); in setupSheet()
101 new WidgetsListTableViewHolderBinder(mActivityContext, layoutInflater, this, this); in setupSheet()
129 private void setupSuggestedWidgets(LayoutInflater layoutInflater) { in setupSuggestedWidgets() argument
134 mSuggestedWidgetsHeader = (WidgetsListHeader) layoutInflater.inflate( in setupSuggestedWidgets()
DWidgetsListHeaderViewHolderBinder.java37 public WidgetsListHeaderViewHolderBinder(LayoutInflater layoutInflater, in WidgetsListHeaderViewHolderBinder() argument
39 mLayoutInflater = layoutInflater; in WidgetsListHeaderViewHolderBinder()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/recents/view/
DRecentTasksAdapter.java66 public RecentTasksAdapter(Context context, LayoutInflater layoutInflater, in RecentTasksAdapter() argument
68 this(context, layoutInflater, itemTouchHelper, RecentTasksViewModel.getInstance(), in RecentTasksAdapter()
73 public RecentTasksAdapter(Context context, LayoutInflater layoutInflater, in RecentTasksAdapter() argument
78 mLayoutInflater = layoutInflater; in RecentTasksAdapter()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchView.java142 @NonNull LayoutInflater layoutInflater, in createAndAddTaskView() argument
145 KeyboardQuickSwitchTaskView taskView = (KeyboardQuickSwitchTaskView) layoutInflater.inflate( in createAndAddTaskView()
181 @NonNull LayoutInflater layoutInflater, in createAndAddOverviewButton() argument
185 (KeyboardQuickSwitchTaskView) layoutInflater.inflate( in createAndAddOverviewButton()
219 LayoutInflater layoutInflater = LayoutInflater.from(context); in applyLoadPlan() local
227 layoutInflater, in applyLoadPlan()
237 layoutInflater, in applyLoadPlan()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/contentpreview/
DFilesPlusTextContentPreviewUiTest.kt166 val layoutInflater = LayoutInflater.from(context) in <lambda>() constant
167 val gridLayout = layoutInflater.inflate(R.layout.chooser_grid, null, false) as ViewGroup in <lambda>()
200 val layoutInflater = LayoutInflater.from(context) in <lambda>() constant
201 val gridLayout = layoutInflater.inflate(R.layout.chooser_grid, null, false) as ViewGroup in <lambda>()
/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/Launcher/src/com/android/car/carlauncher/recyclerview/
DAppGridAdapter.java84 LayoutInflater layoutInflater, LauncherViewModel dataModel, in AppGridAdapter() argument
87 this(context, numOfCols, numOfRows, pageOrientation, layoutInflater, in AppGridAdapter()
93 LayoutInflater layoutInflater, LauncherViewModel dataModel, in AppGridAdapter() argument
97 mInflater = layoutInflater; in AppGridAdapter()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerFragment2.kt828 val layoutInflater = LayoutInflater.from(activity) in <lambda>() constant
829 val view: View = layoutInflater.inflate(R.layout.grid_item_image, parent, false) in <lambda>()
834 val layoutInflater = LayoutInflater.from(activity) in <lambda>() constant
836 layoutInflater.inflate(R.layout.creative_category_holder, parent, false) in <lambda>()
847 val layoutInflater = LayoutInflater.from(activity) in <lambda>() constant
848 val view: View = layoutInflater.inflate(R.layout.grid_item_my_photos, parent, false) in <lambda>()
870 val layoutInflater = LayoutInflater.from(activity) in <lambda>() constant
872 layoutInflater.inflate(R.layout.grid_item_header, parent, /* attachToRoot= */ false) in <lambda>()
DCreativeCategoryAdapter.kt53 val layoutInflater = LayoutInflater.from(activity) in createIndividualHolder() constant
54 val view: View = layoutInflater.inflate(R.layout.labeled_grid_item_image, parent, false) in createIndividualHolder()
/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/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategorySelectorFragment.java709 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in onCreateViewHolder() local
714 view = layoutInflater.inflate(R.layout.grid_item_category, in onCreateViewHolder()
718 view = layoutInflater.inflate(R.layout.grid_item_category, in onCreateViewHolder()
722 view = layoutInflater.inflate(R.layout.grid_item_category, in onCreateViewHolder()
816 LayoutInflater layoutInflater = LayoutInflater.from(getActivity()); in onCreateViewHolder() local
820 View view = layoutInflater.inflate(R.layout.my_photos, in onCreateViewHolder()
824 view = layoutInflater.inflate(R.layout.creative_wallpaper, in onCreateViewHolder()
828 view = layoutInflater.inflate(R.layout.grid_item_category, 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/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/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectDialog.java108 LayoutInflater layoutInflater = context.getSystemService(LayoutInflater.class); in createDialog() local
111 (DialogTitle) layoutInflater.inflate(R.layout.user_select_title, null); in createDialog()
114 View contentView = layoutInflater.inflate(R.layout.user_select, null); in createDialog()
/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()

1234