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

1 2 3

  /frameworks/support/compat/java/android/support/v4/view/
LayoutInflaterCompat.java 20 import android.view.LayoutInflater;
23 * Helper for accessing features in {@link android.view.LayoutInflater}
29 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory);
30 public LayoutInflaterFactory getFactory(LayoutInflater layoutInflater);
35 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory) {
36 LayoutInflaterCompatBase.setFactory(layoutInflater, factory);
40 public LayoutInflaterFactory getFactory(LayoutInflater layoutInflater)
    [all...]
  /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/support/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarSettingsActionProviderActivity.java 26 import android.view.LayoutInflater;
73 LayoutInflater layoutInflater = LayoutInflater.from(getContext());
74 View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null);
  /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/com/example/android/leanback/
OnboardingDemoFragment.java 22 import android.view.LayoutInflater;
78 protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
79 mBackgroundView = layoutInflater.inflate(R.layout.onboarding_image, viewGroup, false);
84 protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
85 mContentView = layoutInflater.inflate(R.layout.onboarding_content, viewGroup, false);
92 protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
OnboardingDemoSupportFragment.java 24 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) {
  /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);
  /development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/
TeapotNativeActivity.java 22 import android.view.LayoutInflater;
97 LayoutInflater layoutInflater
98 = (LayoutInflater)getBaseContext()
100 View popupView = layoutInflater.inflate(R.layout.widgets, null);
  /development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/moreteapots/
MoreTeapotsNativeActivity.java 24 import android.view.LayoutInflater;
108 LayoutInflater layoutInflater
109 = (LayoutInflater)getBaseContext()
111 View popupView = layoutInflater.inflate(R.layout.widgets, null);
  /packages/apps/Contacts/src/com/android/contacts/interactions/
GroupNameDialogFragment.java 27 import android.view.LayoutInflater;
46 final LayoutInflater layoutInflater = LayoutInflater.from(builder.getContext());
47 final View view = layoutInflater.inflate(R.layout.group_name_dialog, null);
  /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);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallDetailHistoryAdapter.java 23 import android.view.LayoutInflater;
45 private final LayoutInflater mLayoutInflater;
54 public CallDetailHistoryAdapter(Context context, LayoutInflater layoutInflater,
57 mLayoutInflater = layoutInflater;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
ExpandingEntryCardView.java 43 import android.view.LayoutInflater;
302 LayoutInflater inflater = LayoutInflater.from(context);
338 LayoutInflater layoutInflater = LayoutInflater.from(getContext());
362 inflateAllEntries(layoutInflater);
365 inflateInitialEntries(layoutInflater);
555 private void inflateInitialEntries(LayoutInflater layoutInflater) {
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
HifiUltrasoundSpeakerTestActivity.java 31 import android.view.LayoutInflater;
62 private LayoutInflater layoutInflater;
131 layoutInflater = (LayoutInflater) getBaseContext().getSystemService(
133 popupView = layoutInflater.inflate(R.layout.hifi_ultrasound_popup, null);
136 instruView = layoutInflater.inflate(R.layout.hifi_ultrasound_popup_instru, null);
  /cts/tests/tests/widget/src/android/widget/cts/
SimpleCursorAdapterTest.java 30 import android.view.LayoutInflater;
327 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
329 ViewGroup viewGroup = (ViewGroup) layoutInflater.inflate(
343 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
345 ViewGroup viewGroup = (ViewGroup) layoutInflater.inflate(
ResourceCursorAdapterTest.java 27 import android.view.LayoutInflater;
49 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
51 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null);
ResourceCursorTreeAdapterTest.java 27 import android.view.LayoutInflater;
70 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
72 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
DialogTestListActivity.java 27 import android.view.LayoutInflater;
272 LayoutInflater layoutInflater = LayoutInflater.from(mContext);
273 View view = layoutInflater.inflate(R.layout.dialog_custom_view,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NotificationIconAreaController.java 9 import android.view.LayoutInflater;
46 protected View inflateIconArea(LayoutInflater inflater) {
56 LayoutInflater layoutInflater = LayoutInflater.from(context);
57 mNotificationIconArea = inflateIconArea(layoutInflater);
  /frameworks/support/design/tests/src/android/support/design/testutils/
TestUtilsActions.java 31 import android.view.LayoutInflater;
69 final LayoutInflater layoutInflater =
70 LayoutInflater.from(view.getContext());
71 final TabLayout newTabLayout = (TabLayout) layoutInflater.inflate(
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
SortedListActivity.java 26 import android.view.LayoutInflater;
75 final LayoutInflater mLayoutInflater;
76 public SortedListAdapter(LayoutInflater layoutInflater, Item... items) {
77 mLayoutInflater = layoutInflater;

Completed in 415 milliseconds

1 2 3