Home
last modified time | relevance | path

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

12345678910>>...15

/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()
DAppSecurityPermissions.java21 import android.view.LayoutInflater;
42 LayoutInflater inflater = (LayoutInflater)context.getSystemService( in getPermissionItemView()
50 private static View getPermissionItemViewOld(Context context, LayoutInflater inflater, in getPermissionItemViewOld()
DSimpleAdapter.java27 import android.view.LayoutInflater;
57 private final LayoutInflater mInflater;
70 private LayoutInflater mDropDownInflater;
96 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in SimpleAdapter()
127 private View createViewFromResource(LayoutInflater inflater, int position, View convertView, in createViewFromResource()
170 mDropDownInflater = LayoutInflater.from(context); in setDropDownViewTheme()
181 final LayoutInflater inflater = mDropDownInflater == null ? mInflater : mDropDownInflater; in getDropDownView()
DResourceCursorTreeAdapter.java21 import android.view.LayoutInflater;
34 private LayoutInflater mInflater;
60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorTreeAdapter()
/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/
DGlifPreferenceLayout.java23 import android.view.LayoutInflater;
94 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
99 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
110 final LayoutInflater inflater = LayoutInflater.from(getContext()); in onTemplateInflated()
DSetupWizardPreferenceLayout.java23 import android.view.LayoutInflater;
93 LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { in onCreateRecyclerView()
98 protected View onInflateTemplate(LayoutInflater inflater, int template) { in onInflateTemplate()
109 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/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/layoutlib/bridge/src/android/view/
DLayoutInflater_Delegate.java59 /* package */ static void rInflate(LayoutInflater thisInflater, XmlPullParser parser, in rInflate()
85 public static void parseInclude(LayoutInflater thisInflater, XmlPullParser parser, in parseInclude()
111 LayoutInflater.consumeChildElements(parser); in parseInclude()
154 LayoutInflater.consumeChildElements(parser); in parseInclude()
234 LayoutInflater.consumeChildElements(parser); in parseInclude()
238 /* package */ static void initPrecompiledViews(LayoutInflater thisInflater) { in initPrecompiledViews()
243 /* package */ static void initPrecompiledViews(LayoutInflater thisInflater, in initPrecompiledViews()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java27 import android.view.LayoutInflater;
137 final LayoutInflater inflater = LayoutInflater.from(getContext()); in inflateTemplate()
166 LayoutInflater inflater, @StyleRes int fallbackTheme, @LayoutRes int template) { in inflateTemplate()
172 LayoutInflater.from(new FallbackThemeWrapper(inflater.getContext(), fallbackTheme)); in inflateTemplate()
187 protected View onInflateTemplate(LayoutInflater inflater, @LayoutRes int template) { in onInflateTemplate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DInjectionInflationController.java23 import android.view.LayoutInflater;
61 private final LayoutInflater.Factory2 mFactory = new InjectionFactory();
81 public LayoutInflater injectable(LayoutInflater inflater) { in injectable()
82 LayoutInflater ret = inflater.cloneInContext(inflater.getContext()); in injectable()
202 private class InjectionFactory implements LayoutInflater.Factory2 {
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java21 import android.view.LayoutInflater;
45 final LayoutInflater inflater = LayoutInflater.from(context); in showSecurityScreen_canInflateAllModes()
DKeyguardStatusViewTest.java25 import android.view.LayoutInflater;
55 LayoutInflater layoutInflater = inflationController in setUp()
56 .injectable(LayoutInflater.from(getContext())); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridGroupManager.java24 import android.view.LayoutInflater;
61 LayoutInflater inflater = new ContextThemeWrapper(mContext, style) in inflateHybridViewWithStyle()
62 .getSystemService(LayoutInflater.class); in inflateHybridViewWithStyle()
70 LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class); in inflateOverflowNumber()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/volume/
DCarVolumeItemAdapter.java20 import android.view.LayoutInflater;
45 LayoutInflater inflater = LayoutInflater.from(mContext); in onCreateViewHolder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaTest.kt6 import android.view.LayoutInflater
30 mKeyguardBottomArea = LayoutInflater.from(mContext).inflate( in setup()
37 val other = LayoutInflater.from(mContext).inflate( in initFrom_doesntCrash()
/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/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/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java31 import android.view.LayoutInflater;
58 LayoutInflater inflater = LayoutInflater.from(mContext); in testInflateFromXml()
67 LayoutInflater inflater = LayoutInflater.from(mContext); in testPrimaryColorFromXml()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListTakeFocusFromSide.java22 import android.view.LayoutInflater;
37 private LayoutInflater mInflater;
42 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewFontFamilyLayoutPerfTest.java22 import android.view.LayoutInflater;
63 final LayoutInflater inflator = in testConstruction()
64 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in testConstruction()
/frameworks/base/core/java/android/view/
DViewStub.java79 private LayoutInflater mInflater;
203 public void setLayoutInflater(LayoutInflater inflater) { in setLayoutInflater()
210 public LayoutInflater getLayoutInflater() { in getLayoutInflater()
266 final LayoutInflater factory; in inflateViewNoAdd()
270 factory = LayoutInflater.from(mContext); in inflateViewNoAdd()

12345678910>>...15