Home
last modified time | relevance | path

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

1234567

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java51 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
53 if (convertView == null) { in getView()
56 convertView = inflater.inflate(R.layout.network_item, parent, false); in getView()
57 vh.netActive = convertView.findViewById(R.id.network_active); in getView()
58 vh.netId = convertView.findViewById(R.id.network_id); in getView()
59 vh.netType = convertView.findViewById(R.id.network_type); in getView()
60 vh.netState = convertView.findViewById(R.id.network_state); in getView()
61 vh.connected = convertView.findViewById(R.id.network_connected); in getView()
62 vh.available = convertView.findViewById(R.id.network_available); in getView()
63 vh.roaming = convertView.findViewById(R.id.network_roaming); in getView()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java105 View convertView, ViewGroup parent) { in getChildView() argument
109 if (convertView == null) { in getChildView()
110 convertView = mInflater.inflate(R.layout.bluetooth_map_settings_account_item, null); in getChildView()
112 holder.cb = (CheckBox) convertView.findViewById(R.id.bluetooth_map_settings_item_check); in getChildView()
114 (TextView) convertView.findViewById(R.id.bluetooth_map_settings_item_text_view); in getChildView()
115 convertView.setTag(holder); in getChildView()
117 holder = (ChildHolder) convertView.getTag(); in getChildView()
188 return convertView; in getChildView()
225 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
230 if (convertView == null) { in getGroupView()
[all …]
/packages/apps/Settings/src/com/android/settings/development/
DAppViewHolder.java36 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { in createOrRecycle() argument
37 if (convertView == null) { in createOrRecycle()
38 convertView = inflater.inflate(R.layout.preference_app, null); in createOrRecycle()
43 holder.rootView = convertView; in createOrRecycle()
44 holder.appName = convertView.findViewById(android.R.id.title); in createOrRecycle()
45 holder.appIcon = convertView.findViewById(android.R.id.icon); in createOrRecycle()
46 holder.summary = convertView.findViewById(android.R.id.summary); in createOrRecycle()
47 holder.disabled = convertView.findViewById(R.id.appendix); in createOrRecycle()
48 convertView.setTag(holder); in createOrRecycle()
53 return (AppViewHolder) convertView.getTag(); in createOrRecycle()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DAppViewHolder.java36 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { in createOrRecycle() argument
37 if (convertView == null) { in createOrRecycle()
38 convertView = inflater.inflate(R.layout.preference_app, null); in createOrRecycle()
43 holder.rootView = convertView; in createOrRecycle()
44 holder.appName = convertView.findViewById(android.R.id.title); in createOrRecycle()
45 holder.appIcon = convertView.findViewById(android.R.id.icon); in createOrRecycle()
46 holder.summary = convertView.findViewById(android.R.id.summary); in createOrRecycle()
47 holder.disabled = convertView.findViewById(R.id.appendix); in createOrRecycle()
48 convertView.setTag(holder); in createOrRecycle()
53 return (AppViewHolder) convertView.getTag(); in createOrRecycle()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeAdapter.java49 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
51 if (convertView == null) { in getView()
53 convertView = inflater.inflate(mLayoutResourceId, parent, false); in getView()
54 vh.id = convertView.findViewById(R.id.stream_id); in getView()
55 vh.maxVolume = convertView.findViewById(R.id.volume_limit); in getView()
56 vh.currentVolume = convertView.findViewById(R.id.current_volume); in getView()
57 vh.upButton = convertView.findViewById(R.id.volume_up); in getView()
58 vh.downButton = convertView.findViewById(R.id.volume_down); in getView()
59 vh.requestButton = convertView.findViewById(R.id.request); in getView()
60 convertView.setTag(vh); in getView()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallListAdapter.java89 public View getView(final int position, View convertView, ViewGroup parent) { in getView() argument
91 if (convertView == null) { in getView()
92 convertView = mLayoutInflater.inflate(R.layout.call_list_item, parent, false); in getView()
95 TextView phoneNumber = convertView.findViewById(R.id.phoneNumber); in getView()
96 TextView duration = convertView.findViewById(R.id.duration); in getView()
97 TextView state = convertView.findViewById(R.id.callState); in getView()
98 TextView callIdName = convertView.findViewById(R.id.callIdName); in getView()
99 TextView callIdDescription = convertView.findViewById(R.id.callIdDescription); in getView()
100 TextView callIdDetails = convertView.findViewById(R.id.callIdDetails); in getView()
101 TextView callIdType = convertView.findViewById(R.id.callIdType); in getView()
[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/DocumentsUI/src/com/android/documentsui/
DDropdownBreadcrumb.java128 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
129 if (convertView == null) { in getView()
130 convertView = LayoutInflater.from(parent.getContext()) in getView()
134 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getView()
144 return convertView; in getView()
148 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
149 if (convertView == null) { in getDropDownView()
150 convertView = LayoutInflater.from(parent.getContext()) in getDropDownView()
154 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getDropDownView()
164 return convertView; in getDropDownView()
/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/DocumentsUI/src/com/android/documentsui/sidebar/
DItem.java46 public View getView(View convertView, ViewGroup parent) { in getView() argument
47 if (convertView == null in getView()
48 || (Integer) convertView.getTag(R.id.layout_id_tag) != mLayoutId) { in getView()
49 convertView = LayoutInflater.from(parent.getContext()) in getView()
52 convertView.setTag(R.id.layout_id_tag, mLayoutId); in getView()
53 bindView(convertView); in getView()
54 return convertView; in getView()
57 abstract void bindView(View convertView); in bindView() argument
DAppItem.java78 void bindView(View convertView) { in bindView() argument
79 final ImageView icon = (ImageView) convertView.findViewById(android.R.id.icon); in bindView()
80 final TextView titleView = (TextView) convertView.findViewById(android.R.id.title); in bindView()
81 final TextView summary = (TextView) convertView.findViewById(android.R.id.summary); in bindView()
82 final View actionIconArea = convertView.findViewById(R.id.action_icon_area); in bindView()
83 final ImageView actionIcon = (ImageView) convertView.findViewById(R.id.action_icon); in bindView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java178 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
179 if (convertView == null) { in getView()
180 convertView = getScrapView(parent); in getView()
183 TextView title = (TextView) convertView.findViewById(R.id.action_title); in getView()
184 TextView description = (TextView) convertView.findViewById(R.id.action_description); in getView()
189 ImageView checkmarkView = (ImageView) convertView.findViewById(R.id.action_checkmark); in getView()
192 ImageView indicatorView = (ImageView) convertView.findViewById(R.id.action_icon); in getView()
195 ImageView chevronView = (ImageView) convertView.findViewById(R.id.action_next_chevron); in getView()
198 View chevronBackgroundView = convertView.findViewById(R.id.action_next_chevron_background); in getView()
201 final Resources res = convertView.getContext().getResources(); in getView()
[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/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/
DUsageStatsActivity.java166 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
174 if (convertView == null) { in getView()
175 convertView = mInflater.inflate(R.layout.usage_stats_item, null); in getView()
180 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name); in getView()
181 holder.lastTimeUsed = (TextView) convertView.findViewById(R.id.last_time_used); in getView()
182 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time); in getView()
183 convertView.setTag(holder); in getView()
187 holder = (AppViewHolder) convertView.getTag(); in getView()
202 return convertView; in getView()
DTrustedCredentialsSettings.java378 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
380 if (convertView == null) { in getGroupView()
383 convertView = Utils.inflateCategoryHeader(inflater, parent); in getGroupView()
386 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getGroupView()
394 return convertView; in getGroupView()
398 View convertView, ViewGroup parent) { in getChildView() argument
400 convertView, parent); in getChildView()
477 private View getViewForCertificate(CertHolder certHolder, Tab mTab, View convertView, in getViewForCertificate() argument
480 if (convertView == null) { in getViewForCertificate()
483 convertView = inflater.inflate(R.layout.trusted_credential, parent, false); in getViewForCertificate()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUsageStatsActivity.java166 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
174 if (convertView == null) { in getView()
175 convertView = mInflater.inflate(R.layout.usage_stats_item, null); in getView()
180 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name); in getView()
181 holder.lastTimeUsed = (TextView) convertView.findViewById(R.id.last_time_used); in getView()
182 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time); in getView()
183 convertView.setTag(holder); in getView()
187 holder = (AppViewHolder) convertView.getTag(); in getView()
202 return convertView; in getView()
DTrustedCredentialsSettings.java378 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
380 if (convertView == null) { in getGroupView()
383 convertView = Utils.inflateCategoryHeader(inflater, parent); in getGroupView()
386 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getGroupView()
394 return convertView; in getGroupView()
398 View convertView, ViewGroup parent) { in getChildView() argument
400 convertView, parent); in getChildView()
477 private View getViewForCertificate(CertHolder certHolder, Tab mTab, View convertView, in getViewForCertificate() argument
480 if (convertView == null) { in getViewForCertificate()
483 convertView = inflater.inflate(R.layout.trusted_credential, parent, false); in getViewForCertificate()
[all …]
/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/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/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/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/Settings/src/com/android/settings/sim/
DSimListDialogFragment.java161 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
162 if (convertView == null) { in getView()
166 convertView = mInflater.inflate(R.layout.select_account_list_item, parent, false); in getView()
170 final TextView title = convertView.findViewById(R.id.title); in getView()
171 final TextView summary = convertView.findViewById(R.id.summary); in getView()
172 final ImageView icon = convertView.findViewById(R.id.icon); in getView()
186 return convertView; in getView()
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DTelephonyManagerTestApp.java98 public View getView(int position, View convertView, ViewGroup container) { in getView() argument
103 if (convertView == null) { in getView()
104 convertView = getLayoutInflater().inflate( in getView()
114 ((TextView) convertView.findViewById(R.id.tags)).setText(tags); in getView()
115 ((TextView) convertView.findViewById(R.id.method_name)).setText(methodName); in getView()
116 ((TextView) convertView.findViewById(R.id.parameters)).setText(parameters); in getView()
117 return convertView; in getView()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DImsConfigActivity.java45 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
48 if (convertView == null) { in getView()
49 convertView = LayoutInflater.from(getContext()).inflate(R.layout.config_item, in getView()
53 TextView textItem = (TextView) convertView.findViewById(R.id.configItem); in getView()
54 TextView textValue = (TextView) convertView.findViewById(R.id.configValue); in getView()
63 return convertView; in getView()

1234567