Home
last modified time | relevance | path

Searched refs:mInflater (Results 1 – 25 of 46) sorted by relevance

12

/aosp14/frameworks/base/core/java/android/widget/
H A DResourceCursorAdapter.java37 private LayoutInflater mInflater; field in ResourceCursorAdapter
57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
58 mDropDownInflater = mInflater; in ResourceCursorAdapter()
80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
81 mDropDownInflater = mInflater; in ResourceCursorAdapter()
98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter()
99 mDropDownInflater = mInflater; in ResourceCursorAdapter()
119 } else if (theme == mInflater.getContext().getTheme()) { in setDropDownViewTheme()
120 mDropDownInflater = mInflater; in setDropDownViewTheme()
135 return mInflater.inflate(mLayout, parent, false); in newView()
H A DResourceCursorTreeAdapter.java34 private LayoutInflater mInflater; field in ResourceCursorTreeAdapter
60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorTreeAdapter()
100 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false); in newChildView()
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
H A DSimpleAdapter.java57 private final LayoutInflater mInflater; field in SimpleAdapter
96 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in SimpleAdapter()
124 return createViewFromResource(mInflater, position, convertView, parent, mResource); in getView()
166 } else if (theme == mInflater.getContext().getTheme()) { in setDropDownViewTheme()
167 mDropDownInflater = mInflater; in setDropDownViewTheme()
169 final Context context = new ContextThemeWrapper(mInflater.getContext(), theme); in setDropDownViewTheme()
181 final LayoutInflater inflater = mDropDownInflater == null ? mInflater : mDropDownInflater; in getDropDownView()
H A DSimpleExpandableListAdapter.java52 private LayoutInflater mInflater; field in SimpleExpandableListAdapter
210 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in SimpleExpandableListAdapter()
240 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false); in newChildView()
289 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
H A DArrayAdapter.java81 private final LayoutInflater mInflater; field in ArrayAdapter
213 mInflater = LayoutInflater.from(context); in ArrayAdapter()
416 return createViewFromResource(mInflater, position, convertView, parent, mResource); in getView()
485 } else if (theme == mInflater.getContext().getTheme()) { in setDropDownViewTheme()
486 mDropDownInflater = mInflater; in setDropDownViewTheme()
501 final LayoutInflater inflater = mDropDownInflater == null ? mInflater : mDropDownInflater; in getDropDownView()
H A DYearPickerView.java114 private final LayoutInflater mInflater; field in YearPickerView.YearAdapter
121 mInflater = LayoutInflater.from(context); in YearAdapter()
177 v = (TextView) mInflater.inflate(ITEM_LAYOUT, parent, false); in getView()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DInflateTest.java30 private LayoutInflater mInflater; field in InflateTest
38 mInflater = LayoutInflater.from(mContext); in setUp()
57 mView = mInflater.inflate(resourceId, null); in inflateTest()
63 mInflater.inflate(resourceId, null); in inflateCachedTest()
65 mInflater.inflate(resourceId, null); in inflateCachedTest()
/aosp14/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuPresenter.java42 LayoutInflater mInflater; field in ListMenuPresenter
67 mInflater = LayoutInflater.from(mContext); in ListMenuPresenter()
84 mInflater = LayoutInflater.from(mContext); in initForMenu()
87 if (mInflater == null) { in initForMenu()
88 mInflater = LayoutInflater.from(mContext); in initForMenu()
100 mMenuView = (ExpandedMenuView) mInflater.inflate( in getMenuView()
256 convertView = mInflater.inflate(mItemLayoutRes, parent, false); in getView()
H A DMenuAdapter.java32 private final LayoutInflater mInflater; field in MenuAdapter
38 mInflater = inflater; in MenuAdapter()
82 convertView = mInflater.inflate(mItemLayoutRes, parent, false); in getView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DForegroundServicesDialog.java59 LayoutInflater mInflater; field in ForegroundServicesDialog
87 mInflater = LayoutInflater.from(this); in onCreate()
94 p.mCustomTitleView = mInflater.inflate(R.layout.foreground_service_title, null); in onCreate()
165 final LayoutInflater mInflater; field in ForegroundServicesDialog.PackageItemAdapter
171 mInflater = LayoutInflater.from(context); in PackageItemAdapter()
196 view = mInflater.inflate(R.layout.foreground_service_item, parent, false); in getView()
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DBenchmarkListAdapter.java36 private final LayoutInflater mInflater; field in BenchmarkListAdapter
41 mInflater = inflater; in BenchmarkListAdapter()
90 convertView = mInflater.inflate(R.layout.benchmark_list_group_row, null); in getGroupView()
105 convertView = mInflater.inflate(R.layout.benchmark_list_item, null); in getChildView()
/aosp14/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java39 private LayoutInflater mInflater; field in ContextThemeWrapper
183 if (mInflater == null) { in getSystemService()
184 mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this); in getSystemService()
186 return mInflater; in getSystemService()
H A DViewStub.java79 private LayoutInflater mInflater; field in ViewStub
204 mInflater = inflater; in setLayoutInflater()
211 return mInflater; in getLayoutInflater()
267 if (mInflater != null) { in inflateViewNoAdd()
268 factory = mInflater; in inflateViewNoAdd()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListTakeFocusFromSide.java37 private LayoutInflater mInflater; field in ListTakeFocusFromSide.ThrashListAdapter
42 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()
67 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null); in getView()
H A DListThrasher.java51 private LayoutInflater mInflater; field in ListThrasher.ThrashListAdapter
64 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()
91 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null); in getView()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DSuggestedLocaleAdapter.java68 protected LayoutInflater mInflater; field in SuggestedLocaleAdapter
218 if (convertView == null && mInflater == null) { in getView()
219 mInflater = LayoutInflater.from(parent.getContext()); in getView()
278 updatedView = mInflater.inflate( in getNewViewIfNeeded()
287 updatedView = mInflater.inflate( in getNewViewIfNeeded()
296 updatedView = mInflater.inflate( in getNewViewIfNeeded()
305 updatedView = mInflater.inflate( in getNewViewIfNeeded()
314 updatedView = mInflater.inflate(R.layout.language_picker_item, parent, false); in getNewViewIfNeeded()
H A DBilingualSuggestedLocaleAdapter.java68 if (convertView == null && super.mInflater == null) { in getView()
69 mInflater = LayoutInflater.from(parent.getContext()); in getView()
79 mInflater.inflate( in getView()
101 mInflater.inflate( in getView()
/aosp14/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DStorageBrowser.java49 private final LayoutInflater mInflater; field in StorageBrowser.StorageAdapter
53 mInflater = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in StorageAdapter()
75 view = (TextView)mInflater.inflate( in getView()
H A DCameraBrowser.java53 private final LayoutInflater mInflater; field in CameraBrowser.CameraAdapter
57 mInflater = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in CameraAdapter()
75 view = (TwoLineListItem)mInflater.inflate( in getView()
H A DObjectBrowser.java56 private final LayoutInflater mInflater; field in ObjectBrowser.ObjectAdapter
60 mInflater = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ObjectAdapter()
82 view = mInflater.inflate(R.layout.object_list, parent, false); in getView()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridThrasher.java53 private LayoutInflater mInflater; field in GridThrasher.ThrashListAdapter
66 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ThrashListAdapter()
93 view = (TextView) mInflater.inflate(android.R.layout.simple_list_item_1, null); in getView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSegmentedButtons.java38 protected final LayoutInflater mInflater; field in SegmentedButtons
47 mInflater = LayoutInflater.from(mContext); in SegmentedButtons()
78 return (Button) mInflater.inflate(R.layout.segmented_button, this, false); in inflateButton()
/aosp14/frameworks/base/core/java/android/text/method/
H A DCharacterPickerDialog.java47 private LayoutInflater mInflater; field in CharacterPickerDialog
64 mInflater = LayoutInflater.from(context); in CharacterPickerDialog()
125 mInflater.inflate(R.layout.character_picker_button, null); in getView()
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DResourceLoadingTest.java35 TransitionInflater mInflater; field in ResourceLoadingTest
47 mInflater = TransitionInflater.from(this); in onCreate()
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
H A DA11yMenuAdapter.java45 private final LayoutInflater mInflater; field in A11yMenuAdapter
53 mInflater = LayoutInflater.from(service); in A11yMenuAdapter()
78 convertView = mInflater.inflate(R.layout.grid_item, null); in getView()

12