Searched refs:convertView (Results 26 - 50 of 145) sorted by relevance

123456

/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
H A DFooterItem.java88 public View getView(View convertView, ViewGroup parent) { argument
90 if (convertView != null) {
91 footerItemView = (ViewGroup) convertView;
/packages/apps/Contacts/src/com/android/contacts/list/
H A DPinnedHeaderListAdapter.java70 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) { argument
73 if (convertView != null) {
74 Integer headerType = (Integer)convertView.getTag();
76 view = convertView;
/packages/apps/Dialer/java/com/android/contacts/common/list/
H A DPinnedHeaderListAdapter.java61 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) { argument
64 if (convertView != null) {
65 Integer headerType = (Integer) convertView.getTag();
67 view = convertView;
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
H A DSpacerItem.java40 void bindView(View convertView) { argument
H A DRootsAdapter.java77 public View getView(int position, View convertView, ViewGroup parent) { argument
79 final View view = item.getView(convertView, parent);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateAdapter.java46 public View getView(int position, View convertView, ViewGroup parent) { argument
48 if (convertView == null) {
49 convertView = new StateView(getContext());
51 view = (StateView) convertView;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionViewFactory.java50 * @param convertView The old view to reuse, if possible. Note: You should check that this view
56 View getView(SuggestionCursor suggestion, String userQuery, View convertView, ViewGroup parent); argument
H A DSuggestionsListAdapter.java84 public View getView(int position, View convertView, ViewGroup parent) { argument
86 getCurrentSuggestions(), position, position, convertView, parent);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DFromAddressSpinnerAdapter.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
59 final View fromEntry = convertView == null ?
60 getInflater().inflate(R.layout.from_item, null) : convertView;
77 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java93 public View getView(int position, View convertView, ViewGroup parent) { argument
95 if (convertView == null) {
96 convertView = mInflater.inflate(R.layout.filtershow_presets_management_row, null);
98 viewHolder.imageView = (ImageView) convertView.findViewById(R.id.imageView);
99 viewHolder.editText = (EditText) convertView.findViewById(R.id.editView);
100 viewHolder.deleteButton = (ImageButton) convertView.findViewById(R.id.deleteUserPreset);
104 convertView.setTag(viewHolder);
106 viewHolder = (UserPresetViewHolder) convertView.getTag();
118 return convertView;
/packages/apps/Settings/src/com/android/settings/
H A DUsageStatsActivity.java166 public View getView(int position, View convertView, ViewGroup parent) { argument
171 // When convertView is not null, we can reuse it directly, there is no need
172 // to reinflate it. We only inflate a new View when the convertView supplied
174 if (convertView == null) {
175 convertView = mInflater.inflate(R.layout.usage_stats_item, null);
180 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name);
181 holder.lastTimeUsed = (TextView) convertView.findViewById(R.id.last_time_used);
182 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time);
183 convertView.setTag(holder);
187 holder = (AppViewHolder) convertView
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActionBar.java128 public View getView(int position, View convertView, ViewGroup parent) { argument
129 if (convertView == null) {
130 convertView = mInflater.inflate(R.layout.action_bar_text,
133 TextView view = (TextView) convertView;
135 return convertView;
156 public View getView(int position, View convertView, ViewGroup parent) { argument
157 if (convertView == null) {
158 convertView = mInflater.inflate(R.layout.action_bar_two_line_text,
161 TwoLineListItem view = (TwoLineListItem) convertView;
164 return convertView;
168 getDropDownView(int position, View convertView, ViewGroup parent) argument
[all...]
/packages/apps/Settings/src/com/android/settings/nfc/
H A DNfcPaymentPreference.java165 public View getView(int position, View convertView, ViewGroup parent) { argument
168 if (convertView == null) {
169 convertView = mLayoutInflater.inflate(
172 holder.imageView = (ImageView) convertView.findViewById(R.id.banner);
173 holder.radioButton = (RadioButton) convertView.findViewById(R.id.button);
174 convertView.setTag(holder);
176 holder = (ViewHolder) convertView.getTag();
189 return convertView;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSeparatedFolderListAdapter.java94 public View getView(int position, View convertView, ViewGroup parent) { argument
98 return adapter.getView(position, convertView, parent);
H A DMaterialSearchSuggestionsList.java204 public View getView(int position, View convertView, ViewGroup parent) { argument
205 if (convertView == null) {
206 convertView = getInflater().inflate(mResId, parent, false);
211 (TextView) convertView.findViewById(R.id.search_overlay_item_text);
215 ((ImageView) convertView.findViewById(R.id.search_overlay_item_icon))
218 return convertView;
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperListAdapter.java98 public View getView(int position, View convertView, ViewGroup parent) { argument
100 if (convertView == null) {
101 convertView = mInflater.inflate(R.layout.live_wallpaper_entry, parent, false);
104 holder.title = (TextView) convertView.findViewById(R.id.title);
105 holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail);
106 convertView.setTag(holder);
108 holder = (ViewHolder) convertView.getTag();
124 return convertView;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpAdapter.java137 public View getView(int position, View convertView, ViewGroup parent) { argument
141 if (convertView == null) {
145 imageView = (MtpThumbnailTileView) convertView;
152 if (convertView == null) {
156 dateTile = (DateTileView) convertView;
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountSelectionUtil.java111 public View getView(int position, View convertView, ViewGroup parent) {
112 if (convertView == null) {
113 convertView = dialogInflater.inflate(
118 final TextView text1 = (TextView) convertView.findViewById(android.R.id.text1);
119 final TextView text2 = (TextView) convertView.findViewById(android.R.id.text2);
120 final ImageView icon = (ImageView) convertView.findViewById(android.R.id.icon);
131 return convertView;
H A DAccountsListAdapter.java87 public View getView(int position, View convertView, ViewGroup parent) { argument
88 final View resultView = convertView != null ? convertView :
/packages/apps/Contacts/src/com/android/contacts/
H A DSplitAggregateView.java235 public View getView(int position, View convertView, ViewGroup parent) { argument
236 if (convertView == null) {
237 convertView = mInflater.inflate(R.layout.split_aggregate_list_item, parent, false);
240 SplitAggregateItemCache cache = (SplitAggregateItemCache)convertView.getTag();
243 cache.name = (TextView)convertView.findViewById(R.id.name);
244 cache.additionalData = (TextView)convertView.findViewById(R.id.additionalData);
245 cache.sourceIcon = (ImageView)convertView.findViewById(R.id.sourceIcon);
246 convertView.setTag(cache);
263 return convertView;
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DSelectAccountDialogFragment.java56 public View getView(int position, View convertView, ViewGroup parent) {
57 final View resultView = convertView == null
59 : convertView;
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
H A DPeopleAndOptionsFragment.java227 public View getView(final int position, final View convertView, final ViewGroup parent) { argument
229 if (convertView != null && convertView instanceof PeopleOptionsItemView) {
230 itemView = (PeopleOptionsItemView) convertView;
260 public View getView(final int position, final View convertView, final ViewGroup parent) { argument
263 if (convertView != null && convertView instanceof PersonItemView) {
264 itemView = (PersonItemView) convertView;
314 public View getHeaderView(final View convertView, final ViewGroup parentView) { argument
316 if (convertView !
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DSimSelectorView.java144 public View getView(final int position, final View convertView, final ViewGroup parent) { argument
146 if (convertView != null && convertView instanceof SimSelectorItemView) {
147 itemView = (SimSelectorItemView) convertView;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionAdapter.java178 public View getView(int position, View convertView, ViewGroup parent) { argument
179 if (convertView == null) {
180 convertView = getScrapView(parent);
183 TextView title = (TextView) convertView.findViewById(R.id.action_title);
184 TextView description = (TextView) convertView.findViewById(R.id.action_description);
189 ImageView checkmarkView = (ImageView) convertView.findViewById(R.id.action_checkmark);
192 ImageView indicatorView = (ImageView) convertView.findViewById(R.id.action_icon);
195 ImageView chevronView = (ImageView) convertView.findViewById(R.id.action_next_chevron);
198 View chevronBackgroundView = convertView.findViewById(R.id.action_next_chevron_background);
201 final Resources res = convertView
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DHeaderGridView.java374 public View getView(int position, View convertView, ViewGroup parent) { argument
383 if (convertView == null) {
384 convertView = new View(parent.getContext());
388 convertView.setVisibility(View.INVISIBLE);
389 convertView.setMinimumHeight(headerViewContainer.getHeight());
390 return convertView;
400 return mAdapter.getView(adjPosition, convertView, parent);

Completed in 3046 milliseconds

123456