HomeSort by relevance Sort by last modified time
    Searched refs:layoutInflater (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
LayoutInflaterTest.java 4 import android.view.LayoutInflater;
16 private LayoutInflater layoutInflater;
20 layoutInflater = LayoutInflater.from(Robolectric.application);
25 assertNotNull(layoutInflater);
26 assertSame(LayoutInflater.from(Robolectric.application), layoutInflater);
27 assertSame(LayoutInflater.from(new ContextWrapper(Robolectric.application)), layoutInflater);
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLayoutInflater.java 5 import android.view.LayoutInflater;
16 * Shadow of {@code LayoutInflater} that actually inflates layouts into {@code View}s that are functional enough to
20 @Implements(LayoutInflater.class)
22 private static AppSingletonizer<LayoutInflater> instances = new LayoutInflaterAppSingletonizer();
26 private static LayoutInflater bind(LayoutInflater layoutInflater, Context context) {
27 shadowOf(layoutInflater).context = context;
28 return layoutInflater;
32 public static LayoutInflater from(Context context)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/
AttachmentPreviewFactory.java 24 import android.view.LayoutInflater;
64 public static View createAttachmentPreview(final LayoutInflater layoutInflater,
71 attachmentView = createPendingAttachmentPreview(layoutInflater, parent,
74 attachmentView = createImagePreview(layoutInflater, attachmentData, parent, viewType,
77 attachmentView = createAudioPreview(layoutInflater, attachmentData, parent, viewType);
79 attachmentView = createVideoPreview(layoutInflater, attachmentData, parent, viewType);
81 attachmentView = createVCardPreview(layoutInflater, attachmentData, parent, viewType);
149 private static View createImagePreview(final LayoutInflater layoutInflater,
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarSettingsActionProviderActivity.java 24 import android.view.LayoutInflater;
88 LayoutInflater layoutInflater = LayoutInflater.from(mContext);
89 View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null);
  /frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
KeyguardStatusViewTest.java 24 import android.view.LayoutInflater;
49 LayoutInflater layoutInflater = LayoutInflater.from(getContext());
51 (KeyguardStatusView) layoutInflater.inflate(R.layout.keyguard_status_view, null);
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
ActionBarSettingsActionProviderActivity.java 22 import android.view.LayoutInflater;
74 LayoutInflater layoutInflater = LayoutInflater.from(getContext());
75 View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null);
  /frameworks/support/samples/ViewPager2Demos/src/main/java/com/example/androidx/viewpager2/cards/
CardView.java 19 import android.view.LayoutInflater;
33 public CardView(LayoutInflater layoutInflater, ViewGroup container) {
34 mView = layoutInflater.inflate(R.layout.item_card_layout, container, false);
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ConversationListAdapter.java 22 import android.view.LayoutInflater;
59 final LayoutInflater layoutInflater = LayoutInflater.from(context);
61 (ConversationListItemView) layoutInflater.inflate(
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
GalleryGridAdapter.java 21 import android.view.LayoutInflater;
59 final LayoutInflater layoutInflater = LayoutInflater.from(context);
60 return layoutInflater.inflate(R.layout.gallery_grid_item_view, parent, false);
  /frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
OnboardingDemoFragment.java 21 import android.view.LayoutInflater;
80 protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
81 mBackgroundView = layoutInflater.inflate(R.layout.onboarding_image, viewGroup, false);
86 protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
87 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
94 protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
OnboardingDemoSupportFragment.java 24 import android.view.LayoutInflater;
83 protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
84 mBackgroundView = layoutInflater.inflate(R.layout.onboarding_image, viewGroup, false);
89 protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
90 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
97 protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
  /packages/apps/Dialer/java/com/android/incallui/sessiondata/
MultimediaFragment.java 28 import android.view.LayoutInflater;
108 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
111 return layoutInflater.inflate(R.layout.fragment_spam, viewGroup, false);
121 return layoutInflater.inflate(
125 return layoutInflater.inflate(R.layout.fragment_composer_image_frag, viewGroup, false);
129 return layoutInflater.inflate(R.layout.fragment_composer_text_frag, viewGroup, false);
132 return layoutInflater.inflate(R.layout.fragment_composer_frag, viewGroup, false);
137 return layoutInflater.inflate(R.layout.fragment_composer_text_image, viewGroup, false);
140 return layoutInflater.inflate(R.layout.fragment_composer_image, viewGroup, false)
    [all...]
  /cts/tests/fragment/src/android/fragment/cts/
FragmentTransactionTest.java 39 import android.view.LayoutInflater;
409 assertEquals(fragment1.layoutInflater, fragment1.getLayoutInflater());
413 LayoutInflater layoutInflater = fragment1.layoutInflater;
422 assertSame(layoutInflater, fragment1.getLayoutInflater());
425 // Popping it should cause onCreateView again, so a new LayoutInflater...
427 assertNotSame(layoutInflater, fragment1.getLayoutInflater());
429 layoutInflater = fragment1.layoutInflater;
    [all...]
  /frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
FragmentTransactionTest.java 35 import android.view.LayoutInflater;
196 assertEquals(fragment1.layoutInflater, fragment1.getLayoutInflater());
200 LayoutInflater layoutInflater = fragment1.layoutInflater;
209 assertSame(layoutInflater, fragment1.getLayoutInflater());
212 // Popping it should cause onCreateView again, so a new LayoutInflater...
214 assertNotSame(layoutInflater, fragment1.getLayoutInflater());
216 layoutInflater = fragment1.layoutInflater;
    [all...]
  /frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
OrientationTest.java 28 import android.view.LayoutInflater;
67 LayoutInflater layoutInflater = (LayoutInflater) checkNotNull(InstrumentationRegistry
69 ViewPager2 viewPager = (ViewPager2) layoutInflater.inflate(layoutId, null);
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactListAdapter.java 21 import android.view.LayoutInflater;
62 final LayoutInflater layoutInflater = LayoutInflater.from(context);
63 return layoutInflater.inflate(R.layout.contact_list_item_view, parent, false);
  /frameworks/av/packages/MediaComponents/src/com/android/media/update/
ApiHelper.java 32 import android.view.LayoutInflater;
73 public static LayoutInflater getLayoutInflater(Context context) {
77 public static LayoutInflater getLayoutInflater(Context context, Theme theme) {
83 LayoutInflater layoutInflater = LayoutInflater.from(context).cloneInContext(
85 layoutInflater.setFactory2(new LayoutInflater.Factory2() {
110 return layoutInflater;
  /packages/apps/Dialer/java/com/android/incallui/hold/
OnHoldFragment.java 27 import android.view.LayoutInflater;
54 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
55 final View view = layoutInflater.inflate(R.layout.incall_on_hold_banner, viewGroup, false);
  /packages/apps/Dialer/java/com/android/incallui/maps/impl/
StaticMapFragment.java 24 import android.view.LayoutInflater;
52 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
53 return layoutInflater.inflate(R.layout.static_map_fragment, viewGroup, false);
  /packages/apps/Messaging/src/com/android/messaging/ui/conversation/
ConversationMessageAdapter.java 21 import android.view.LayoutInflater;
74 final LayoutInflater layoutInflater = LayoutInflater.from(context);
76 layoutInflater.inflate(R.layout.conversation_message_view, null);
  /developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/
MainActivity.kt 65 return (convertView ?: layoutInflater.inflate(R.layout.sample_dashboard_item,
  /developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/
MainActivity.kt 65 return (convertView ?: layoutInflater.inflate(R.layout.sample_dashboard_item,
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
SortedListActivity.java 20 import android.view.LayoutInflater;
77 final LayoutInflater mLayoutInflater;
78 public SortedListAdapter(LayoutInflater layoutInflater, Item... items) {
79 mLayoutInflater = layoutInflater;
  /packages/apps/Dialer/java/com/android/incallui/audioroute/
AudioRouteSelectorDialogFragment.java 28 import android.view.LayoutInflater;
74 LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
75 View view = layoutInflater.inflate(R.layout.audioroute_selector, viewGroup, false);
  /packages/apps/Dialer/java/com/android/incallui/rtt/impl/
RttChatAdapter.java 22 import android.view.LayoutInflater;
50 LayoutInflater layoutInflater = LayoutInflater.from(context);
51 View view = layoutInflater.inflate(R.layout.rtt_chat_list_item, parent, false);

Completed in 786 milliseconds

1 2 3 4