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

  /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);
  /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/DeskClock/src/com/android/deskclock/timer/
TimerListItem.java 21 import android.view.LayoutInflater;
42 LayoutInflater layoutInflater =
43 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
44 layoutInflater.inflate(R.layout.timer_list_item, this);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallDetailHistoryAdapter.java 22 import android.view.LayoutInflater;
41 private final LayoutInflater mLayoutInflater;
62 public CallDetailHistoryAdapter(Context context, LayoutInflater layoutInflater,
66 mLayoutInflater = layoutInflater;
  /cts/tests/tests/widget/src/android/widget/cts/
SimpleCursorAdapterTest.java 28 import android.view.LayoutInflater;
307 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
309 ViewGroup viewGroup = (ViewGroup) layoutInflater.inflate(
321 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
323 ViewGroup viewGroup = (ViewGroup) layoutInflater.inflate(
ResourceCursorAdapterTest.java 26 import android.view.LayoutInflater;
48 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
50 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null);
ResourceCursorTreeAdapterTest.java 26 import android.view.LayoutInflater;
69 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
71 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null);
  /packages/apps/DeskClock/src/com/android/deskclock/
TimerSetupView.java 22 import android.view.LayoutInflater;
52 LayoutInflater layoutInflater =
53 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
54 layoutInflater.inflate(getLayoutId(), this);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothNameDialogFragment.java 34 import android.view.LayoutInflater;
125 final LayoutInflater layoutInflater = (LayoutInflater)getActivity()
127 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);
  /frameworks/base/core/java/android/preference/
Preference.java 33 import android.view.LayoutInflater;
478 final LayoutInflater layoutInflater =
479 (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
481 final View layout = layoutInflater.inflate(mLayoutResId, parent, false);
487 layoutInflater.inflate(mWidgetLayoutResId, widgetFrame);
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
LayoutInflaterTest.java 37 import android.view.LayoutInflater;
40 import android.view.LayoutInflater.Factory;
41 import android.view.LayoutInflater.Filter;
46 private LayoutInflater mLayoutInflater;
70 mLayoutInflater = (LayoutInflater) mContext
76 mLayoutInflater = LayoutInflater.from(mContext);
82 LayoutInflater layoutInflater = new MockLayoutInflater(mLayoutInflater,
84 assertNotNull(layoutInflater);
148 mLayoutInflater = LayoutInflater.from(mContext)
    [all...]
  /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);
  /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/widget/
CalendarView.java 38 import android.view.LayoutInflater;
394 LayoutInflater layoutInflater = (LayoutInflater) mContext
396 View content = layoutInflater.inflate(R.layout.calendar_view, null, false);
    [all...]
RemoteViewsAdapter.java 37 import android.view.LayoutInflater;
72 private LayoutInflater mLayoutInflater;
466 ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler
511 TextView loadingTextView = (TextView) layoutInflater.inflate(
    [all...]
AbsListView.java 47 import android.view.LayoutInflater;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java 50 import android.view.LayoutInflater;
350 LayoutInflater layoutInflater = (LayoutInflater)
355 mScreenshotLayout = layoutInflater.inflate(R.layout.global_screenshot, null);

Completed in 1342 milliseconds