Home
last modified time | relevance | path

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

123456

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java110 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument
114 if (convertView == null) { in getChildView()
115 convertView = mInflater.inflate(R.layout.bluetooth_map_settings_account_item, null); in getChildView()
117 holder.cb = (CheckBox) convertView.findViewById(R.id.bluetooth_map_settings_item_check); in getChildView()
119 (TextView) convertView.findViewById(R.id.bluetooth_map_settings_item_text_view); in getChildView()
120 convertView.setTag(holder); in getChildView()
122 holder = (ChildHolder) convertView.getTag(); in getChildView()
191 return convertView; in getChildView()
230 View convertView, ViewGroup parent) { in getGroupView() argument
234 if (convertView == null) { in getGroupView()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppViewHolder.java39 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { in createOrRecycle() argument
40 if (convertView == null) { in createOrRecycle()
41 convertView = inflater.inflate(R.layout.preference_app, null); in createOrRecycle()
43 (ViewGroup) convertView.findViewById(android.R.id.widget_frame)); in createOrRecycle()
48 holder.rootView = convertView; in createOrRecycle()
49 holder.appName = (TextView) convertView.findViewById(android.R.id.title); in createOrRecycle()
50 holder.appIcon = (ImageView) convertView.findViewById(android.R.id.icon); in createOrRecycle()
51 holder.summary = (TextView) convertView.findViewById(R.id.widget_text1); in createOrRecycle()
52 holder.disabled = (TextView) convertView.findViewById(R.id.widget_text2); in createOrRecycle()
53 convertView.setTag(holder); in createOrRecycle()
[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/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/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleAndOptionsFragment.java227 public View getView(final int position, final View convertView, final ViewGroup parent) { in getView() argument
229 if (convertView != null && convertView instanceof PeopleOptionsItemView) { in getView()
230 itemView = (PeopleOptionsItemView) convertView; in getView()
260 public View getView(final int position, final View convertView, final ViewGroup parent) { in getView() argument
263 if (convertView != null && convertView instanceof PersonItemView) { in getView()
264 itemView = (PersonItemView) convertView; in getView()
314 public View getHeaderView(final View convertView, final ViewGroup parentView) { in getHeaderView() argument
316 if (convertView != null && convertView.getId() == R.id.people_and_options_header) { in getHeaderView()
317 view = convertView; in getHeaderView()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java324 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
326 if (convertView == null) { in getGroupView()
329 convertView = Utils.inflateCategoryHeader(inflater, parent); in getGroupView()
332 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getGroupView()
342 return convertView; in getGroupView()
346 View convertView, ViewGroup parent) { in getChildView() argument
348 convertView, parent); in getChildView()
598 private View getViewForCertificate(CertHolder certHolder, Tab mTab, View convertView, in getViewForCertificate() argument
601 if (convertView == null) { in getViewForCertificate()
603 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.java296 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
299 if (convertView == null) { in getView()
300 convertView = newDeviceAdminView(parent); in getView()
302 bindView(convertView, (DeviceAdminInfo) o); in getView()
304 if (convertView == null) { in getView()
305 convertView = Utils.inflateCategoryHeader(mInflater, parent); in getView()
307 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getView()
310 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/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/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/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/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/Settings/src/com/android/settings/nfc/
DNfcPaymentPreference.java161 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
164 if (convertView == null) { in getView()
165 convertView = mLayoutInflater.inflate( in getView()
168 holder.imageView = (ImageView) convertView.findViewById(R.id.banner); in getView()
169 holder.radioButton = (RadioButton) convertView.findViewById(R.id.button); in getView()
170 convertView.setTag(holder); in getView()
172 holder = (ViewHolder) convertView.getTag(); in getView()
185 return convertView; in getView()
/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/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/TvSettings/Settings/src/com/android/tv/settings/name/
DSetDeviceNameFragment.java139 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
142 return super.getView(position, convertView, parent); in getView()
146 if (convertView == null) { in getView()
149 convertView = helium.inflate(R.layout.setup_list_item, parent, false); in getView()
155 ((ViewGroup) convertView.findViewById(R.id.list_item_icon)).addView(plusIcon); in getView()
158 TextView itemLabel = (TextView) convertView.findViewById(R.id.list_item_text); in getView()
160 return convertView; in getView()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailAdapter.java54 final boolean isLastChild, final View convertView, final ViewGroup parent) { in getChildView() argument
56 if (convertView == null) { in getChildView()
59 v = (PersonItemView) convertView; in getChildView()
91 final View convertView, final ViewGroup parent) { in getGroupView() argument
93 if (convertView == null) { in getGroupView()
96 v = (PersonItemView) convertView; in getGroupView()
/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/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()

123456