Searched refs:convertView (Results 1 - 25 of 148) 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.java39 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { argument
40 if (convertView == null) {
41 convertView = inflater.inflate(R.layout.preference_app, null);
43 (ViewGroup) convertView.findViewById(android.R.id.widget_frame));
48 holder.rootView = convertView;
49 holder.appName = (TextView) convertView.findViewById(android.R.id.title);
50 holder.appIcon = (ImageView) convertView.findViewById(android.R.id.icon);
51 holder.summary = (TextView) convertView.findViewById(R.id.widget_text1);
52 holder.disabled = (TextView) convertView.findViewById(R.id.widget_text2);
53 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/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinnerAdapter.java106 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
107 if (convertView == null) {
108 convertView = mInflater.inflate(
111 bindView(position, convertView, true);
112 return convertView;
116 public View getView(int position, View convertView, ViewGroup parent) { argument
117 if (convertView == null) {
118 convertView = mInflater.inflate(android.R.layout.simple_spinner_item,
121 bindView(position, convertView, false);
122 return convertView;
[all...]
/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/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/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/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/Browser/src/com/android/browser/util/
H A DThreadedCursorAdapter.java163 public View getView(int position, View convertView, ViewGroup parent) { argument
164 if (convertView == null) {
165 convertView = newView(mContext, parent);
168 LoadContainer container = (LoadContainer) convertView.getTag(R.id.load_object);
171 container.view = new WeakReference<View>(convertView);
172 convertView.setTag(R.id.load_object, container);
178 bindView(convertView, container.bind_object);
180 bindView(convertView, cachedLoadObject());
189 return 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/Settings/src/com/android/settings/
H A DUsageStatsActivity.java167 public View getView(int position, View convertView, ViewGroup parent) { argument
172 // When convertView is not null, we can reuse it directly, there is no need
173 // to reinflate it. We only inflate a new View when the convertView supplied
175 if (convertView == null) {
176 convertView = mInflater.inflate(R.layout.usage_stats_item, null);
181 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name);
182 holder.lastTimeUsed = (TextView) convertView.findViewById(R.id.last_time_used);
183 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time);
184 convertView.setTag(holder);
188 holder = (AppViewHolder) convertView
[all...]

Completed in 549 milliseconds

123456