/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | BrowseAnimationFragment.java | 93 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 94 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 108 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 109 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 123 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 124 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 136 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 137 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 146 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 147 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() [all …]
|
D | StringPresenter.java | 24 public ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 31 return new ViewHolder(tv); in onCreateViewHolder() 34 public void onBindViewHolder(ViewHolder viewHolder, Object item) { in onBindViewHolder() 39 public void onUnbindViewHolder(ViewHolder viewHolder) { in onUnbindViewHolder()
|
D | HorizontalGridTestActivity.java | 139 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 147 return new ViewHolder(textView); in onCreateViewHolder() 151 public void onBindViewHolder(RecyclerView.ViewHolder baseHolder, int position) { in onBindViewHolder() 153 ViewHolder holder = (ViewHolder) baseHolder; in onBindViewHolder() 166 static class ViewHolder extends RecyclerView.ViewHolder { class in HorizontalGridTestActivity 168 public ViewHolder(View v) { in ViewHolder() method in HorizontalGridTestActivity.ViewHolder
|
D | VerticalGridFragment.java | 90 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, in setupFragment() 91 RowPresenter.ViewHolder rowViewHolder, Row row) { in setupFragment() 98 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in setupFragment() 99 RowPresenter.ViewHolder rowViewHolder, Row row) { in setupFragment()
|
D | VerticalGridSupportFragment.java | 92 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, in setupFragment() 93 RowPresenter.ViewHolder rowViewHolder, Row row) { in setupFragment() 100 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in setupFragment() 101 RowPresenter.ViewHolder rowViewHolder, Row row) { in setupFragment()
|
D | CardPresenter.java | 77 public ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 100 return new ViewHolder(v); in onCreateViewHolder() 104 public void onBindViewHolder(ViewHolder viewHolder, Object item) { in onBindViewHolder() 117 public void onUnbindViewHolder(ViewHolder viewHolder) { in onUnbindViewHolder()
|
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/ |
D | CustomAdapter.java | 30 public class CustomAdapter extends RecyclerView.Adapter<CustomAdapter.ViewHolder> { 39 public static class ViewHolder extends RecyclerView.ViewHolder { class in CustomAdapter 42 public ViewHolder(View v) { in ViewHolder() method in CustomAdapter.ViewHolder 72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() 77 return new ViewHolder(v); in onCreateViewHolder() 84 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
|
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/ |
D | PlanetAdapter.java | 30 public class PlanetAdapter extends RecyclerView.Adapter<PlanetAdapter.ViewHolder> { 44 public static class ViewHolder extends RecyclerView.ViewHolder { class in PlanetAdapter 47 public ViewHolder(TextView v) { in ViewHolder() method in PlanetAdapter.ViewHolder 59 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 63 return new ViewHolder(tv); in onCreateViewHolder() 67 public void onBindViewHolder(ViewHolder holder, final int position) { in onBindViewHolder()
|
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | SimpleStringRecyclerViewAdapter.java | 34 extends RecyclerView.Adapter<SimpleStringRecyclerViewAdapter.ViewHolder> { 40 public static class ViewHolder extends RecyclerView.ViewHolder { class in SimpleStringRecyclerViewAdapter 44 public ViewHolder(TextView v) { in ViewHolder() method in SimpleStringRecyclerViewAdapter.ViewHolder 70 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 74 return new ViewHolder(textView); in onCreateViewHolder() 78 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder()
|
D | BottomSheetWithFragment.java | 79 public static class ViewHolder extends RecyclerView.ViewHolder { class in BottomSheetWithFragment 83 public ViewHolder(LayoutInflater inflater, ViewGroup parent) { in ViewHolder() method in BottomSheetWithFragment.ViewHolder 89 public static class DummyAdapter extends RecyclerView.Adapter<ViewHolder> { 101 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 102 return new ViewHolder(LayoutInflater.from(mContext), parent); in onCreateViewHolder() 106 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder()
|
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/ |
D | UsageListAdapter.java | 35 public class UsageListAdapter extends RecyclerView.Adapter<UsageListAdapter.ViewHolder> { 43 public static class ViewHolder extends RecyclerView.ViewHolder { class in UsageListAdapter 48 public ViewHolder(View v) { in ViewHolder() method in UsageListAdapter.ViewHolder 72 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() 75 return new ViewHolder(v); in onCreateViewHolder() 79 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
D | DirectoryEntryAdapter.java | 17 public class DirectoryEntryAdapter extends RecyclerView.Adapter<DirectoryEntryAdapter.ViewHolder> { 30 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() 33 return new ViewHolder(v); in onCreateViewHolder() 37 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder() 61 public class ViewHolder extends RecyclerView.ViewHolder { class in DirectoryEntryAdapter 67 public ViewHolder(View v) { in ViewHolder() method in DirectoryEntryAdapter.ViewHolder
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
D | DirectoryEntryAdapter.java | 31 public class DirectoryEntryAdapter extends RecyclerView.Adapter<DirectoryEntryAdapter.ViewHolder> { 39 public static class ViewHolder extends RecyclerView.ViewHolder { class in DirectoryEntryAdapter 44 public ViewHolder(View v) { in ViewHolder() method in DirectoryEntryAdapter.ViewHolder 74 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int viewType) { in onCreateViewHolder() 77 return new ViewHolder(v); in onCreateViewHolder() 81 public void onBindViewHolder(ViewHolder viewHolder, final int position) { in onBindViewHolder()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
D | SimpleStringAdapter.java | 29 public class SimpleStringAdapter extends RecyclerView.Adapter<SimpleStringAdapter.ViewHolder> { 35 public static class ViewHolder extends RecyclerView.ViewHolder { class in SimpleStringAdapter 39 public ViewHolder(TextView v) { in ViewHolder() method in SimpleStringAdapter.ViewHolder 74 public SimpleStringAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 75 final ViewHolder h = new ViewHolder(new TextView(parent.getContext())); in onCreateViewHolder() 92 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/ |
D | ItemTouchHelperActivity.java | 107 RecyclerView.ViewHolder viewHolder) { in createCallback() 112 public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, in createCallback() 113 RecyclerView.ViewHolder target) { in createCallback() 119 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) { in createCallback() 124 public void onSelectedChanged(RecyclerView.ViewHolder viewHolder, int actionState) { in createCallback() 131 RecyclerView.ViewHolder viewHolder, in createCallback() 143 RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, in createCallback() 164 public void clearView(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) { in createCallback() 175 RecyclerView.ViewHolder viewHolder, 184 RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, [all …]
|
/development/samples/Support4Demos/src/com/example/android/supportv4/view/ |
D | ViewPagerActivity.java | 76 return new ViewHolder(view, position); in instantiateItem() 82 container.removeView(((ViewHolder) object).view); in destroyItem() 87 return ((ViewHolder) object).position; in getItemPosition() 92 return ((ViewHolder) object).view == view; in isViewFromObject() 100 private static class ViewHolder { class in ViewPagerActivity.ColorPagerAdapter 104 public ViewHolder(View view, int position) { in ViewHolder() method in ViewPagerActivity.ColorPagerAdapter.ViewHolder
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
D | AbstractCardPresenter.java | 45 @Override public final ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 47 return new ViewHolder(cardView); in onCreateViewHolder() 50 @Override public final void onBindViewHolder(ViewHolder viewHolder, Object item) { in onBindViewHolder() 55 @Override public final void onUnbindViewHolder(ViewHolder viewHolder) { in onUnbindViewHolder()
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
D | DetailsDescriptionPresenter.java | 41 @Override public ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 43 return new ViewHolder(view); in onCreateViewHolder() 46 @Override public void onBindViewHolder(ViewHolder viewHolder, Object item) { in onBindViewHolder() 59 @Override public void onUnbindViewHolder(ViewHolder viewHolder) { in onUnbindViewHolder()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | QueueAdapter.java | 47 private static class ViewHolder { class in QueueAdapter 54 ViewHolder holder; in getView() 59 holder = new ViewHolder(); in getView() 65 holder = (ViewHolder) convertView.getTag(); in getView()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List14.java | 100 ViewHolder holder; in getView() 110 holder = new ViewHolder(); in getView() 118 holder = (ViewHolder) convertView.getTag(); in getView() 128 static class ViewHolder { class in List14.EfficientAdapter
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | QueueAdapter.java | 45 private static class ViewHolder { class in QueueAdapter 52 ViewHolder holder; in getView() 57 holder = new ViewHolder(); in getView() 63 holder = (ViewHolder) convertView.getTag(); in getView()
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | MainActivity.java | 71 public void onClick(WearableListView.ViewHolder v) { in onClick() 89 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 90 return new WearableListView.ViewHolder( in onCreateViewHolder() 95 public void onBindViewHolder(WearableListView.ViewHolder holder, int position) { in onBindViewHolder()
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/ |
D | SpeedPickerListAdapter.java | 47 public static class ItemViewHolder extends WearableListView.ViewHolder { 62 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, in onCreateViewHolder() 73 public void onBindViewHolder(WearableListView.ViewHolder holder, in onBindViewHolder()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | ListPopupWindowActivity.java | 72 class ViewHolder { in onCreate() 97 ViewHolder viewHolder = new ViewHolder(); in onCreate() 104 ViewHolder viewHolder = (ViewHolder) convertView.getTag(); in onCreate()
|
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/ |
D | DataFragment.java | 74 ViewHolder holder; in getView() 76 holder = new ViewHolder(); in getView() 84 holder = (ViewHolder) convertView.getTag(); in getView() 92 private class ViewHolder { class in DataFragment.DataItemAdapter
|