Home
last modified time | relevance | path

Searched refs:LayoutInflater (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/frameworks/support/v4/honeycomb/android/support/v4/view/
DLayoutInflaterCompatHC.java22 import android.view.LayoutInflater;
35 implements LayoutInflater.Factory2 {
48 static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { in setFactory()
49 final LayoutInflater.Factory2 factory2 = factory != null in setFactory()
53 final LayoutInflater.Factory f = inflater.getFactory(); in setFactory()
54 if (f instanceof LayoutInflater.Factory2) { in setFactory()
57 forceSetFactory2(inflater, (LayoutInflater.Factory2) f); in setFactory()
70 static void forceSetFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory) { in forceSetFactory2()
73 sLayoutInflaterFactory2Field = LayoutInflater.class.getDeclaredField("mFactory2"); in forceSetFactory2()
77 + LayoutInflater.class.getName() in forceSetFactory2()
/frameworks/support/v4/java/android/support/v4/view/
DLayoutInflaterCompat.java20 import android.view.LayoutInflater;
29 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory); in setFactory()
30 public LayoutInflaterFactory getFactory(LayoutInflater layoutInflater); in getFactory()
35 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory) { in setFactory()
40 public LayoutInflaterFactory getFactory(LayoutInflater layoutInflater) { in getFactory()
47 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory) { in setFactory()
54 public void setFactory(LayoutInflater layoutInflater, LayoutInflaterFactory factory) { in setFactory()
84 public static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { in setFactory()
98 public static LayoutInflaterFactory getFactory(LayoutInflater inflater) { in getFactory()
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/androidTest/java/com/android/databinding/multimoduletestapp/
DGeneratedLayoutTest.java23 import android.view.LayoutInflater;
28 LayoutInflater inflater = LayoutInflater.from(getContext()); in testBindToGeneratedLayout()
38 LayoutInflater inflater = LayoutInflater.from(getContext()); in testBindToDefault()
48 LayoutInflater inflater = LayoutInflater.from(getContext()); in testBindToSw600()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DLayoutInflaterFactoryTestCase.java36 import android.view.LayoutInflater;
57 final LayoutInflater inflater = LayoutInflater.from(getActivity()); in testAndroidThemeInflation()
69 final LayoutInflater inflater = LayoutInflater.from(getActivity()); in testAppThemeInflation()
85 LayoutInflater inflater = LayoutInflater.from(getActivity()); in testAndroidThemeWithChildrenInflation()
161 LayoutInflater inflater = LayoutInflater.from(getActivity()); in testDeclarativeOnClickWithContextWrapper()
175 LayoutInflater inflater = LayoutInflater.from(getActivity()); in testAppCompatWidgetInflation()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java29 import android.view.LayoutInflater;
44 final LayoutInflater inflater = in testInflateTabLayoutWithTabItems()
45 LayoutInflater.from(mActivityTestRule.getActivity()); in testInflateTabLayoutWithTabItems()
80 final LayoutInflater inflater = in testInflateTabLayoutWithNonTabItem()
81 LayoutInflater.from(mActivityTestRule.getActivity()); in testInflateTabLayoutWithNonTabItem()
101 final LayoutInflater inflater = in testTabWithCustomLayoutSelection1()
102 LayoutInflater.from(mActivityTestRule.getActivity()); in testTabWithCustomLayoutSelection1()
123 final LayoutInflater inflater = in testTabWithCustomLayoutSelection2()
124 LayoutInflater.from(mActivityTestRule.getActivity()); in testTabWithCustomLayoutSelection2()
/frameworks/base/core/java/android/widget/
DResourceCursorAdapter.java25 import android.view.LayoutInflater;
37 private LayoutInflater mInflater;
38 private LayoutInflater mDropDownInflater;
57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
123 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
DSimpleAdapter.java26 import android.view.LayoutInflater;
55 private final LayoutInflater mInflater;
67 private LayoutInflater mDropDownInflater;
93 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in SimpleAdapter()
124 private View createViewFromResource(LayoutInflater inflater, int position, View convertView, in createViewFromResource()
167 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
178 final LayoutInflater inflater = mDropDownInflater == null ? mInflater : mDropDownInflater; in getDropDownView()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DThemedSpinnerAdapter.java26 import android.view.LayoutInflater;
107 private final LayoutInflater mInflater;
108 private LayoutInflater mDropDownInflater;
112 mInflater = LayoutInflater.from(context); in Helper()
129 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
150 public LayoutInflater getDropDownViewInflater() { in getDropDownViewInflater()
DViewStubCompat.java24 import android.view.LayoutInflater;
43 private LayoutInflater mInflater;
130 public void setLayoutInflater(LayoutInflater inflater) { in setLayoutInflater()
137 public LayoutInflater getLayoutInflater() { in getLayoutInflater()
194 final LayoutInflater factory; in inflate()
198 factory = LayoutInflater.from(getContext()); in inflate()
/frameworks/support/v4/donut/android/support/v4/view/
DLayoutInflaterCompatBase.java21 import android.view.LayoutInflater;
26 static class FactoryWrapper implements LayoutInflater.Factory {
44 static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { in setFactory()
48 static LayoutInflaterFactory getFactory(LayoutInflater inflater) { in getFactory()
49 LayoutInflater.Factory factory = inflater.getFactory(); in getFactory()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDemo0.java21 import android.view.LayoutInflater;
47 LayoutInflater inflater = (LayoutInflater) in sendMessage()
53 LayoutInflater inflater = (LayoutInflater) in sendMessage()
DDemo1.java21 import android.view.LayoutInflater;
52 LayoutInflater inflater = (LayoutInflater) in onCreate()
61 LayoutInflater inflater = (LayoutInflater) in onCreate()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/
DSetupWizardPreferenceLayout.java23 import android.view.LayoutInflater;
98 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, in onCreateRecyclerView()
104 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
115 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
DGlifPreferenceLayout.java23 import android.view.LayoutInflater;
99 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, in onCreateRecyclerView()
105 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
116 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
/frameworks/support/v4/java/android/support/v4/widget/
DResourceCursorAdapter.java23 import android.view.LayoutInflater;
37 private LayoutInflater mInflater;
56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
84 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
101 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneLayoutInflater.java21 import android.view.LayoutInflater;
27 public class PhoneLayoutInflater extends LayoutInflater {
47 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) { in PhoneLayoutInflater()
71 public LayoutInflater cloneInContext(Context newContext) { in cloneInContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DHybridGroupManager.java26 import android.view.LayoutInflater;
52 LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class); in inflateHybridView()
60 LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class); in inflateOverflowNumber()
/frameworks/base/core/java/android/view/
DViewStub.java79 private LayoutInflater mInflater;
188 public void setLayoutInflater(LayoutInflater inflater) { in setLayoutInflater()
195 public LayoutInflater getLayoutInflater() { in getLayoutInflater()
253 final LayoutInflater factory; in inflate()
257 factory = LayoutInflater.from(mContext); in inflate()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DListMenuItemView.java24 import android.view.LayoutInflater;
58 private LayoutInflater mInflater;
256 LayoutInflater inflater = getInflater(); in insertIconView()
263 LayoutInflater inflater = getInflater(); in insertRadioButton()
271 LayoutInflater inflater = getInflater(); in insertCheckBox()
286 private LayoutInflater getInflater() { in getInflater()
288 mInflater = LayoutInflater.from(getContext()); in getInflater()
DBaseMenuPresenter.java21 import android.view.LayoutInflater;
39 protected LayoutInflater mSystemInflater;
40 protected LayoutInflater mInflater;
59 mSystemInflater = LayoutInflater.from(context); in BaseMenuPresenter()
67 mInflater = LayoutInflater.from(mContext); in initForMenu()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DListRowView.java19 import android.view.LayoutInflater;
42 LayoutInflater inflater = LayoutInflater.from(context); in ListRowView()
/frameworks/base/core/java/com/android/internal/view/menu/
DBaseMenuPresenter.java22 import android.view.LayoutInflater;
37 protected LayoutInflater mSystemInflater;
38 protected LayoutInflater mInflater;
57 mSystemInflater = LayoutInflater.from(context); in BaseMenuPresenter()
65 mInflater = LayoutInflater.from(mContext); in initForMenu()
DListMenuItemView.java23 import android.view.LayoutInflater;
56 private LayoutInflater mInflater;
255 LayoutInflater inflater = getInflater(); in insertIconView()
262 LayoutInflater inflater = getInflater(); in insertRadioButton()
270 LayoutInflater inflater = getInflater(); in insertCheckBox()
285 private LayoutInflater getInflater() { in getInflater()
287 mInflater = LayoutInflater.from(mContext); in getInflater()
/frameworks/support/v17/leanback/jbmr2/android/support/v17/leanback/widget/
DShadowHelperJbmr2.java17 import android.view.LayoutInflater;
36 LayoutInflater inflater = LayoutInflater.from(shadowContainer.getContext()); in addShadow()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvArrayAdapter.java19 import android.view.LayoutInflater;
26 private LayoutInflater mLayoutInflater;
48 mLayoutInflater = LayoutInflater.from(viewGroup.getContext()); in onCreateViewHolder()

12345678910>>...20