Searched refs:convertView (Results 1 - 25 of 149) sorted by relevance

123456

/packages/apps/Settings/src/com/android/settings/development/
H A DAppViewHolder.java36 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { argument
37 if (convertView == null) {
38 convertView = inflater.inflate(R.layout.preference_app, null);
43 holder.rootView = convertView;
44 holder.appName = convertView.findViewById(android.R.id.title);
45 holder.appIcon = convertView.findViewById(android.R.id.icon);
46 holder.summary = convertView.findViewById(android.R.id.summary);
47 holder.disabled = convertView.findViewById(R.id.appendix);
48 convertView.setTag(holder);
53 return (AppViewHolder) convertView
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DSingleItemAdapter.java39 public View getView(int position, View convertView, ViewGroup parent) { argument
40 return getView(convertView, parent);
46 protected abstract View getView(View convertView, ViewGroup parent); argument
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
H A DItem.java44 public View getView(View convertView, ViewGroup parent) { argument
45 if (convertView == null
46 || (Integer) convertView.getTag(R.id.layout_id_tag) != mLayoutId) {
47 convertView = LayoutInflater.from(parent.getContext())
50 convertView.setTag(R.id.layout_id_tag, mLayoutId);
51 bindView(convertView);
52 return convertView;
55 abstract void bindView(View convertView); argument
H A DAppItem.java63 void bindView(View convertView) { argument
64 final ImageView icon = (ImageView) convertView.findViewById(android.R.id.icon);
65 final TextView title = (TextView) convertView.findViewById(android.R.id.title);
66 final TextView summary = (TextView) convertView.findViewById(android.R.id.summary);
68 final PackageManager pm = convertView.getContext().getPackageManager();
H A DRootItem.java64 public void bindView(View convertView) { argument
65 final ImageView icon = (ImageView) convertView.findViewById(android.R.id.icon);
66 final TextView title = (TextView) convertView.findViewById(android.R.id.title);
67 final TextView summary = (TextView) convertView.findViewById(android.R.id.summary);
68 final ImageView ejectIcon = (ImageView) convertView.findViewById(R.id.eject_icon);
70 final Context context = convertView.getContext();
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionViewInflater.java63 View convertView, ViewGroup parent) {
64 if (convertView == null || !convertView.getClass().equals(mViewClass)) {
66 convertView = getInflater().inflate(layoutId, parent, false);
68 if (!(convertView instanceof SuggestionView)) {
69 throw new IllegalArgumentException("Not a SuggestionView: " + convertView);
71 ((SuggestionView) convertView).bindAsSuggestion(suggestion, userQuery);
72 return convertView;
62 getView(SuggestionCursor suggestion, String userQuery, View convertView, ViewGroup parent) argument
/packages/apps/Stk/src/com/android/stk/
H A DStkMenuAdapter.java46 public View getView(int position, View convertView, ViewGroup parent) { argument
49 if (convertView == null) {
50 convertView = mInflater.inflate(R.layout.stk_menu_item, parent,
55 ((TextView) convertView.findViewById(R.id.text)).setText(item.text);
57 ImageView imageView = ((ImageView) convertView.findViewById(R.id.icon));
65 return convertView;
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
H A DBlankHeaderDrawerItem.java39 * @param convertView A previous view, perhaps null
44 public View getView(View convertView, ViewGroup parent) { argument
46 if (convertView != null) {
47 blankHeaderView = convertView;
H A DBottomSpaceDrawerItem.java39 * @param convertView A previous view, perhaps null
44 public View getView(View convertView, ViewGroup parent) { argument
46 if (convertView != null) {
47 blankHeaderView = convertView;
H A DWaitViewDrawerItem.java39 * @param convertView a view, possibly null, to be recycled.
44 public View getView(View convertView, ViewGroup parent) { argument
46 if (convertView != null) {
47 emptyView = (ViewGroup) convertView;
H A DAccountDrawerItem.java54 * @param convertView a view, possibly null, to be recycled.
59 public View getView(View convertView, ViewGroup parent) { argument
61 if (convertView != null) {
62 accountItemView = (AccountItemView) convertView;
H A DFolderDrawerItem.java44 * @param convertView a view, possibly null, to be recycled.
48 public View getView(View convertView, ViewGroup parent) { argument
50 if (convertView != null) {
51 folderItemView = (FolderItemView) convertView;
H A DHeaderDrawerItem.java43 * @param convertView a previous view, perhaps null
48 public View getView(View convertView, ViewGroup parent) { argument
50 if (convertView != null) {
51 headerView = convertView;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
H A DVolumeAdapter.java49 public View getView(int position, View convertView, ViewGroup parent) { argument
51 if (convertView == null) {
53 convertView = inflater.inflate(mLayoutResourceId, parent, false);
54 vh.id = convertView.findViewById(R.id.stream_id);
55 vh.maxVolume = convertView.findViewById(R.id.volume_limit);
56 vh.currentVolume = convertView.findViewById(R.id.current_volume);
57 vh.upButton = convertView.findViewById(R.id.volume_up);
58 vh.downButton = convertView.findViewById(R.id.volume_down);
59 vh.requestButton = convertView.findViewById(R.id.request);
60 convertView
[all...]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DCallListAdapter.java87 public View getView(final int position, View convertView, ViewGroup parent) { argument
89 if (convertView == null) {
90 convertView = mLayoutInflater.inflate(R.layout.call_list_item, parent, false);
93 TextView phoneNumber = (TextView) convertView.findViewById(R.id.phoneNumber);
94 TextView duration = (TextView) convertView.findViewById(R.id.duration);
95 TextView state = (TextView) convertView.findViewById(R.id.callState);
109 return convertView;
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DDropdownBreadcrumb.java119 public View getView(int position, View convertView, ViewGroup parent) { argument
120 if (convertView == null) {
121 convertView = LayoutInflater.from(parent.getContext())
125 final TextView title = (TextView) convertView.findViewById(android.R.id.title);
135 return convertView;
139 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
140 if (convertView == null) {
141 convertView = LayoutInflater.from(parent.getContext())
145 final TextView title = (TextView) convertView.findViewById(android.R.id.title);
155 return convertView;
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAddAdapter.java77 public View getView(int position, View convertView, ViewGroup parent) { argument
80 if (convertView == null) {
81 convertView = mInflater.inflate(R.layout.add_list_item, parent, false);
84 TextView textView = (TextView) convertView;
89 return convertView;
H A DInstallWidgetReceiver.java125 public View getView(int position, View convertView, ViewGroup parent) { argument
135 if (convertView == null) {
136 convertView = mInflater.inflate(R.layout.external_widget_drop_list_item, parent,
146 ImageView i = (ImageView) convertView.findViewById(R.id.provider_icon);
153 TextView t = (TextView) convertView.findViewById(R.id.provider);
157 return convertView;
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DVCardDetailAdapter.java54 final boolean isLastChild, final View convertView, final ViewGroup parent) {
56 if (convertView == null) {
59 v = (PersonItemView) convertView;
91 final View convertView, final ViewGroup parent) {
93 if (convertView == null) {
96 v = (PersonItemView) convertView;
53 getChildView(final int groupPosition, final int childPosition, final boolean isLastChild, final View convertView, final ViewGroup parent) argument
90 getGroupView(final int groupPosition, final boolean isExpanded, final View convertView, final ViewGroup parent) argument
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
H A DImsConfigActivity.java45 public View getView(int position, View convertView, ViewGroup parent) { argument
48 if (convertView == null) {
49 convertView = LayoutInflater.from(getContext()).inflate(R.layout.config_item,
53 TextView textItem = (TextView) convertView.findViewById(R.id.configItem);
54 TextView textValue = (TextView) convertView.findViewById(R.id.configValue);
63 return convertView;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSettingsAdapter.java105 View convertView, ViewGroup parent) {
109 if (convertView == null) {
110 convertView = mInflater.inflate(R.layout.bluetooth_map_settings_account_item, null);
112 holder.cb = (CheckBox) convertView.findViewById(R.id.bluetooth_map_settings_item_check);
114 (TextView) convertView.findViewById(R.id.bluetooth_map_settings_item_text_view);
115 convertView.setTag(holder);
117 holder = (ChildHolder) convertView.getTag();
188 return convertView;
225 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, argument
230 if (convertView
104 getChildView(final int groupPosition, final int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DHeaderEntryContactListAdapter.java58 public View getView(int position, View convertView, ViewGroup parent) { argument
61 if (convertView == null) {
65 itemView = (ContactListItemView) convertView;
72 return super.getView(position - getHeaderEntryCount(), convertView, parent);
/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DZonePickerTest.java56 ViewGroup convertView = new FrameLayout(RuntimeEnvironment.application);
59 convertView.addView(text1);
62 convertView.addView(text2);
64 adapter.getView(0, convertView, parent);
/packages/apps/Music/src/com/android/music/
H A DTrackBrowserActivity.java260 public View getView(int position, View convertView, ViewGroup parent) { argument
262 if (convertView == null) {
263 convertView = LayoutInflater.from(getContext()).inflate(mLayoutId, parent, false);
264 ImageView iv = (ImageView) convertView.findViewById(R.id.icon);
267 vh.line1 = (TextView) convertView.findViewById(R.id.line1);
268 vh.line2 = (TextView) convertView.findViewById(R.id.line2);
269 vh.duration = (TextView) convertView.findViewById(R.id.duration);
270 vh.play_indicator = (ImageView) convertView.findViewById(R.id.play_indicator);
271 convertView.setTag(vh);
273 ViewHolder holder = (ViewHolder) convertView
[all...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
H A DTermsListAdapter.java97 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, argument
101 View groupView = convertView != null ? convertView : mInflater.inflate(
138 View convertView, ViewGroup parent) {
139 View view = convertView != null ? convertView : mInflater.inflate(
137 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument

Completed in 707 milliseconds

123456