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

1 2

  /external/robolectric/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/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...]
ShadowApplication.java 15 import android.view.LayoutInflater;
51 SYSTEM_SERVICE_MAP.put(Context.LAYOUT_INFLATER_SERVICE, "android.view.LayoutInflater");
92 LayoutInflater layoutInflater;
152 return LayoutInflater.from(realApplication);
463 public LayoutInflater getLayoutInflater() {
464 return layoutInflater;
  /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);
  /development/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarSettingsActionProviderActivity.java 24 import android.view.LayoutInflater;
72 LayoutInflater layoutInflater = LayoutInflater.from(getContext());
73 View view = layoutInflater.inflate(R.layout.action_bar_settings_action_provider, null);
  /frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
LongListActivity.java 26 import android.view.LayoutInflater;
52 private LayoutInflater layoutInflater;
65 layoutInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
71 convertView = layoutInflater.inflate(R.layout.list_item, null);
99 View footerView = layoutInflater.inflate(R.layout.list_item, listView, 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/Dialer/src/com/android/dialer/calllog/
CallDetailHistoryAdapter.java 23 import android.view.LayoutInflater;
47 private final LayoutInflater mLayoutInflater;
56 public CallDetailHistoryAdapter(Context context, LayoutInflater layoutInflater,
59 mLayoutInflater = layoutInflater;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
ExpandingEntryCardView.java 37 import android.view.LayoutInflater;
266 LayoutInflater inflater = LayoutInflater.from(context);
292 LayoutInflater layoutInflater = LayoutInflater.from(getContext());
315 inflateAllEntries(layoutInflater);
318 inflateInitialEntries(layoutInflater);
479 private void inflateInitialEntries(LayoutInflater layoutInflater) {
    [all...]
  /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);
  /packages/apps/DeskClock/src/com/android/deskclock/
TimerSetupView.java 26 import android.view.LayoutInflater;
77 LayoutInflater layoutInflater =
78 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
79 layoutInflater.inflate(R.layout.time_setup_view, this);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothNameDialogFragment.java 34 import android.view.LayoutInflater;
124 final LayoutInflater layoutInflater = (LayoutInflater)getActivity()
126 View view = layoutInflater.inflate(R.layout.dialog_edittext, null);
  /packages/apps/Calendar/src/com/android/calendar/event/
CreateEventDialogFragment.java 35 import android.view.LayoutInflater;
129 final LayoutInflater layoutInflater = (LayoutInflater) activity
131 View view = layoutInflater.inflate(R.layout.create_event_dialog, null);
  /development/samples/ContactManager/src/com/example/android/contactmanager/
ContactAdder.java 31 import android.view.LayoutInflater;
371 LayoutInflater layoutInflater = getLayoutInflater();
372 convertView = layoutInflater.inflate(R.layout.account_entry, parent, false);
  /cts/tests/tests/view/src/android/view/cts/
LayoutInflaterTest.java 38 import android.view.LayoutInflater;
41 import android.view.LayoutInflater.Factory;
42 import android.view.LayoutInflater.Filter;
46 private LayoutInflater mLayoutInflater;
72 mLayoutInflater = (LayoutInflater) mContext
78 mLayoutInflater = LayoutInflater.from(mContext);
84 LayoutInflater layoutInflater = new MockLayoutInflater(mLayoutInflater,
86 assertNotNull(layoutInflater);
150 mLayoutInflater = LayoutInflater.from(mContext)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
LabeledEditorView.java 32 import android.view.LayoutInflater;
383 final LayoutInflater layoutInflater = LayoutInflater.from(builder.getContext());
386 final View view = layoutInflater.inflate(R.layout.contact_editor_label_name_dialog, null);
517 private final LayoutInflater mInflater;
523 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  /frameworks/base/core/java/android/preference/
Preference.java 33 import android.view.LayoutInflater;
507 final LayoutInflater layoutInflater =
508 (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
510 final View layout = layoutInflater.inflate(mLayoutResId, parent, false);
516 layoutInflater.inflate(mWidgetLayoutResId, widgetFrame);
    [all...]
  /frameworks/base/core/java/android/widget/
RemoteViewsAdapter.java 39 import android.view.LayoutInflater;
75 private LayoutInflater mLayoutInflater;
463 ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler
508 TextView loadingTextView = (TextView) layoutInflater.inflate(
    [all...]
CalendarView.java 38 import android.view.LayoutInflater;
906 LayoutInflater layoutInflater = (LayoutInflater) mContext
908 View content = layoutInflater.inflate(R.layout.calendar_view, null, false);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java 49 import android.view.LayoutInflater;
391 LayoutInflater layoutInflater = (LayoutInflater)
396 mScreenshotLayout = layoutInflater.inflate(R.layout.global_screenshot, null);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
WallpaperPickerActivity.java 51 import android.view.LayoutInflater;
    [all...]

Completed in 2215 milliseconds

1 2