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

123456

/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/Settings/src/com/android/settings/applications/
H A DAppViewHolder.java38 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { argument
39 if (convertView == null) {
40 convertView = inflater.inflate(R.layout.preference_app, null);
42 (ViewGroup) convertView.findViewById(android.R.id.widget_frame));
47 holder.rootView = convertView;
48 holder.appName = (TextView) convertView.findViewById(android.R.id.title);
49 holder.appIcon = (ImageView) convertView.findViewById(android.R.id.icon);
50 holder.summary = (TextView) convertView.findViewById(R.id.widget_text1);
51 holder.disabled = (TextView) convertView.findViewById(R.id.widget_text2);
52 convertView
[all...]
/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
H A DDefaultSuggestionViewFactory.java65 View convertView, ViewGroup parent) {
68 return factory.getView(suggestion, userQuery, convertView, parent);
71 return mDefaultFactory.getView(suggestion, userQuery, convertView, parent);
64 getView(SuggestionCursor suggestion, String userQuery, View convertView, ViewGroup parent) argument
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
/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;
H A DFooterItem.java88 public View getView(View convertView, ViewGroup parent) { argument
90 if (convertView != null) {
91 footerItemView = (ViewGroup) convertView;
/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);
108 return convertView;
/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/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSettingsAdapter.java110 boolean isLastChild, View convertView, ViewGroup parent) {
114 if (convertView == null) {
115 convertView = mInflater.inflate(R.layout.bluetooth_map_settings_account_item, null);
117 holder.cb = (CheckBox) convertView.findViewById(R.id.bluetooth_map_settings_item_check);
119 (TextView) convertView.findViewById(R.id.bluetooth_map_settings_item_text_view);
120 convertView.setTag(holder);
122 holder = (ChildHolder) convertView.getTag();
191 return convertView;
230 View convertView, ViewGroup parent) {
234 if (convertView
109 getChildView(final int groupPosition, final int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
229 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DHeaderEntryContactListAdapter.java60 public View getView(int position, View convertView, ViewGroup parent) { argument
63 if (convertView == null) {
67 itemView = (ContactListItemView) convertView;
74 return super.getView(position - getHeaderEntryCount(), convertView, parent);
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/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/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/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/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/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...]

Completed in 1139 milliseconds

123456