/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppViewHolder.java | 23 static public AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView) { in createOrRecycle() argument 24 if (convertView == null) { in createOrRecycle() 25 convertView = inflater.inflate(R.layout.manage_applications_item, null); in createOrRecycle() 30 holder.rootView = convertView; in createOrRecycle() 31 holder.appName = (TextView) convertView.findViewById(R.id.app_name); in createOrRecycle() 32 holder.appIcon = (ImageView) convertView.findViewById(R.id.app_icon); in createOrRecycle() 33 holder.appSize = (TextView) convertView.findViewById(R.id.app_size); in createOrRecycle() 34 holder.disabled = (TextView) convertView.findViewById(R.id.app_disabled); in createOrRecycle() 35 holder.checkBox = (CheckBox) convertView.findViewById(R.id.app_on_sdcard); in createOrRecycle() 36 convertView.setTag(holder); in createOrRecycle() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SuggestionViewInflater.java | 63 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()
|
D | ClusteredSuggestionsAdapter.java | 179 View convertView, ViewGroup parent) { in getChildView() argument 183 convertView, parent); in getChildView() 228 int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) { in getGroupView() argument 229 if (convertView == null) { in getGroupView() 230 convertView = mInflater.inflate(R.layout.suggestion_group, parent, false); in getGroupView() 235 convertView.getLayoutParams().height = 0; in getGroupView() 237 convertView.getLayoutParams().height = mContext.getResources(). in getGroupView() 241 convertView.requestLayout(); in getGroupView() 242 return convertView; in getGroupView()
|
D | DefaultSuggestionViewFactory.java | 64 View convertView, ViewGroup parent) { in getView() argument 67 return factory.getView(suggestion, userQuery, convertView, parent); in getView() 70 return mDefaultFactory.getView(suggestion, userQuery, convertView, parent); in getView()
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | DateSortedDownloadAdapter.java | 44 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument 46 if (null == convertView || !(convertView instanceof RelativeLayout)) { in getChildView() 47 convertView = mDelegate.newView(); in getChildView() 52 return convertView; in getChildView() 57 mDelegate.bindView(convertView, pos); in getChildView() 58 return convertView; in getChildView()
|
D | DownloadAdapter.java | 90 public void bindView(View convertView, int position) { in bindView() argument 91 if (!(convertView instanceof DownloadItem)) { in bindView() 96 ((DownloadItem) convertView).setData(downloadId, position, in bindView() 101 retrieveAndSetIcon(convertView); in bindView() 107 setTextForView(convertView, R.id.download_title, title); in bindView() 108 setTextForView(convertView, R.id.domain, mCursor.getString(mDescriptionColumnId)); in bindView() 109 setTextForView(convertView, R.id.size_text, getSizeText()); in bindView() 118 setTextForView(convertView, R.id.status_text, statusText); in bindView() 120 ((DownloadItem) convertView).getCheckBox() in bindView() 175 private void retrieveAndSetIcon(View convertView) { in retrieveAndSetIcon() argument [all …]
|
/packages/apps/Browser/src/com/android/browser/addbookmark/ |
D | FolderSpinnerAdapter.java | 106 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 107 if (convertView == null) { in getDropDownView() 108 convertView = mInflater.inflate( in getDropDownView() 111 bindView(position, convertView, true); in getDropDownView() 112 return convertView; in getDropDownView() 116 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 117 if (convertView == null) { in getView() 118 convertView = mInflater.inflate(android.R.layout.simple_spinner_item, in getView() 121 bindView(position, convertView, false); in getView() 122 return convertView; in getView()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuAdapter.java | 46 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/Browser/src/com/android/browser/util/ |
D | ThreadedCursorAdapter.java | 163 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 164 if (convertView == null) { in getView() 165 convertView = newView(mContext, parent); in getView() 168 LoadContainer container = (LoadContainer) convertView.getTag(R.id.load_object); in getView() 171 container.view = new WeakReference<View>(convertView); in getView() 172 convertView.setTag(R.id.load_object, container); in getView() 178 bindView(convertView, container.bind_object); in getView() 180 bindView(convertView, cachedLoadObject()); in getView() 189 return convertView; in getView()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AddAdapter.java | 77 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 80 if (convertView == null) { in getView() 81 convertView = mInflater.inflate(R.layout.add_list_item, parent, false); in getView() 84 TextView textView = (TextView) convertView; in getView() 89 return convertView; in getView()
|
D | InstallWidgetReceiver.java | 125 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 135 if (convertView == null) { in getView() 136 convertView = mInflater.inflate(R.layout.external_widget_drop_list_item, parent, in getView() 146 ImageView i = (ImageView) convertView.findViewById(R.id.provider_icon); in getView() 153 TextView t = (TextView) convertView.findViewById(R.id.provider); in getView() 157 return convertView; in getView()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UsageStats.java | 158 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 166 if (convertView == null) { in getView() 167 convertView = mInflater.inflate(R.layout.usage_stats_item, null); in getView() 172 holder.pkgName = (TextView) convertView.findViewById(R.id.package_name); in getView() 173 holder.launchCount = (TextView) convertView.findViewById(R.id.launch_count); in getView() 174 holder.usageTime = (TextView) convertView.findViewById(R.id.usage_time); in getView() 175 convertView.setTag(holder); in getView() 179 holder = (AppViewHolder) convertView.getTag(); in getView() 192 return convertView; in getView()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 235 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/Contacts/src/com/android/contacts/widget/ |
D | SingleItemAdapter.java | 39 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 40 return getView(convertView, parent); in getView() 46 protected abstract View getView(View convertView, ViewGroup parent); in getView() argument
|
D | PinnedHeaderListAdapter.java | 70 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) { in getPinnedHeaderView() argument 73 if (convertView != null) { in getPinnedHeaderView() 74 Integer headerType = (Integer)convertView.getTag(); in getPinnedHeaderView() 76 view = convertView; in getPinnedHeaderView()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | TransitionsAdapter.java | 72 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 75 if (convertView == null) { in getView() 82 rowView = convertView; in getView() 83 viewHolder = (ImageTextViewHolder<Integer>)convertView.getTag(); in getView()
|
D | OverlaysAdapter.java | 78 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 81 if (convertView == null) { in getView() 88 rowView = convertView; in getView() 89 viewHolder = (ImageTextViewHolder<Integer>)convertView.getTag(); in getView()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperListAdapter.java | 98 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/Contacts/src/com/android/contacts/util/ |
D | AccountSelectionUtil.java | 108 public View getView(int position, View convertView, ViewGroup parent) { in getSelectAccountDialog() 109 if (convertView == null) { in getSelectAccountDialog() 110 convertView = dialogInflater.inflate( in getSelectAccountDialog() 117 (TextView)convertView.findViewById(android.R.id.text1); in getSelectAccountDialog() 119 (TextView)convertView.findViewById(android.R.id.text2); in getSelectAccountDialog() 129 return convertView; in getSelectAccountDialog()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsEditQuickResponsesFragment.java | 124 public View getView(final int position, View convertView, ViewGroup parent) { in getView() argument 125 convertView = super.getView(position, convertView, parent); in getView() 126 convertView.setTag(mQuickResponses[position]); in getView() 127 convertView.setOnClickListener(mOnEditListener); in getView() 129 ImageView deleteIcon = (ImageView) convertView.findViewById(R.id.delete_icon); in getView() 133 return convertView; in getView()
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
D | CallDetailHistoryAdapter.java | 115 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 117 final View header = convertView == null in getView() 119 : convertView; in getView() 132 final View result = convertView == null in getView() 134 : convertView; in getView()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarViewAdapter.java | 164 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 170 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView() 177 v = convertView; in getView() 211 if (convertView == null || ((Integer) convertView.getTag()).intValue() in getView() 219 v = convertView; in getView() 260 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 290 v = convertView; in getDropDownView()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserHistoryPage.java | 479 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 480 return mAdapter.getGroupView(position, false, convertView, parent); in getView() 514 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 516 false, convertView, parent); in getView() 600 View convertView, ViewGroup parent) { in getGroupView() argument 606 if (null == convertView || !(convertView instanceof TextView)) { in getGroupView() 610 item = (TextView) convertView; in getGroupView() 615 return super.getGroupView(groupPosition, isExpanded, convertView, parent); in getGroupView() 633 View convertView, ViewGroup parent) { in getChildView() argument 635 if (null == convertView || !(convertView instanceof HistoryItem)) { in getChildView() [all …]
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | IconListAdapter.java | 46 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 51 if (convertView == null) { in getView() 54 view = convertView; in getView()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | HistoryAdapter.java | 62 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 64 if (convertView == null) { in getView() 67 view = convertView; in getView()
|