Home
last modified time | relevance | path

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

12345678910>>...23

/frameworks/support/compat/java/android/support/v4/view/
DLayoutInflaterCompat.java25 import android.view.LayoutInflater;
40 static class Factory2Wrapper implements LayoutInflater.Factory2 {
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()
94 public void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory) { in setFactory()
95 final LayoutInflater.Factory2 factory2 = factory != null in setFactory()
100 public void setFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory) { in setFactory2()
103 final LayoutInflater.Factory f = inflater.getFactory(); in setFactory2()
104 if (f instanceof LayoutInflater.Factory2) { in setFactory2()
[all …]
/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/base/tests/testables/src/android/testing/
DLayoutInflaterBuilder.java23 import android.view.LayoutInflater;
43 private LayoutInflater mBuiltInflater;
122 public LayoutInflater build() { in build()
125 LayoutInflater.from(mFromContext).cloneInContext(mTargetContext); in build()
137 private void setFactoryIfNeeded(LayoutInflater inflater) { in setFactoryIfNeeded()
142 new LayoutInflater.Factory() { in setFactoryIfNeeded()
160 private void setFilterIfNeeded(LayoutInflater inflater) { in setFilterIfNeeded()
165 new LayoutInflater.Filter() { in setFilterIfNeeded()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DLayoutInflaterFactoryTestCase.java44 import android.view.LayoutInflater;
70 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testAndroidThemeInflation()
78 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testAppThemeInflation()
89 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testAndroidThemeWithChildrenInflation()
105 LayoutInflater inflater = LayoutInflater.from(activity) in testThemedInflationWithUnattachedParent()
201 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testDeclarativeOnClickWithContextWrapper()
209 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in verifyAppCompatWidgetInflation()
/frameworks/base/core/java/android/widget/
DResourceCursorAdapter.java23 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()
/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.java28 import android.view.LayoutInflater;
48 private LayoutInflater mInflater;
135 public void setLayoutInflater(LayoutInflater inflater) { in setLayoutInflater()
142 public LayoutInflater getLayoutInflater() { in getLayoutInflater()
200 final LayoutInflater factory; in inflate()
204 factory = LayoutInflater.from(getContext()); in inflate()
/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/support/core-ui/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/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DGlifPreferenceLayout.java23 import android.view.LayoutInflater;
95 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, in onCreateRecyclerView()
101 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
112 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
DSetupWizardPreferenceLayout.java23 import android.view.LayoutInflater;
93 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, in onCreateRecyclerView()
99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
110 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
/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/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java50 import android.view.LayoutInflater;
68 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testInflateTabLayoutWithTabItems()
98 final LayoutInflater inflater = in testInflateTabLayoutWithNonTabItem()
99 LayoutInflater.from(mActivityTestRule.getActivity()); in testInflateTabLayoutWithNonTabItem()
112 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testTabWithCustomLayoutSelection1()
132 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testTabWithCustomLayoutSelection2()
152 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testMultipleTabsWithCustomLayoutSelection1()
177 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testMultipleTabsWithCustomLayoutSelection2()
205 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testPointerIcon()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewPerfTest.java41 LayoutInflater inflater = LayoutInflater.from(context); in testSimpleViewInflate()
52 LayoutInflater inflater = LayoutInflater.from(context); in testTwelveKeyInflate()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java27 import android.view.LayoutInflater;
137 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate()
158 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
180 protected final View inflateTemplate(LayoutInflater inflater, @StyleRes int fallbackTheme, in inflateTemplate()
186 inflater = LayoutInflater.from( in inflateTemplate()
/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/support/fragment/tests/java/android/support/v4/app/
DNestedInflatedFragmentTest.java28 import android.view.LayoutInflater;
65 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView()
74 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView()
83 public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, in onCreateView()
/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()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java27 import android.view.LayoutInflater;
46 final LayoutInflater inflater = LayoutInflater.from(context); in showSecurityScreen_canInflateAllModes()
/frameworks/support/v17/leanback/jbmr2/android/support/v17/leanback/widget/
DShadowHelperJbmr2.java18 import android.view.LayoutInflater;
38 LayoutInflater inflater = LayoutInflater.from(shadowContainer.getContext()); in addShadow()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DBaseMenuPresenter.java23 import android.view.LayoutInflater;
42 protected LayoutInflater mSystemInflater;
43 protected LayoutInflater mInflater;
62 mSystemInflater = LayoutInflater.from(context); in BaseMenuPresenter()
70 mInflater = LayoutInflater.from(mContext); in initForMenu()
DListMenuItemView.java28 import android.view.LayoutInflater;
63 private LayoutInflater mInflater;
269 LayoutInflater inflater = getInflater(); in insertIconView()
276 LayoutInflater inflater = getInflater(); in insertRadioButton()
284 LayoutInflater inflater = getInflater(); in insertCheckBox()
301 private LayoutInflater getInflater() { in getInflater()
303 mInflater = LayoutInflater.from(getContext()); in getInflater()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java34 import android.view.LayoutInflater;
60 LayoutInflater inflater = LayoutInflater.from(mContext); in testInflateFromXml()
69 LayoutInflater inflater = LayoutInflater.from(mContext); in testPrimaryColorFromXml()
/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()

12345678910>>...23