Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
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()
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()
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()
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()
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()
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()
/frameworks/base/core/tests/coretests/src/android/view/
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()
/frameworks/base/core/java/com/android/internal/view/menu/
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()
DMenuAdapter.java32 private final LayoutInflater mInflater; field in MenuAdapter
38 mInflater = inflater; in MenuAdapter()
82 convertView = mInflater.inflate(mItemLayoutRes, parent, false); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesDialog.java59 LayoutInflater mInflater; field in ForegroundServicesDialog
88 mInflater = LayoutInflater.from(this); in onCreate()
95 p.mCustomTitleView = mInflater.inflate(R.layout.foreground_service_title, null); in onCreate()
166 final LayoutInflater mInflater; field in ForegroundServicesDialog.PackageItemAdapter
172 mInflater = LayoutInflater.from(context); in PackageItemAdapter()
197 view = mInflater.inflate(R.layout.foreground_service_item, parent, false); in getView()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
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()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
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()
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()
/frameworks/base/core/java/android/view/
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()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleOverflow.java50 private LayoutInflater mInflater; field in BubbleOverflow
60 mInflater = LayoutInflater.from(context); in BubbleOverflow()
65 mExpandedView = (BubbleExpandedView) mInflater.inflate( in setUpOverflow()
85 mInflater = LayoutInflater.from(context); in updateIcon()
86 mOverflowBtn = (BadgedImageView) mInflater.inflate(R.layout.bubble_overflow_button, in updateIcon()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
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()
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()
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()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
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()
/frameworks/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java62 private LayoutInflater mInflater; field in SuggestedLocaleAdapter
164 if (convertView == null && mInflater == null) { in getView()
165 mInflater = LayoutInflater.from(parent.getContext()); in getView()
174 convertView = mInflater.inflate(R.layout.language_picker_section_header, in getView()
193 convertView = mInflater.inflate(R.layout.language_picker_item, parent, false); in getView()
/frameworks/opt/localepicker/src/com/android/localepicker/
DSuggestedLocaleAdapter.java67 private LayoutInflater mInflater; field in SuggestedLocaleAdapter
173 if (convertView == null && mInflater == null) { in getView()
174 mInflater = LayoutInflater.from(parent.getContext()); in getView()
183 convertView = mInflater.inflate(R.layout.language_picker_section_header, in getView()
202 convertView = mInflater.inflate(R.layout.language_picker_item, parent, false); in getView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
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()
/frameworks/base/core/java/android/text/method/
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()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DResourceLoadingTest.java35 TransitionInflater mInflater; field in ResourceLoadingTest
47 mInflater = TransitionInflater.from(this); in onCreate()

12