Home
last modified time | relevance | path

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

1234

/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DAttachmentPreviewFactory.java64 public static View createAttachmentPreview(final LayoutInflater layoutInflater, in createAttachmentPreview() argument
71 attachmentView = createPendingAttachmentPreview(layoutInflater, parent, 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
194 final View pendingItemView = layoutInflater.inflate(R.layout.attachment_pending_item, in createPendingAttachmentPreview()
208 private static View createVCardPreview(final LayoutInflater layoutInflater, in createVCardPreview() argument
226 final View view = layoutInflater.inflate(layoutId, parent, false /* attachToRoot */); in createVCardPreview()
251 private static View createAudioPreview(final LayoutInflater layoutInflater, in createAudioPreview() argument
[all …]
/aosp12/packages/apps/Dialer/java/com/android/incallui/sessiondata/
H A 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 …]
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/core/
H A DCarUiInstaller.java321 LayoutInflater layoutInflater = LayoutInflater.from(context); in injectLayoutInflaterFactory() local
322 if (layoutInflater.getFactory2() == null) { in injectLayoutInflaterFactory()
323 layoutInflater.setFactory2(new CarUiLayoutInflaterFactory()); in injectLayoutInflaterFactory()
324 } else if (!(layoutInflater.getFactory2() in injectLayoutInflaterFactory()
326 && !(layoutInflater.getFactory2() in injectLayoutInflaterFactory()
328 throw new AssertionError(layoutInflater.getFactory2() in injectLayoutInflaterFactory()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
H A DStatusBarWindowModule.kt24 fun providesStatusBarWindowView(layoutInflater: LayoutInflater): StatusBarWindowView {
25 return layoutInflater.inflate(
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSectionsManager.kt97 fun initialize(parent: NotificationStackScrollLayout, layoutInflater: LayoutInflater) {
101 reinflateViews(layoutInflater)
107 layoutInflater: LayoutInflater,
118 val inflated = layoutInflater.inflate(layoutResId, parent, false) as T
133 fun reinflateViews(layoutInflater: LayoutInflater) {
139 reinflateView(mediaControlsView, layoutInflater, R.layout.keyguard_media_header)
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A 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()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListAdapter.java59 final LayoutInflater layoutInflater = LayoutInflater.from(context); in createViewHolder() local
61 (ConversationListItemView) layoutInflater.inflate( in createViewHolder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/
H A DKeyguardBouncerModule.java42 static ViewGroup providesRootView(LayoutInflater layoutInflater) { in providesRootView() argument
43 return (ViewGroup) layoutInflater.inflate(R.layout.keyguard_bouncer, null); in providesRootView()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsListHeaderViewHolderBinder.java37 public WidgetsListHeaderViewHolderBinder(LayoutInflater layoutInflater, in WidgetsListHeaderViewHolderBinder() argument
40 mLayoutInflater = layoutInflater; in WidgetsListHeaderViewHolderBinder()
H A DWidgetsListSearchHeaderViewHolderBinder.java38 public WidgetsListSearchHeaderViewHolderBinder(LayoutInflater layoutInflater, in WidgetsListSearchHeaderViewHolderBinder() argument
41 mLayoutInflater = layoutInflater; in WidgetsListSearchHeaderViewHolderBinder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DStructureAdapter.kt31 val layoutInflater = LayoutInflater.from(parent.context) regex
33 layoutInflater.inflate(R.layout.controls_structure_page, parent, false)
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DWorkAdapterProvider.java52 public AllAppsGridAdapter.ViewHolder onCreateViewHolder(LayoutInflater layoutInflater, in onCreateViewHolder() argument
56 return new AllAppsGridAdapter.ViewHolder(layoutInflater.inflate(viewId, parent, false)); in onCreateViewHolder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DSystemUIToast.java75 SystemUIToast(LayoutInflater layoutInflater, Context context, CharSequence text, in SystemUIToast() argument
77 this(layoutInflater, context, text, null, packageName, userId, in SystemUIToast()
81 SystemUIToast(LayoutInflater layoutInflater, Context context, CharSequence text, in SystemUIToast() argument
84 mLayoutInflater = layoutInflater; in SystemUIToast()
H A DToastFactory.java48 LayoutInflater layoutInflater, in ToastFactory() argument
51 mLayoutInflater = layoutInflater; in ToastFactory()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/
H A DStatusBarViewModule.java80 LayoutInflater layoutInflater) { in providesNotificationShadeWindowView() argument
82 layoutInflater.inflate(R.layout.super_notification_shade, /* root= */ null); in providesNotificationShadeWindowView()
102 public static NotificationShelf providesNotificationShelf(LayoutInflater layoutInflater, in providesNotificationShelf() argument
104 NotificationShelf view = (NotificationShelf) layoutInflater.inflate( in providesNotificationShelf()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
H A DClockManager.java127 public ClockManager(Context context, LayoutInflater layoutInflater, in ClockManager() argument
130 this(context, layoutInflater, pluginManager, colorExtractor, in ClockManager()
136 ClockManager(Context context, LayoutInflater layoutInflater, in ClockManager() argument
150 addBuiltinClock(() -> new DefaultClockController(res, layoutInflater, colorExtractor)); in ClockManager()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
H A DAnalogClockControllerTest.java52 LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in setUp() local
53 mClockController = new AnalogClockController(res, layoutInflater, in setUp()
H A DBubbleClockControllerTest.java52 LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in setUp() local
53 mClockController = new BubbleClockController(res, layoutInflater, mMockColorExtractor); in setUp()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A 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 …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherAdapterTest.kt61 private lateinit var layoutInflater: LayoutInflater
72 mContext.addMockSystemService(Context.LAYOUT_INFLATER_SERVICE, layoutInflater)
73 `when`(layoutInflater.inflate(anyInt(), any(ViewGroup::class.java), anyBoolean()))
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/rtt/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/incallui/maps/impl/
H A 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()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DInattentiveSleepWarningView.java48 final LayoutInflater layoutInflater = LayoutInflater.from(mContext); in InattentiveSleepWarningView() local
49 layoutInflater.inflate(R.layout.inattentive_sleep_warning, this, true /* attachToRoot */); in InattentiveSleepWarningView()

1234