Searched refs:convertView (Results 1 - 25 of 145) 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/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
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
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
H A DFileAdapter.java41 public View getView(int position, View convertView, ViewGroup parent) { argument
43 if (convertView == null) {
45 convertView = inflater.inflate(mLayoutResourceId, parent, false);
46 vh.textView = (TextView) convertView.findViewById(R.id.text);
47 vh.descriptionView = (TextView) convertView.findViewById(R.id.description);
48 convertView.setTag(vh);
50 vh = (ViewHolder) convertView.getTag();
61 return convertView;
/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/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 = (TextView) convertView.findViewById(R.id.stream_id);
55 vh.maxVolume = (TextView) convertView.findViewById(R.id.volume_limit);
56 vh.currentVolume = (TextView) convertView.findViewById(R.id.current_volume);
57 vh.logicalVolume = (TextView) convertView.findViewById(R.id.logical_volume);
58 vh.logicalMax = (TextView) convertView.findViewById(R.id.logical_max);
59 vh.upButton = (Button) convertView.findViewById(R.id.volume_up);
60 vh.downButton = (Button) 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;
/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/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSettingsAdapter.java106 boolean isLastChild, View convertView, ViewGroup parent) {
110 if (convertView == null) {
111 convertView = mInflater.inflate(R.layout.bluetooth_map_settings_account_item, null);
113 holder.cb = (CheckBox) convertView.findViewById(R.id.bluetooth_map_settings_item_check);
115 (TextView) convertView.findViewById(R.id.bluetooth_map_settings_item_text_view);
116 convertView.setTag(holder);
118 holder = (ChildHolder) convertView.getTag();
187 return convertView;
226 View convertView, ViewGroup parent) {
230 if (convertView
105 getChildView(final int groupPosition, final int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
225 getGroupView(int groupPosition, boolean isExpanded, 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.java57 ViewGroup convertView = new FrameLayout(RuntimeEnvironment.application);
60 convertView.addView(text1);
63 convertView.addView(text2);
65 adapter.getView(0, convertView, parent);
/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 523 milliseconds

123456