Searched refs:ViewHolder (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/docs/html/training/improving-layouts/ |
D | smooth-scrolling.jd | 19 <li><a href="#ViewHolder">Hold View Objects in a View Holder</a></li> 53 new AsyncTask<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/ |
D | RecentsPanelView.java | 126 /* 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 …]
|
D | RecentsScrollViewPerformanceHelper.java | 81 final RecentsPanelView.ViewHolder holder = in addViewCallback() 82 (RecentsPanelView.ViewHolder) newLinearLayoutChild.getTag(); in addViewCallback()
|
D | RecentsHorizontalScrollView.java | 129 RecentsPanelView.ViewHolder holder = (RecentsPanelView.ViewHolder) view.getTag(); in update()
|
D | RecentsVerticalScrollView.java | 133 RecentsPanelView.ViewHolder holder = (RecentsPanelView.ViewHolder) view.getTag(); in update()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseAccountActivity.java | 150 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()
|
D | ChooseAccountTypeActivity.java | 166 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/ |
D | MediaRouteChooserDialogFragment.java | 199 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()
|