Home
last modified time | relevance | path

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

123456

/packages/apps/UnifiedEmail/src/com/android/mail/adapter/
DDrawerItem.java235 public View getView(View convertView, ViewGroup parent) { in getView() argument
239 result = getFolderView(convertView, parent); in getView()
242 result = getHeaderView(convertView, parent); in getView()
245 result = getAccountView(convertView, parent); in getView()
248 result = getEmptyView(convertView, parent); in getView()
341 private View getAccountView(View convertView, ViewGroup parent) { in getAccountView() argument
343 if (convertView != null) { in getAccountView()
344 accountItemView = (AccountItemView) convertView; in getAccountView()
362 private View getHeaderView(View convertView, ViewGroup parent) { in getHeaderView() argument
364 if (convertView != null) { in getHeaderView()
[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/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/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DDownloadAdapter.java90 public void bindView(View convertView, int position) { in bindView() argument
91 if (!(convertView instanceof DownloadItem)) { in bindView()
96 ((DownloadItem) convertView).setData(downloadId, position, in bindView()
101 retrieveAndSetIcon(convertView); in bindView()
107 setTextForView(convertView, R.id.download_title, title); in bindView()
108 setTextForView(convertView, R.id.domain, mCursor.getString(mDescriptionColumnId)); in bindView()
109 setTextForView(convertView, R.id.size_text, getSizeText()); in bindView()
118 setTextForView(convertView, R.id.status_text, statusText); in bindView()
120 ((DownloadItem) convertView).getCheckBox() in bindView()
175 private void retrieveAndSetIcon(View convertView) { in retrieveAndSetIcon() argument
[all …]
DDateSortedDownloadAdapter.java44 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument
46 if (null == convertView || !(convertView instanceof RelativeLayout)) { in getChildView()
47 convertView = mDelegate.newView(); in getChildView()
52 return convertView; in getChildView()
57 mDelegate.bindView(convertView, pos); in getChildView()
58 return convertView; in getChildView()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1481 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
1484 return getHeaderEntryView(convertView, parent); in getView()
1486 return getSeparatorEntryView(position, convertView, parent); in getView()
1488 return getKindTitleEntryView(position, convertView, parent); in getView()
1490 return getDetailEntryView(position, convertView, parent); in getView()
1492 return getNetworkTitleEntryView(position, convertView, parent); in getView()
1494 return getAddConnectionEntryView(position, convertView, parent); in getView()
1501 private View getHeaderEntryView(View convertView, ViewGroup parent) { in getHeaderEntryView() argument
1509 if (convertView != null) { in getHeaderEntryView()
1510 viewCache = (HeaderViewCache) convertView.getTag(); in getHeaderEntryView()
[all …]
/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/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/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/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/Settings/src/com/android/settings/
DUsageStats.java158 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
166 if (convertView == null) { in getView()
167 convertView = mInflater.inflate(R.layout.usage_stats_item, null); in getView()
172 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name); in getView()
173 holder.launchCount = (TextView) convertView.findViewById(R.id.launch_count); in getView()
174 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time); in getView()
175 convertView.setTag(holder); in getView()
179 holder = (AppViewHolder) convertView.getTag(); in getView()
192 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/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java570 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
572 if (convertView == null) { in getGroupView()
573 convertView = mInflater.inflate( in getGroupView()
577 final TextView text1 = (TextView)convertView.findViewById(android.R.id.text1); in getGroupView()
578 final TextView text2 = (TextView)convertView.findViewById(android.R.id.text2); in getGroupView()
589 return convertView; in getGroupView()
594 View convertView, ViewGroup parent) { in getChildView() argument
595 if (convertView == null) { in getChildView()
596 convertView = mInflater.inflate( in getChildView()
600 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/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/Launcher3/src/com/android/launcher3/
DInstallWidgetReceiver.java120 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
130 if (convertView == null) { in getView()
131 convertView = mInflater.inflate(R.layout.external_widget_drop_list_item, parent, in getView()
141 ImageView i = (ImageView) convertView.findViewById(R.id.provider_icon); in getView()
148 TextView t = (TextView) convertView.findViewById(R.id.provider); in getView()
152 return convertView; in getView()
DAddAdapter.java75 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
78 if (convertView == null) { in getView()
79 convertView = mInflater.inflate(R.layout.add_list_item, parent, false); in getView()
82 TextView textView = (TextView) convertView; in getView()
87 return convertView; 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()
DAddAdapter.java77 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
80 if (convertView == null) { in getView()
81 convertView = mInflater.inflate(R.layout.add_list_item, parent, false); in getView()
84 TextView textView = (TextView) convertView; in getView()
89 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/ContactsCommon/src/com/android/contacts/common/util/
DAccountSelectionUtil.java109 public View getView(int position, View convertView, ViewGroup parent) { in getSelectAccountDialog()
110 if (convertView == null) { in getSelectAccountDialog()
111 convertView = dialogInflater.inflate( in getSelectAccountDialog()
118 (TextView)convertView.findViewById(android.R.id.text1); in getSelectAccountDialog()
120 (TextView)convertView.findViewById(android.R.id.text2); in getSelectAccountDialog()
130 return convertView; in getSelectAccountDialog()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java544 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
546 position, convertView, parent, android.R.layout.simple_spinner_item); in getView()
550 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
552 position, convertView, parent, android.R.layout.simple_spinner_dropdown_item); in getDropDownView()
555 private View createViewFromResource(int position, View convertView, ViewGroup parent, in createViewFromResource() argument
559 if (convertView == null) { in createViewFromResource()
567 textView = (TextView) convertView; in createViewFromResource()

123456