Searched refs:mInflater (Results 1 - 25 of 67) sorted by relevance

123

/frameworks/base/core/java/android/widget/
H A DResourceCursorAdapter.java37 private LayoutInflater mInflater; field in class:ResourceCursorAdapter
57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
58 mDropDownInflater = mInflater;
80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
81 mDropDownInflater = mInflater;
98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
99 mDropDownInflater = mInflater;
119 } else if (theme == mInflater.getContext().getTheme()) {
120 mDropDownInflater = mInflater;
135 return mInflater
[all...]
H A DResourceCursorTreeAdapter.java34 private LayoutInflater mInflater; field in class:ResourceCursorTreeAdapter
60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
100 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false);
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout,
H A DSimpleAdapter.java55 private final LayoutInflater mInflater; field in class:SimpleAdapter
93 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
121 return createViewFromResource(mInflater, position, convertView, parent, mResource);
163 } else if (theme == mInflater.getContext().getTheme()) {
164 mDropDownInflater = mInflater;
166 final Context context = new ContextThemeWrapper(mInflater.getContext(), theme);
178 final LayoutInflater inflater = mDropDownInflater == null ? mInflater : mDropDownInflater;
H A DSimpleExpandableListAdapter.java52 private LayoutInflater mInflater; field in class:SimpleExpandableListAdapter
210 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
240 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false);
289 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout,
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
H A DResourceCursorAdapter.java37 private LayoutInflater mInflater; field in class:ResourceCursorAdapter
56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
84 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
101 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
112 return mInflater.inflate(mLayout, parent, false);
117 return mInflater.inflate(mDropDownLayout, parent, false);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DThemedSpinnerAdapter.java108 private final LayoutInflater mInflater; field in class:ThemedSpinnerAdapter.Helper
113 mInflater = LayoutInflater.from(context);
127 mDropDownInflater = mInflater;
152 return mDropDownInflater != null ? mDropDownInflater : mInflater;
H A DViewStubCompat.java49 private LayoutInflater mInflater; field in class:ViewStubCompat
137 mInflater = inflater;
144 return mInflater;
202 if (mInflater != null) {
203 factory = mInflater;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListTakeFocusFromSide.java37 private LayoutInflater mInflater; field in class:ListTakeFocusFromSide.ThrashListAdapter
42 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
67 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null);
H A DListThrasher.java51 private LayoutInflater mInflater; field in class:ListThrasher.ThrashListAdapter
64 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
91 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null);
/frameworks/base/core/tests/coretests/src/android/view/
H A DInflateTest.java32 private LayoutInflater mInflater; field in class:InflateTest
40 mInflater = LayoutInflater.from(mContext);
46 // mInflater.inflate(mResId, null, null);
59 mView = mInflater.inflate(resourceId, null);
65 mInflater.inflate(resourceId, null);
67 mInflater.inflate(resourceId, null);
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java33 private LayoutInflater mInflater; field in class:ContextThemeWrapper
166 if (mInflater == null) {
167 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this);
169 return mInflater;
H A DViewStub.java79 private LayoutInflater mInflater; field in class:ViewStub
201 mInflater = inflater;
208 return mInflater;
264 if (mInflater != null) {
265 factory = mInflater;
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DBenchmarkListAdapter.java36 private final LayoutInflater mInflater; field in class:BenchmarkListAdapter
41 mInflater = inflater;
90 convertView = mInflater.inflate(R.layout.benchmark_list_group_row, null);
105 convertView = mInflater.inflate(R.layout.benchmark_list_item, null);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/
H A DContextThemeWrapper.java36 private LayoutInflater mInflater; field in class:ContextThemeWrapper
157 if (mInflater == null) {
158 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this);
160 return mInflater;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuPresenter.java42 LayoutInflater mInflater; field in class:ListMenuPresenter
67 mInflater = LayoutInflater.from(mContext);
84 mInflater = LayoutInflater.from(mContext);
87 if (mInflater == null) {
88 mInflater = LayoutInflater.from(mContext);
100 mMenuView = (ExpandedMenuView) mInflater.inflate(
256 convertView = mInflater.inflate(mItemLayoutRes, parent, false);
H A DMenuAdapter.java32 private final LayoutInflater mInflater; field in class:MenuAdapter
38 mInflater = inflater;
82 convertView = mInflater.inflate(mItemLayoutRes, parent, false);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DListMenuPresenter.java48 LayoutInflater mInflater; field in class:ListMenuPresenter
73 mInflater = LayoutInflater.from(mContext);
90 mInflater = LayoutInflater.from(mContext);
93 if (mInflater == null) {
94 mInflater = LayoutInflater.from(mContext);
106 mMenuView = (ExpandedMenuView) mInflater.inflate(
268 convertView = mInflater.inflate(mItemLayoutRes, parent, false);
H A DMenuAdapter.java40 private final LayoutInflater mInflater; field in class:MenuAdapter
46 mInflater = inflater;
94 convertView = mInflater.inflate(mItemLayoutRes, parent, false);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridThrasher.java53 private LayoutInflater mInflater; field in class:GridThrasher.ThrashListAdapter
66 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
93 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null);
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DStorageBrowser.java49 private final LayoutInflater mInflater; field in class:StorageBrowser.StorageAdapter
53 mInflater = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
75 view = (TextView)mInflater.inflate(
/frameworks/support/asynclayoutinflater/src/main/java/androidx/asynclayoutinflater/view/
H A DAsyncLayoutInflater.java71 LayoutInflater mInflater; field in class:AsyncLayoutInflater
76 mInflater = new BasicInflater(context);
100 request.view = mInflater.inflate(
188 request.view = request.inflater.mInflater.inflate(
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DResourceLoadingTest.java35 TransitionInflater mInflater; field in class:ResourceLoadingTest
47 mInflater = TransitionInflater.from(this);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DOverflowMenuAdapter.java75 LayoutInflater mInflater = LayoutInflater.from(context);
76 convertView = mInflater.inflate(com.android.internal.R.layout.popup_menu_item_layout,
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DForegroundServicesDialog.java59 LayoutInflater mInflater; field in class:ForegroundServicesDialog
84 mInflater = LayoutInflater.from(this);
91 p.mCustomTitleView = mInflater.inflate(R.layout.foreground_service_title, null);
162 final LayoutInflater mInflater; field in class:ForegroundServicesDialog.PackageItemAdapter
168 mInflater = LayoutInflater.from(context);
193 view = mInflater.inflate(R.layout.foreground_service_item, parent, false);
/frameworks/base/core/java/com/android/internal/app/
H A DSuggestedLocaleAdapter.java62 private LayoutInflater mInflater; field in class:SuggestedLocaleAdapter
164 if (convertView == null && mInflater == null) {
165 mInflater = LayoutInflater.from(parent.getContext());
174 convertView = mInflater.inflate(R.layout.language_picker_section_header,
193 convertView = mInflater.inflate(R.layout.language_picker_item, parent, false);

Completed in 944 milliseconds

123