Home
last modified time | relevance | path

Searched refs:ViewHolder (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java24 import com.android.calendar.agenda.AgendaAdapter.ViewHolder;
143 if (o instanceof AgendaByDayAdapter.ViewHolder) { in updatePastEvents()
145 AgendaByDayAdapter.ViewHolder holder = (AgendaByDayAdapter.ViewHolder) o; in updatePastEvents()
150 } else if (o instanceof AgendaAdapter.ViewHolder) { in updatePastEvents()
153 AgendaAdapter.ViewHolder holder = (AgendaAdapter.ViewHolder) o; in updatePastEvents()
190 if (holder instanceof AgendaAdapter.ViewHolder) { in onItemClick()
191 holderStartTime = ((AgendaAdapter.ViewHolder) holder).startTimeMilli; in onItemClick()
263 public AgendaAdapter.ViewHolder getSelectedViewHolder() { in getSelectedViewHolder()
394 if (firstVisibleItem.getTag() instanceof AgendaAdapter.ViewHolder) { in shiftPosition()
395 ViewHolder viewHolder = (AgendaAdapter.ViewHolder) firstVisibleItem.getTag(); in shiftPosition()
[all …]
DAgendaWindowAdapter.java503 if (yy instanceof AgendaAdapter.ViewHolder) { in getView()
504 AgendaAdapter.ViewHolder vh = (AgendaAdapter.ViewHolder) yy; in getView()
532 private AgendaAdapter.ViewHolder mSelectedVH = null;
721 mSelectedVH = new AgendaAdapter.ViewHolder(); in refresh()
1069 mSelectedVH = new AgendaAdapter.ViewHolder(); in onQueryComplete()
1285 if (yy instanceof AgendaAdapter.ViewHolder) { in getViewTitle()
1286 TextView tv = ((AgendaAdapter.ViewHolder) yy).title; in getViewTitle()
1291 TextView dateView = ((AgendaByDayAdapter.ViewHolder) yy).dateView; in getViewTitle()
1311 if (vh instanceof AgendaAdapter.ViewHolder) { in setSelectedView()
1312 mSelectedVH = (AgendaAdapter.ViewHolder) vh; in setSelectedView()
[all …]
DAgendaByDayAdapter.java57 static class ViewHolder { class in AgendaByDayAdapter
185 ViewHolder holder = null; in getView()
191 if (tag instanceof ViewHolder) { in getView()
193 holder = (ViewHolder) tag; in getView()
201 holder = new ViewHolder(); in getView()
257 AgendaAdapter.ViewHolder holder = ((AgendaAdapter.ViewHolder) itemView.getTag()); in getView()
DAgendaAdapter.java63 static class ViewHolder { class in AgendaAdapter
109 ViewHolder holder = null; in bindView()
114 if (tag instanceof ViewHolder) { in bindView()
115 holder = (ViewHolder) view.getTag(); in bindView()
119 holder = new ViewHolder(); in bindView()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java54 public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter.ViewHolder> {
75 public static class ViewHolder extends RecyclerView.ViewHolder { class in AllAppsGridAdapter
78 public ViewHolder(View v) { in ViewHolder() method in AllAppsGridAdapter.ViewHolder
171 ViewHolder holder = (ViewHolder) parent.getChildViewHolder(child); in onDraw()
275 private boolean isValidHolderAndChild(ViewHolder holder, View child, in isValidHolderAndChild()
298 private boolean shouldDrawItemDivider(ViewHolder holder, in shouldDrawItemDivider()
307 private boolean shouldDrawItemSection(ViewHolder holder, int childIndex, in shouldDrawItemSection()
451 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
454 return new ViewHolder(new View(parent.getContext())); in onCreateViewHolder()
464 return new ViewHolder(icon); in onCreateViewHolder()
[all …]
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DDialogAdapter.java24 public class DialogAdapter extends RecyclerView.Adapter<DialogAdapter.ViewHolder> {
43 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
46 final ViewHolder vh = new ViewHolder(v); in onCreateViewHolder()
75 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder()
82 public void onViewRecycled(ViewHolder holder) { in onViewRecycled()
91 public static class ViewHolder extends RecyclerView.ViewHolder { class in DialogAdapter
95 public ViewHolder(View itemView) { in ViewHolder() method in DialogAdapter.ViewHolder
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DPicker.java366 private class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener { class in Picker
369 public ViewHolder(View itemView) { in ViewHolder() method in Picker.ViewHolder
389 private class Adapter extends RecyclerView.Adapter<ViewHolder>
404 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
406 return new ViewHolder(view); in onCreateViewHolder()
410 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder()
443 final ViewHolder vh = (ViewHolder) mGridView.getChildViewHolder(view); in onChildSelected()
/packages/apps/Settings/src/com/android/settings/sim/
DSimPreferenceDialog.java204 final ViewHolder holder; in getView()
212 holder = new ViewHolder(); in getView()
223 holder = (ViewHolder) rowView.getTag(); in getView()
237 final ViewHolder holder = (ViewHolder) rowView.getTag(); in getDropDownView()
248 private class ViewHolder { class in SimPreferenceDialog.SelectColorAdapter
DSimDialogActivity.java296 final ViewHolder holder; in getView()
301 holder = new ViewHolder(); in getView()
308 holder = (ViewHolder) rowView.getTag(); in getView()
326 private class ViewHolder { class in SimDialogActivity.SelectAccountListAdapter
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAppChooserActivity.java246 final ViewHolder holder = new ViewHolder(view); in getView()
253 final ViewHolder holder = (ViewHolder) view.getTag(); in getView()
267 static class ViewHolder { class in AppChooserActivity
271 public ViewHolder(View view) { in ViewHolder() method in AppChooserActivity.ViewHolder
/packages/apps/Music/src/com/android/music/
DArtistAlbumBrowserActivity.java570 static class ViewHolder { class in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter
641 ViewHolder vh = new ViewHolder(); in newGroupView()
655 ViewHolder vh = new ViewHolder(); in newChildView()
669 ViewHolder vh = (ViewHolder) view.getTag(); in bindGroupView()
699 ViewHolder vh = (ViewHolder) view.getTag(); in bindChildView()
DMusicPicker.java178 class ViewHolder { class in MusicPicker.TrackListAdapter
218 ViewHolder vh = new ViewHolder(); in newView()
232 ViewHolder vh = (ViewHolder) view.getTag(); in bindView()
DAlbumBrowserActivity.java510 static class ViewHolder { class in AlbumBrowserActivity.AlbumListAdapter
578 ViewHolder vh = new ViewHolder(); in newView()
592 ViewHolder vh = (ViewHolder) view.getTag(); in bindView()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogAdapter.java33 import android.support.v7.widget.RecyclerView.ViewHolder;
389 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
404 private ViewHolder createCallLogEntryViewHolder(ViewGroup parent) { in createCallLogEntryViewHolder()
432 public void onBindViewHolder(ViewHolder viewHolder, int position) { in onBindViewHolder()
454 protected void bindVoicemailPromoCardViewHolder(ViewHolder viewHolder) { in bindVoicemailPromoCardViewHolder()
469 private void bindCallLogListViewHolder(ViewHolder viewHolder, int position) { in bindCallLogListViewHolder()
788 protected ViewHolder createVoicemailPromoCardViewHolder(ViewGroup parent) { in createVoicemailPromoCardViewHolder()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java99 ViewHolder mHolder;
154 public static class ViewHolder { class in RunningProcessesView
162 public ViewHolder(View v) { in ViewHolder() method in RunningProcessesView.ViewHolder
300 new ViewHolder(v); in newView()
312 ViewHolder vh = (ViewHolder) view.getTag(); in bindView()
DRunningServiceDetails.java76 RunningProcessesView.ViewHolder mSnippetViewHolder;
90 RunningProcessesView.ViewHolder mViewHolder;
266 detail.mViewHolder = new RunningProcessesView.ViewHolder(root); in addServiceDetailsView()
341 detail.mViewHolder = new RunningProcessesView.ViewHolder(root); in addProcessDetailsView()
521 mSnippetViewHolder = new RunningProcessesView.ViewHolder(mSnippet);
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcPaymentPreference.java162 ViewHolder holder; in getView()
167 holder = new ViewHolder(); in getView()
172 holder = (ViewHolder) convertView.getTag(); in getView()
188 public class ViewHolder { class in NfcPaymentPreference.NfcPaymentAdapter
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMenuItemPresenter.java43 private static class MenuItemViewHolder extends ViewHolder {
59 public ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder()
67 public void onBindViewHolder(ViewHolder viewHolder, Object item) { in onBindViewHolder()
109 public void onUnbindViewHolder(ViewHolder viewHolder) { in onUnbindViewHolder()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminSettings.java172 static class ViewHolder { class in DeviceAdminSettings
315 ViewHolder h = new ViewHolder(); in newDeviceAdminView()
326 ViewHolder vh = (ViewHolder) view.getTag(); in bindView()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java229 final ViewHolder holder; in getView()
234 holder = new ViewHolder(); in getView()
242 holder = (ViewHolder) rowView.getTag(); in getView()
265 private class ViewHolder { class in SelectPhoneAccountDialogFragment.SelectAccountListAdapter
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java99 ViewHolder holder; in getView()
103 holder = new ViewHolder(); in getView()
108 holder = (ViewHolder) convertView.getTag(); in getView()
133 private class ViewHolder { class in LiveWallpaperListAdapter
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java337 ViewHolder holder; in getView()
341 holder = new ViewHolder(); in getView()
347 holder = (ViewHolder) view.getTag(); in getView()
402 private static class ViewHolder { class in KeyChainActivity
/packages/apps/FMRadio/src/com/android/fmradio/
DFmFavoriteActivity.java252 static final class ViewHolder { class in FmFavoriteActivity
303 ViewHolder viewHolder = null; in getView()
305 viewHolder = new ViewHolder(); in getView()
319 viewHolder = (ViewHolder) convertView.getTag(); in getView()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java53 import android.support.v7.widget.RecyclerView.ViewHolder;
219 final RecyclerView.ViewHolder holder = mRecyclerView.findViewHolderForItemId(id); in isScrolledToBottom()
515 private final List<ViewHolder> mAddAnimations = new ArrayList<ViewHolder>(); in onCreateView()
519 public boolean animateAdd(final ViewHolder holder) { in onCreateView()
578 public void endAnimation(final ViewHolder holder) { in onCreateView()
587 for (final ViewHolder holder : mAddAnimations) { in onCreateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DDialogActionAdapter.java29 import android.support.v7.widget.RecyclerView.ViewHolder;
85 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
96 public void onBindViewHolder(RecyclerView.ViewHolder baseHolder, int position) { in onBindViewHolder()
148 private static class ActionViewHolder extends ViewHolder {

12