Home
last modified time | relevance | path

Searched refs:convertView (Results 1 – 25 of 147) sorted by relevance

123456

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapEmailSettingsAdapter.java109 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument
113 if (convertView == null) { in getChildView()
114convertView = mInflater.inflate(R.layout.bluetooth_map_email_settings_account_item, null); in getChildView()
116 … holder.cb = (CheckBox) convertView.findViewById(R.id.bluetooth_map_email_settings_item_check); in getChildView()
117 …holder.title = (TextView) convertView.findViewById(R.id.bluetooth_map_email_settings_item_text_vie… in getChildView()
118 convertView.setTag(holder); in getChildView()
120 holder = (ChildHolder) convertView.getTag(); in getChildView()
186 return convertView; in getChildView()
225 View convertView, ViewGroup parent) { in getGroupView() argument
229 if (convertView == null) { in getGroupView()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActionBar.java128 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
129 if (convertView == null) { in getView()
130 convertView = mInflater.inflate(R.layout.action_bar_text, in getView()
133 TextView view = (TextView) convertView; in getView()
135 return convertView; in getView()
156 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
157 if (convertView == null) { in getView()
158 convertView = mInflater.inflate(R.layout.action_bar_two_line_text, in getView()
161 TwoLineListItem view = (TwoLineListItem) convertView; in getView()
164 return convertView; in getView()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppViewHolder.java23 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { in createOrRecycle() argument
24 if (convertView == null) { in createOrRecycle()
25 convertView = inflater.inflate(R.layout.manage_applications_item, null); in createOrRecycle()
30 holder.rootView = convertView; in createOrRecycle()
31 holder.appName = (TextView) convertView.findViewById(R.id.app_name); in createOrRecycle()
32 holder.appIcon = (ImageView) convertView.findViewById(R.id.app_icon); in createOrRecycle()
33 holder.appSize = (TextView) convertView.findViewById(R.id.app_size); in createOrRecycle()
34 holder.disabled = (TextView) convertView.findViewById(R.id.app_disabled); in createOrRecycle()
35 holder.checkBox = (CheckBox) convertView.findViewById(R.id.app_on_sdcard); in createOrRecycle()
36 convertView.setTag(holder); in createOrRecycle()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java184 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
185 if (convertView == null) { in getView()
186 convertView = getScrapView(parent); in getView()
189 TextView title = (TextView) convertView.findViewById(R.id.action_title); in getView()
190 TextView description = (TextView) convertView.findViewById(R.id.action_description); in getView()
195 ImageView checkmarkView = (ImageView) convertView.findViewById(R.id.action_checkmark); in getView()
198 ImageView indicatorView = (ImageView) convertView.findViewById(R.id.action_icon); in getView()
201 ImageView chevronView = (ImageView) convertView.findViewById(R.id.action_next_chevron); in getView()
204 View chevronBackgroundView = convertView.findViewById(R.id.action_next_chevron_background); in getView()
207 final Resources res = convertView.getContext().getResources(); in getView()
[all …]
/packages/apps/Browser/src/com/android/browser/addbookmark/
DFolderSpinnerAdapter.java106 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
107 if (convertView == null) { in getDropDownView()
108 convertView = mInflater.inflate( in getDropDownView()
111 bindView(position, convertView, true); in getDropDownView()
112 return convertView; in getDropDownView()
116 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
117 if (convertView == null) { in getView()
118 convertView = mInflater.inflate(android.R.layout.simple_spinner_item, in getView()
121 bindView(position, convertView, false); in getView()
122 return convertView; in getView()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java319 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
321 if (convertView == null) { in getGroupView()
324 convertView = inflateCategoryHeader(inflater, parent); in getGroupView()
327 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getGroupView()
337 return convertView; in getGroupView()
341 View convertView, ViewGroup parent) { in getChildView() argument
343 convertView, parent); in getChildView()
602 private View getViewForCertificate(CertHolder certHolder, Tab mTab, View convertView, in getViewForCertificate() argument
605 if (convertView == null) { in getViewForCertificate()
607 convertView = inflater.inflate(R.layout.trusted_credential, parent, false); in getViewForCertificate()
[all …]
DUsageStatsActivity.java167 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
175 if (convertView == null) { in getView()
176 convertView = mInflater.inflate(R.layout.usage_stats_item, null); in getView()
181 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name); in getView()
182 holder.lastTimeUsed = (TextView) convertView.findViewById(R.id.last_time_used); in getView()
183 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time); in getView()
184 convertView.setTag(holder); in getView()
188 holder = (AppViewHolder) convertView.getTag(); in getView()
203 return convertView; in getView()
DDeviceAdminSettings.java297 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
300 if (convertView == null) { in getView()
301 convertView = newDeviceAdminView(parent); in getView()
303 bindView(convertView, (DeviceAdminInfo) o); in getView()
305 if (convertView == null) { in getView()
306 convertView = newTitleView(parent); in getView()
308 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getView()
311 return convertView; in getView()
/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java479 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
480 return mAdapter.getGroupView(position, false, convertView, parent); in getView()
514 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
516 false, convertView, parent); in getView()
600 View convertView, ViewGroup parent) { in getGroupView() argument
606 if (null == convertView || !(convertView instanceof TextView)) { in getGroupView()
610 item = (TextView) convertView; in getGroupView()
615 return super.getGroupView(groupPosition, isExpanded, convertView, parent); in getGroupView()
633 View convertView, ViewGroup parent) { in getChildView() argument
635 if (null == convertView || !(convertView instanceof HistoryItem)) { in getChildView()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
DUserPresetsAdapter.java93 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
95 if (convertView == null) { in getView()
96 convertView = mInflater.inflate(R.layout.filtershow_presets_management_row, null); in getView()
98 viewHolder.imageView = (ImageView) convertView.findViewById(R.id.imageView); in getView()
99 viewHolder.editText = (EditText) convertView.findViewById(R.id.editView); in getView()
100 viewHolder.deleteButton = (ImageButton) convertView.findViewById(R.id.deleteUserPreset); in getView()
104 convertView.setTag(viewHolder); in getView()
106 viewHolder = (UserPresetViewHolder) convertView.getTag(); in getView()
118 return convertView; in getView()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionViewInflater.java63 View convertView, ViewGroup parent) { in getView() argument
64 if (convertView == null || !convertView.getClass().equals(mViewClass)) { in getView()
66 convertView = getInflater().inflate(layoutId, parent, false); in getView()
68 if (!(convertView instanceof SuggestionView)) { in getView()
69 throw new IllegalArgumentException("Not a SuggestionView: " + convertView); in getView()
71 ((SuggestionView) convertView).bindAsSuggestion(suggestion, userQuery); in getView()
72 return convertView; in getView()
/packages/apps/Browser/src/com/android/browser/util/
DThreadedCursorAdapter.java163 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
164 if (convertView == null) { in getView()
165 convertView = newView(mContext, parent); in getView()
168 LoadContainer container = (LoadContainer) convertView.getTag(R.id.load_object); in getView()
171 container.view = new WeakReference<View>(convertView); in getView()
172 convertView.setTag(R.id.load_object, container); in getView()
178 bindView(convertView, container.bind_object); in getView()
180 bindView(convertView, cachedLoadObject()); in getView()
189 return convertView; in getView()
/packages/apps/Contacts/src/com/android/contacts/
DSplitAggregateView.java235 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
236 if (convertView == null) { in getView()
237 convertView = mInflater.inflate(R.layout.split_aggregate_list_item, parent, false); in getView()
240 SplitAggregateItemCache cache = (SplitAggregateItemCache)convertView.getTag(); in getView()
243 cache.name = (TextView)convertView.findViewById(R.id.name); in getView()
244 cache.additionalData = (TextView)convertView.findViewById(R.id.additionalData); in getView()
245 cache.sourceIcon = (ImageView)convertView.findViewById(R.id.sourceIcon); in getView()
246 convertView.setTag(cache); in getView()
263 return convertView; in getView()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmFavoriteActivity.java302 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
304 if (null == convertView) { in getView()
306 convertView = mInflater.inflate(R.layout.station_item, null); in getView()
307 viewHolder.mStationTypeView = (ImageView) convertView in getView()
309 viewHolder.mStationFreqView = (TextView) convertView in getView()
311 viewHolder.mStationNameView = (TextView) convertView in getView()
313 viewHolder.mStationRdsView = (TextView) convertView in getView()
315 viewHolder.mImgLayout = (RelativeLayout) convertView in getView()
317 convertView.setTag(viewHolder); in getView()
319 viewHolder = (ViewHolder) convertView.getTag(); in getView()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java573 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
575 if (convertView == null) { in getGroupView()
576 convertView = mInflater.inflate( in getGroupView()
580 final TextView text1 = (TextView)convertView.findViewById(android.R.id.text1); in getGroupView()
581 final TextView text2 = (TextView)convertView.findViewById(android.R.id.text2); in getGroupView()
592 return convertView; in getGroupView()
597 View convertView, ViewGroup parent) { in getChildView() argument
598 if (convertView == null) { in getChildView()
599 convertView = mInflater.inflate( in getChildView()
603 final TextView text1 = (TextView)convertView.findViewById(android.R.id.text1); in getChildView()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java164 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
170 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView()
177 v = convertView; in getView()
211 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView()
219 v = convertView; in getView()
260 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
290 v = convertView; in getDropDownView()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java98 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
100 if (convertView == null) { in getView()
101 convertView = mInflater.inflate(R.layout.live_wallpaper_entry, parent, false); in getView()
104 holder.title = (TextView) convertView.findViewById(R.id.title); in getView()
105 holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail); in getView()
106 convertView.setTag(holder); in getView()
108 holder = (ViewHolder) convertView.getTag(); in getView()
124 return convertView; in getView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
DSetDeviceNameFragment.java124 public View getView(int position, View convertView, ViewGroup parent) { in setupList()
127 return super.getView(position, convertView, parent); in setupList()
131 if (convertView == null) { in setupList()
134 convertView = helium.inflate(R.layout.setup_list_item, null); in setupList()
140 ((FrameLayout) convertView.findViewById(R.id.list_item_icon)).addView(plusIcon); in setupList()
143 TextView itemLabel = (TextView) convertView.findViewById(R.id.list_item_text); in setupList()
145 return convertView; in setupList()
/packages/apps/Stk/src/com/android/stk/
DStkMenuAdapter.java46 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
49 if (convertView == null) { in getView()
50 convertView = mInflater.inflate(R.layout.stk_menu_item, parent, in getView()
55 ((TextView) convertView.findViewById(R.id.text)).setText(item.text); in getView()
57 ImageView imageView = ((ImageView) convertView.findViewById(R.id.icon)); in getView()
65 return convertView; in getView()
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java374 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
383 if (convertView == null) { in getView()
384 convertView = new View(parent.getContext()); in getView()
388 convertView.setVisibility(View.INVISIBLE); in getView()
389 convertView.setMinimumHeight(headerViewContainer.getHeight()); in getView()
390 return convertView; in getView()
400 return mAdapter.getView(adjPosition, convertView, parent); in getView()
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallWidgetReceiver.java125 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
135 if (convertView == null) { in getView()
136 convertView = mInflater.inflate(R.layout.external_widget_drop_list_item, parent, in getView()
146 ImageView i = (ImageView) convertView.findViewById(R.id.provider_icon); in getView()
153 TextView t = (TextView) convertView.findViewById(R.id.provider); in getView()
157 return convertView; in getView()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DKeyboardLayoutDialogFragment.java229 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
242 return inflateOneLine(convertView, parent, label, checked); in getView()
244 return inflateTwoLine(convertView, parent, label, collection, checked); in getView()
248 private View inflateOneLine(View convertView, ViewGroup parent, in inflateOneLine() argument
250 View view = convertView; in inflateOneLine()
263 private View inflateTwoLine(View convertView, ViewGroup parent, in inflateTwoLine() argument
265 View view = convertView; in inflateTwoLine()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMaterialSearchSuggestionsList.java204 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
205 if (convertView == null) { in getView()
206 convertView = getInflater().inflate(mResId, parent, false); in getView()
211 (TextView) convertView.findViewById(R.id.search_overlay_item_text); in getView()
215 ((ImageView) convertView.findViewById(R.id.search_overlay_item_icon)) in getView()
218 return convertView; in getView()
DFolderListFragment.java905 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
907 final View view = item.getView(convertView, parent); in getView()
1233 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
1237 if (convertView != null) { in getView()
1238 folderItemView = (FolderItemView) convertView; in getView()
1338 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
1340 return item.getView(convertView, parent); in getView()
1419 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
1420 return getItem(position).getView(convertView, parent); in getView()
1666 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DSearchResultsSummary.java455 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
456 if (!mDataValid && convertView == null) { in getView()
466 if (convertView == null) { in getView()
469 view = convertView; in getView()
587 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
588 if (!mDataValid && convertView == null) { in getView()
600 if (convertView == null) { in getView()
603 view = convertView; in getView()

123456