Home
last modified time | relevance | path

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

/frameworks/base/docs/html/training/improving-layouts/
Dsmooth-scrolling.jd19 <li><a href="#ViewHolder">Hold View Objects in a View Holder</a></li>
53 new AsyncTask&lt;ViewHolder, Void, Bitmap>() {
54 private ViewHolder v;
57 protected Bitmap doInBackground(ViewHolder... params) {
83 <h2 id="ViewHolder">Hold View Objects in a View Holder</h2>
93 <p>A {@code ViewHolder} object stores each of the component views inside the tag field of the
98 static class ViewHolder {
107 <p>Then populate the {@code ViewHolder} and store it inside the layout.</p>
110 ViewHolder holder = new ViewHolder();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java126 /* package */ final static class ViewHolder { class in RecentsPanelView
158 ViewHolder holder = new ViewHolder(); in createView()
189 ViewHolder holder = (ViewHolder) convertView.getTag(); in getView()
212 ViewHolder holder = (ViewHolder) v.getTag(); in recycleView()
527 private void updateIcon(ViewHolder h, Drawable icon, boolean show, boolean anim) { in updateIcon()
540 private void updateThumbnail(ViewHolder h, Bitmap thumbnail, boolean show, boolean anim) { in updateThumbnail()
584 if (v.getTag() instanceof ViewHolder) { in onTaskThumbnailLoaded()
585 ViewHolder h = (ViewHolder)v.getTag(); in onTaskThumbnailLoaded()
711 ViewHolder holder = (ViewHolder)view.getTag(); in handleOnClick()
814 TaskDescription ad = ((ViewHolder) view.getTag()).taskDescription; in handleSwipe()
[all …]
DRecentsScrollViewPerformanceHelper.java81 final RecentsPanelView.ViewHolder holder = in addViewCallback()
82 (RecentsPanelView.ViewHolder) newLinearLayoutChild.getTag(); in addViewCallback()
DRecentsHorizontalScrollView.java129 RecentsPanelView.ViewHolder holder = (RecentsPanelView.ViewHolder) view.getTag(); in update()
DRecentsVerticalScrollView.java133 RecentsPanelView.ViewHolder holder = (RecentsPanelView.ViewHolder) view.getTag(); in update()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java150 private static class ViewHolder { class in ChooseAccountActivity
168 ViewHolder holder; in getView()
172 holder = new ViewHolder(); in getView()
177 holder = (ViewHolder) convertView.getTag(); in getView()
DChooseAccountTypeActivity.java166 private static class ViewHolder { class in ChooseAccountTypeActivity
185 ViewHolder holder; in getView()
189 holder = new ViewHolder(); in getView()
194 holder = (ViewHolder) convertView.getTag(); in getView()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialogFragment.java199 private static class ViewHolder { class in MediaRouteChooserDialogFragment
395 ViewHolder holder; in getView()
398 holder = new ViewHolder(); in getView()
413 final ViewHolder fholder = holder; in getView()
421 holder = (ViewHolder) convertView.getTag(); in getView()
441 void bindItemView(int position, ViewHolder holder) { in bindItemView()
481 void bindHeaderView(int position, ViewHolder holder) { in bindHeaderView()