Home
last modified time | relevance | path

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

12345678910>>...27

/frameworks/support/compat/src/main/java/androidx/core/view/
DLayoutInflaterCompat.java23 import android.view.LayoutInflater;
40 static class Factory2Wrapper implements LayoutInflater.Factory2 {
70 private static void forceSetFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory) { in forceSetFactory2()
73 sLayoutInflaterFactory2Field = LayoutInflater.class.getDeclaredField("mFactory2"); in forceSetFactory2()
77 + LayoutInflater.class.getName() in forceSetFactory2()
110 @NonNull LayoutInflater inflater, @NonNull LayoutInflaterFactory factory) { in setFactory()
114 final LayoutInflater.Factory2 factory2 = factory != null in setFactory()
118 final LayoutInflater.Factory f = inflater.getFactory(); in setFactory()
119 if (f instanceof LayoutInflater.Factory2) { in setFactory()
122 forceSetFactory2(inflater, (LayoutInflater.Factory2) f); in setFactory()
[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/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DLayoutInflaterFactoryTestCase.java31 import android.view.LayoutInflater;
69 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testAndroidThemeInflation()
77 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testAppThemeInflation()
86 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testAndroidThemeWithChildrenInflation()
102 LayoutInflater inflater = LayoutInflater.from(activity) in testThemedInflationWithUnattachedParent()
198 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in testDeclarativeOnClickWithContextWrapper()
206 LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); in verifyAppCompatWidgetInflation()
/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/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/main/java/androidx/appcompat/widget/
DThemedSpinnerAdapter.java23 import android.view.LayoutInflater;
108 private final LayoutInflater mInflater;
109 private LayoutInflater mDropDownInflater;
113 mInflater = LayoutInflater.from(context); in Helper()
130 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
151 public LayoutInflater getDropDownViewInflater() { in getDropDownViewInflater()
DViewStubCompat.java26 import android.view.LayoutInflater;
49 private LayoutInflater mInflater;
136 public void setLayoutInflater(LayoutInflater inflater) { in setLayoutInflater()
143 public LayoutInflater getLayoutInflater() { in getLayoutInflater()
201 final LayoutInflater factory; in inflate()
205 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/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
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()
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()
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
DResourceCursorAdapter.java21 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/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;
139 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate()
160 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
182 protected final View inflateTemplate(LayoutInflater inflater, @StyleRes int fallbackTheme, in inflateTemplate()
188 inflater = LayoutInflater.from( in inflateTemplate()
/frameworks/av/packages/MediaComponents/src/com/android/media/update/
DApiHelper.java32 import android.view.LayoutInflater;
73 public static LayoutInflater getLayoutInflater(Context context) { in getLayoutInflater()
77 public static LayoutInflater getLayoutInflater(Context context, Theme theme) { in getLayoutInflater()
83 LayoutInflater layoutInflater = LayoutInflater.from(context).cloneInContext( in getLayoutInflater()
85 layoutInflater.setFactory2(new LayoutInflater.Factory2() { in getLayoutInflater()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardPresentationTest.java22 import android.view.LayoutInflater;
38 LayoutInflater inflater = LayoutInflater.from(getContext()); in testInflation_doesntCrash()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
DContextCompatTest.java37 import android.view.LayoutInflater;
61 String serviceName = ContextCompat.getSystemServiceName(mContext, LayoutInflater.class); in getSystemServiceName()
85 String serviceName = ContextCompat.getSystemServiceName(c, LayoutInflater.class); in getSystemServiceNameCallsRealMethodOn23()
92 LayoutInflater inflater = ContextCompat.getSystemService(mContext, LayoutInflater.class); in getSystemService()
119 LayoutInflater inflater = ContextCompat.getSystemService(c, LayoutInflater.class); in getSystemServiceCallsRealMethodOn23()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DListRowView.java18 import android.view.LayoutInflater;
43 LayoutInflater inflater = LayoutInflater.from(context); in ListRowView()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardStatusViewTest.java24 import android.view.LayoutInflater;
49 LayoutInflater layoutInflater = LayoutInflater.from(getContext()); in setUp()
DKeyguardSecurityContainerTest.java27 import android.view.LayoutInflater;
46 final LayoutInflater inflater = LayoutInflater.from(context); in showSecurityScreen_canInflateAllModes()
/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/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()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DBaseMenuPresenter.java22 import android.view.LayoutInflater;
43 protected LayoutInflater mSystemInflater;
44 protected LayoutInflater mInflater;
63 mSystemInflater = LayoutInflater.from(context); in BaseMenuPresenter()
71 mInflater = LayoutInflater.from(mContext); in initForMenu()

12345678910>>...27