Searched defs:viewHolder (Results 1 - 25 of 71) sorted by relevance

123

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DViewHolderTask.java22 public void run(RecyclerView.ViewHolder viewHolder); argument
H A DDividerPresenter.java53 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
57 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
H A DMediaItemActionPresenter.java58 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
59 ViewHolder actionViewHolder = (ViewHolder) viewHolder;
65 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
H A DActionPresenterSelector.java61 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
63 ActionViewHolder vh = (ActionViewHolder) viewHolder;
85 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
86 ActionViewHolder vh = (ActionViewHolder) viewHolder;
102 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
103 super.onBindViewHolder(viewHolder, item);
104 ActionViewHolder vh = ((ActionViewHolder) viewHolder);
119 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
120 super.onBindViewHolder(viewHolder, item);
122 ActionViewHolder vh = (ActionViewHolder) viewHolder;
[all...]
H A DControlButtonPresenterSelector.java94 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
96 ActionViewHolder vh = (ActionViewHolder) viewHolder;
115 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
116 ActionViewHolder vh = (ActionViewHolder) viewHolder;
125 public void setOnClickListener(Presenter.ViewHolder viewHolder, argument
127 ((ActionViewHolder) viewHolder).mFocusableView.setOnClickListener(listener);
H A DDetailsOverviewLogoPresenter.java105 * @param viewHolder
109 public void setContext(ViewHolder viewHolder, argument
112 viewHolder.mParentViewHolder = parentViewHolder;
113 viewHolder.mParentPresenter = parentPresenter;
124 public boolean isBoundToImage(ViewHolder viewHolder, DetailsOverviewRow row) { argument
132 * @param viewHolder ViewHolder to bind.
136 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
138 ImageView imageView = ((ImageView) viewHolder.view);
140 if (isBoundToImage((ViewHolder) viewHolder, row)) {
141 ViewHolder vh = (ViewHolder) viewHolder;
170 onUnbindViewHolder(Presenter.ViewHolder viewHolder) argument
[all...]
H A DPresenter.java53 * public void onBindViewHolder(ViewHolder viewHolder, Object item) {
55 * TextView textView = (TextView) viewHolder.mView;
61 * public void onUnbindViewHolder(ViewHolder viewHolder) {
62 * // Nothing to unbind for TextView, but if this viewHolder had
129 public abstract void onBindViewHolder(ViewHolder viewHolder, Object item); argument
133 * @param viewHolder The ViewHolder which should be updated to represent the contents of the
139 public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) { argument
140 onBindViewHolder(viewHolder, item);
148 public abstract void onUnbindViewHolder(ViewHolder viewHolder); argument
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
H A DCardPresenter.java49 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
51 ImageCardView cardView = (ImageCardView) viewHolder.view;
58 public void onUnbindViewHolder(ViewHolder viewHolder) { argument
59 ImageCardView cardView = (ImageCardView) viewHolder.view;
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DStringPresenter.java40 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
42 ((TextView) viewHolder.view).setText(item.toString());
46 public void onUnbindViewHolder(ViewHolder viewHolder) { argument
H A DCardPresenter.java111 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
114 final Context context = viewHolder.view.getContext();
117 ((ImageCardView) viewHolder.view).setMainImage(drawable);
118 ((ImageCardView) viewHolder.view).setTitleText(photoItem.getTitle());
120 ((ImageCardView) viewHolder.view).setContentText(photoItem.getContent());
125 public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) { argument
127 super.onBindViewHolder(viewHolder, item, payloads);
133 final Context context = viewHolder.view.getContext();
136 ((ImageCardView) viewHolder.view).setMainImage(drawable);
139 ((ImageCardView) viewHolder
149 onUnbindViewHolder(ViewHolder viewHolder) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/presenter/
H A DGridItemPresenter.java51 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
52 ((TextView) viewHolder.view).setText((String) item);
56 public void onUnbindViewHolder(ViewHolder viewHolder) { argument
H A DHeaderItemPresenter.java52 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
54 View rootView = viewHolder.view;
67 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
H A DCardPresenter.java66 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
69 final ImageCardView cardView = (ImageCardView) viewHolder.view;
96 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
97 ImageCardView cardView = (ImageCardView) viewHolder.view;
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
H A DStringPresenter.java40 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
42 ((TextView) viewHolder.view).setText(item.toString());
46 public void onUnbindViewHolder(ViewHolder viewHolder) { argument
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DStringPresenter.java40 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
42 ((TextView) viewHolder.view).setText(item.toString());
46 public void onUnbindViewHolder(ViewHolder viewHolder) { argument
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/presenter/
H A DGridItemPresenter.java51 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
52 ((TextView) viewHolder.view).setText((String) item);
56 public void onUnbindViewHolder(ViewHolder viewHolder) { argument
H A DHeaderItemPresenter.java52 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
54 View rootView = viewHolder.view;
67 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
H A DCardPresenter.java66 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
69 final ImageCardView cardView = (ImageCardView) viewHolder.view;
96 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { argument
97 ImageCardView cardView = (ImageCardView) viewHolder.view;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
H A DRvArrayAdapter.java56 public void onBindViewHolder(ViewHolder viewHolder, final int position) { argument
57 viewHolder.getTextView().setText(mDataSet[position]);
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
H A DHeaderRecyclerViewTest.java169 public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int i) { argument
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DDragAndDropActivity.java82 public void onBind(ItemTouchViewHolder viewHolder) { argument
83 super.onBind(viewHolder);
84 viewHolder.actionButton.setVisibility(mLongPressDragEnabled ? View.GONE : View.VISIBLE);
88 public void clearView(RecyclerView.ViewHolder viewHolder) { argument
89 super.clearView(viewHolder);
90 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
97 public void onSelectedChanged(RecyclerView.ViewHolder viewHolder, int actionState) { argument
98 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
103 super.onSelectedChanged(viewHolder, actionState);
123 public int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) { argument
[all...]
H A DSwipeToDismissActivity.java92 public void onBind(ItemTouchViewHolder viewHolder) { argument
93 super.onBind(viewHolder);
94 viewHolder.actionButton.setVisibility(mPointerSwipeEnabled ? View.GONE : View.VISIBLE);
98 public void clearView(RecyclerView.ViewHolder viewHolder) { argument
99 super.clearView(viewHolder);
100 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
107 public void onSelectedChanged(RecyclerView.ViewHolder viewHolder, int actionState) { argument
108 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
114 touchVH.overlay.setTranslationX(viewHolder.itemView.getWidth());
118 super.onSelectedChanged(viewHolder, actionStat
122 onChildDraw(Canvas c, RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) argument
163 getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) argument
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DItemBridgeAdapterTest.java59 public void onBindViewHolder(ViewHolder viewHolder, Object item) { argument
63 public void onUnbindViewHolder(ViewHolder viewHolder) { argument
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DDragAndDropActivity.java82 public void onBind(ItemTouchViewHolder viewHolder) { argument
83 super.onBind(viewHolder);
84 viewHolder.actionButton.setVisibility(mLongPressDragEnabled ? View.GONE : View.VISIBLE);
88 public void clearView(RecyclerView.ViewHolder viewHolder) { argument
89 super.clearView(viewHolder);
90 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
97 public void onSelectedChanged(RecyclerView.ViewHolder viewHolder, int actionState) { argument
98 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
103 super.onSelectedChanged(viewHolder, actionState);
123 public int getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) { argument
[all...]
H A DSwipeToDismissActivity.java92 public void onBind(ItemTouchViewHolder viewHolder) { argument
93 super.onBind(viewHolder);
94 viewHolder.actionButton.setVisibility(mPointerSwipeEnabled ? View.GONE : View.VISIBLE);
98 public void clearView(RecyclerView.ViewHolder viewHolder) { argument
99 super.clearView(viewHolder);
100 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
107 public void onSelectedChanged(RecyclerView.ViewHolder viewHolder, int actionState) { argument
108 ItemTouchViewHolder touchVH = (ItemTouchViewHolder) viewHolder;
114 touchVH.overlay.setTranslationX(viewHolder.itemView.getWidth());
118 super.onSelectedChanged(viewHolder, actionStat
122 onChildDraw(Canvas c, RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) argument
163 getMovementFlags(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) argument
[all...]

Completed in 131 milliseconds

123