/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | DefaultItemAnimatorTest.java | 55 List<RecyclerView.ViewHolder> mExpectedItems = new ArrayList<RecyclerView.ViewHolder>(); 57 Set<RecyclerView.ViewHolder> mRemoveFinished = new HashSet<RecyclerView.ViewHolder>(); 58 Set<RecyclerView.ViewHolder> mAddFinished = new HashSet<RecyclerView.ViewHolder>(); 59 Set<RecyclerView.ViewHolder> mMoveFinished = new HashSet<RecyclerView.ViewHolder>(); 60 Set<RecyclerView.ViewHolder> mChangeFinished = new HashSet<RecyclerView.ViewHolder>(); 68 public void onRemoveFinished(RecyclerView.ViewHolder item) { in setUp() 78 public void onAddFinished(RecyclerView.ViewHolder item) { in setUp() 88 public void onMoveFinished(RecyclerView.ViewHolder item) { in setUp() 98 public void onChangeFinished(RecyclerView.ViewHolder item, boolean oldItem) { in setUp() 107 private void onFinished(RecyclerView.ViewHolder item) { in setUp() [all …]
|
D | LoggingItemAnimator.java | 28 final ArrayList<RecyclerView.ViewHolder> mAddVHs = new ArrayList<RecyclerView.ViewHolder>(); 30 final ArrayList<RecyclerView.ViewHolder> mRemoveVHs = new ArrayList<RecyclerView.ViewHolder>(); 32 final ArrayList<RecyclerView.ViewHolder> mMoveVHs = new ArrayList<RecyclerView.ViewHolder>(); 34 … final ArrayList<RecyclerView.ViewHolder> mChangeOldVHs = new ArrayList<RecyclerView.ViewHolder>(); 36 … final ArrayList<RecyclerView.ViewHolder> mChangeNewVHs = new ArrayList<RecyclerView.ViewHolder>(); 45 public boolean contains(RecyclerView.ViewHolder viewHolder, in contains() 63 @NonNull RecyclerView.ViewHolder viewHolder, in recordPreLayoutInformation() 73 @NonNull RecyclerView.ViewHolder viewHolder) { in recordPostLayoutInformation() 81 public boolean animateDisappearance(@NonNull RecyclerView.ViewHolder viewHolder, in animateDisappearance() 91 public boolean animateAppearance(@NonNull RecyclerView.ViewHolder viewHolder, in animateAppearance() [all …]
|
D | DummyItemAnimator.java | 45 ArrayList<RecyclerView.ViewHolder> mAdds = new ArrayList(); 46 ArrayList<RecyclerView.ViewHolder> mRemoves = new ArrayList(); 47 ArrayList<RecyclerView.ViewHolder> mMoves = new ArrayList(); 48 ArrayList<RecyclerView.ViewHolder> mChangesOld = new ArrayList(); 49 ArrayList<RecyclerView.ViewHolder> mChangesNew = new ArrayList(); 91 public List<RecyclerView.ViewHolder> getAddAnimations() { in getAddAnimations() 95 public List<RecyclerView.ViewHolder> getRemoveAnimations() { in getRemoveAnimations() 99 public List<RecyclerView.ViewHolder> getMovesAnimations() { in getMovesAnimations() 103 public List<RecyclerView.ViewHolder> getChangesOldAnimations() { in getChangesOldAnimations() 107 public List<RecyclerView.ViewHolder> getChangesNewAnimations() { in getChangesNewAnimations() [all …]
|
D | RecyclerViewCacheTest.java | 148 .thenAnswer(new Answer<RecyclerView.ViewHolder>() { in prefetchReusesCacheItems() 150 public RecyclerView.ViewHolder answer(InvocationOnMock invocation) in prefetchReusesCacheItems() 152 return new RecyclerView.ViewHolder(new View(getContext())) {}; in prefetchReusesCacheItems() 162 any(RecyclerView.ViewHolder.class), anyInt(), any(List.class)); in prefetchReusesCacheItems() 172 any(RecyclerView.ViewHolder.class), anyInt(), any(List.class)); in prefetchReusesCacheItems() 185 .thenAnswer(new Answer<RecyclerView.ViewHolder>() { in prefetchItemsNotEvictedWithInserts() 187 public RecyclerView.ViewHolder answer(InvocationOnMock invocation) in prefetchItemsNotEvictedWithInserts() 192 return new RecyclerView.ViewHolder(view) {}; in prefetchItemsNotEvictedWithInserts() 237 .thenAnswer(new Answer<RecyclerView.ViewHolder>() { in prefetchItemsNotEvictedOnScroll() 239 public RecyclerView.ViewHolder answer(InvocationOnMock invocation) in prefetchItemsNotEvictedOnScroll() [all …]
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | RowPresenter.java | 121 static class ContainerViewHolder extends Presenter.ViewHolder { 125 final ViewHolder mRowViewHolder; 127 public ContainerViewHolder(RowContainerView containerView, ViewHolder rowViewHolder) { in ContainerViewHolder() 141 public static class ViewHolder extends Presenter.ViewHolder { class in RowPresenter 147 RowHeaderPresenter.ViewHolder mHeaderViewHolder; 165 public ViewHolder(View view) { in ViewHolder() method in RowPresenter.ViewHolder 216 public final RowHeaderPresenter.ViewHolder getHeaderViewHolder() { in getHeaderViewHolder() 298 public Presenter.ViewHolder getSelectedItemViewHolder() { in getSelectedItemViewHolder() 325 public final Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 326 ViewHolder vh = createRowViewHolder(parent); in onCreateViewHolder() [all …]
|
D | ListRowPresenter.java | 60 public static class ViewHolder extends RowPresenter.ViewHolder { class in ListRowPresenter 70 public ViewHolder(View rootView, HorizontalGridView gridView, ListRowPresenter p) { in ViewHolder() method in ListRowPresenter.ViewHolder 118 public Presenter.ViewHolder getItemViewHolder(int position) { in getItemViewHolder() 119 ItemBridgeAdapter.ViewHolder ibvh = (ItemBridgeAdapter.ViewHolder) mGridView in getItemViewHolder() 128 public Presenter.ViewHolder getSelectedItemViewHolder() { in getSelectedItemViewHolder() 134 ItemBridgeAdapter.ViewHolder ibvh = (ItemBridgeAdapter.ViewHolder) mGridView in getSelectedItem() 207 public void run(Presenter.ViewHolder holder) { in run() 208 if (holder instanceof ListRowPresenter.ViewHolder) { in run() 209 HorizontalGridView gridView = ((ListRowPresenter.ViewHolder) holder).getGridView(); in run() 215 public void run(RecyclerView.ViewHolder rvh) { in run() [all …]
|
D | ItemBridgeAdapter.java | 40 public void onCreate(ViewHolder viewHolder) { in onCreate() 43 public void onBind(ViewHolder viewHolder) { in onBind() 46 public void onBind(ViewHolder viewHolder, List payloads) { in onBind() 50 public void onUnbind(ViewHolder viewHolder) { in onUnbind() 53 public void onAttachedToWindow(ViewHolder viewHolder) { in onAttachedToWindow() 56 public void onDetachedFromWindow(ViewHolder viewHolder) { in onDetachedFromWindow() 101 public class ViewHolder extends RecyclerView.ViewHolder implements FacetProvider { class in ItemBridgeAdapter 103 final Presenter.ViewHolder mHolder; 118 public final Presenter.ViewHolder getViewHolder() { in getViewHolder() 152 ViewHolder(Presenter presenter, View view, Presenter.ViewHolder holder) { in ViewHolder() method in ItemBridgeAdapter.ViewHolder [all …]
|
D | DetailsOverviewLogoPresenter.java | 30 public static class ViewHolder extends Presenter.ViewHolder { class in DetailsOverviewLogoPresenter 33 protected FullWidthDetailsOverviewRowPresenter.ViewHolder mParentViewHolder; 36 public ViewHolder(View view) { in ViewHolder() method in DetailsOverviewLogoPresenter.ViewHolder 44 public FullWidthDetailsOverviewRowPresenter.ViewHolder getParentViewHolder() { in getParentViewHolder() 93 public Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 95 ViewHolder vh = new ViewHolder(view); in onCreateViewHolder() 109 public void setContext(ViewHolder viewHolder, in setContext() 110 FullWidthDetailsOverviewRowPresenter.ViewHolder parentViewHolder, in setContext() 124 public boolean isBoundToImage(ViewHolder viewHolder, DetailsOverviewRow row) { in isBoundToImage() 136 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder() [all …]
|
D | VerticalGridPresenter.java | 35 protected void onCreate(ItemBridgeAdapter.ViewHolder viewHolder) { in onCreate() 46 public void onBind(final ItemBridgeAdapter.ViewHolder itemViewHolder) { in onBind() 64 public void onUnbind(ItemBridgeAdapter.ViewHolder viewHolder) { in onUnbind() 71 public void onAttachedToWindow(ItemBridgeAdapter.ViewHolder viewHolder) { in onAttachedToWindow() 79 public static class ViewHolder extends Presenter.ViewHolder { class in VerticalGridPresenter 84 public ViewHolder(VerticalGridView view) { in ViewHolder() method in VerticalGridPresenter.ViewHolder 234 public final ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 235 ViewHolder vh = createGridViewHolder(parent); in onCreateViewHolder() 248 protected ViewHolder createGridViewHolder(ViewGroup parent) { in createGridViewHolder() 251 return new ViewHolder((VerticalGridView) root.findViewById(R.id.browse_grid)); in createGridViewHolder() [all …]
|
D | FullWidthDetailsOverviewRowPresenter.java | 107 public void onBindLogo(ViewHolder vh) { in onBindLogo() 113 FullWidthDetailsOverviewRowPresenter.ViewHolder mViewHolder; 115 ActionsItemBridgeAdapter(FullWidthDetailsOverviewRowPresenter.ViewHolder viewHolder) { in ActionsItemBridgeAdapter() 120 public void onBind(final ItemBridgeAdapter.ViewHolder ibvh) { in onBind() 140 public void onUnbind(final ItemBridgeAdapter.ViewHolder ibvh) { in onUnbind() 147 public void onAttachedToWindow(ItemBridgeAdapter.ViewHolder viewHolder) { in onAttachedToWindow() 153 public void onDetachedFromWindow(ItemBridgeAdapter.ViewHolder viewHolder) { in onDetachedFromWindow() 162 public class ViewHolder extends RowPresenter.ViewHolder { class in FullWidthDetailsOverviewRowPresenter 195 final Presenter.ViewHolder mDetailsDescriptionViewHolder; 196 final DetailsOverviewLogoPresenter.ViewHolder mDetailsLogoViewHolder; [all …]
|
D | PlaybackControlsPresenter.java | 51 class ViewHolder extends ControlBarPresenter.ViewHolder { class in PlaybackControlsPresenter 55 Presenter.ViewHolder mMoreActionsViewHolder; 68 ViewHolder(View rootView) { in ViewHolder() method in PlaybackControlsPresenter.ViewHolder 238 public void setProgressColor(ViewHolder vh, @ColorInt int color) { in setProgressColor() 245 public void setTotalTime(ViewHolder vh, int ms) { in setTotalTime() 249 public void setTotalTimeLong(ViewHolder vh, long ms) { in setTotalTimeLong() 253 public int getTotalTime(ViewHolder vh) { in getTotalTime() 257 public long getTotalTimeLong(ViewHolder vh) { in getTotalTimeLong() 261 public void setCurrentTime(ViewHolder vh, int ms) { in setCurrentTime() 265 public void setCurrentTimeLong(ViewHolder vh, long ms) { in setCurrentTimeLong() [all …]
|
D | RowHeaderPresenter.java | 83 public static class ViewHolder extends Presenter.ViewHolder { class in RowHeaderPresenter 94 public ViewHolder(View view) { in ViewHolder() method in RowHeaderPresenter.ViewHolder 107 public ViewHolder(RowHeaderView view) { in ViewHolder() method in RowHeaderPresenter.ViewHolder 128 public Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 132 ViewHolder viewHolder = new ViewHolder(root); in onCreateViewHolder() 140 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder() 142 RowHeaderPresenter.ViewHolder vh = (RowHeaderPresenter.ViewHolder)viewHolder; in onBindViewHolder() 173 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder() 174 RowHeaderPresenter.ViewHolder vh = (ViewHolder)viewHolder; in onUnbindViewHolder() 183 setSelectLevel((ViewHolder) viewHolder, 0); in onUnbindViewHolder() [all …]
|
D | MediaItemActionPresenter.java | 36 static class ViewHolder extends Presenter.ViewHolder { class in MediaItemActionPresenter 39 public ViewHolder(View view) { in ViewHolder() method in MediaItemActionPresenter.ViewHolder 50 public Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() 54 return new ViewHolder(actionView); in onCreateViewHolder() 58 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { in onBindViewHolder() 59 ViewHolder actionViewHolder = (ViewHolder) viewHolder; in onBindViewHolder() 65 public void onUnbindViewHolder(Presenter.ViewHolder viewHolder) { in onUnbindViewHolder()
|
D | PlaybackControlsRowPresenter.java | 48 ViewHolder mRowViewHolder; 54 public class ViewHolder extends PlaybackRowPresenter.ViewHolder { class in PlaybackControlsRowPresenter 55 public final Presenter.ViewHolder mDescriptionViewHolder; 67 PlaybackControlsPresenter.ViewHolder mControlsVh; 68 Presenter.ViewHolder mSecondaryControlsVh; 71 Presenter.ViewHolder mSelectedViewHolder; 91 ViewHolder(View rootView, Presenter descriptionPresenter) { in ViewHolder() method in PlaybackControlsRowPresenter.ViewHolder 116 ViewHolder.this, getRow()); in dispatchItemSelection() 121 ViewHolder.this, getRow()); in dispatchItemSelection() 172 public void onControlSelected(Presenter.ViewHolder itemViewHolder, Object item, [all …]
|
D | DetailsOverviewRowPresenter.java | 72 DetailsOverviewRowPresenter.ViewHolder mViewHolder; 74 ActionsItemBridgeAdapter(DetailsOverviewRowPresenter.ViewHolder viewHolder) { in ActionsItemBridgeAdapter() 79 public void onBind(final ItemBridgeAdapter.ViewHolder ibvh) { in onBind() 99 public void onUnbind(final ItemBridgeAdapter.ViewHolder ibvh) { in onUnbind() 106 public void onAttachedToWindow(ItemBridgeAdapter.ViewHolder viewHolder) { in onAttachedToWindow() 112 public void onDetachedFromWindow(ItemBridgeAdapter.ViewHolder viewHolder) { in onDetachedFromWindow() 121 public final class ViewHolder extends RowPresenter.ViewHolder { class in DetailsOverviewRowPresenter 128 public final Presenter.ViewHolder mDetailsDescriptionViewHolder; 138 bindImageDrawable(ViewHolder.this); 195 ItemBridgeAdapter.ViewHolder ibvh = (ItemBridgeAdapter.ViewHolder) (view != null in dispatchItemSelection() [all …]
|
D | ControlBarPresenter.java | 54 void onControlSelected(Presenter.ViewHolder controlViewHolder, Object item, in onControlSelected() 62 void onControlClicked(Presenter.ViewHolder controlViewHolder, Object item, in onControlClicked() 66 class ViewHolder extends Presenter.ViewHolder { class in ControlBarPresenter 72 SparseArray<Presenter.ViewHolder> mViewHolders = 73 new SparseArray<Presenter.ViewHolder>(); 79 ViewHolder(View rootView) { in ViewHolder() method in ControlBarPresenter.ViewHolder 152 Presenter.ViewHolder vh = mViewHolders.get(position); in bindControlToAction() 158 final Presenter.ViewHolder itemViewHolder = vh; in bindControlToAction() 236 public void setBackgroundColor(ViewHolder vh, int color) { in setBackgroundColor() 241 public Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { in onCreateViewHolder() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SimpleItemAnimator.java | 25 import com.android.internal.widget.RecyclerView.ViewHolder; 85 public boolean canReuseUpdatedViewHolder(@NonNull RecyclerView.ViewHolder viewHolder) { in canReuseUpdatedViewHolder() 90 public boolean animateDisappearance(@NonNull ViewHolder viewHolder, in animateDisappearance() 114 public boolean animateAppearance(@NonNull ViewHolder viewHolder, in animateAppearance() 133 public boolean animatePersistence(@NonNull ViewHolder viewHolder, in animatePersistence() 148 public boolean animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, in animateChange() 189 public abstract boolean animateRemove(ViewHolder holder); in animateRemove() 214 public abstract boolean animateAdd(ViewHolder holder); in animateAdd() 234 public abstract boolean animateMove(ViewHolder holder, int fromX, int fromY, in animateMove() 267 public abstract boolean animateChange(ViewHolder oldHolder, in animateChange() [all …]
|
D | ViewInfoStore.java | 26 import static com.android.internal.widget.RecyclerView.ViewHolder; 48 final ArrayMap<ViewHolder, InfoRecord> mLayoutHolderMap = new ArrayMap<>(); 51 final LongSparseArray<ViewHolder> mOldChangedHolders = new LongSparseArray<>(); 66 void addToPreLayout(ViewHolder holder, ItemHolderInfo info) { in addToPreLayout() 76 boolean isDisappearing(ViewHolder holder) { in isDisappearing() 88 ItemHolderInfo popFromPreLayout(ViewHolder vh) { in popFromPreLayout() 99 ItemHolderInfo popFromPostLayout(ViewHolder vh) { in popFromPostLayout() 103 private ItemHolderInfo popFromLayoutStep(ViewHolder vh, int flag) { in popFromLayoutStep() 134 void addToOldChangeHolders(long key, ViewHolder holder) { in addToOldChangeHolders() 147 void addToAppearedInPreLayoutHolders(ViewHolder holder, ItemHolderInfo info) { in addToAppearedInPreLayoutHolders() [all …]
|
D | DefaultItemAnimator.java | 27 import com.android.internal.widget.RecyclerView.ViewHolder; 44 private ArrayList<ViewHolder> mPendingRemovals = new ArrayList<>(); 45 private ArrayList<ViewHolder> mPendingAdditions = new ArrayList<>(); 49 ArrayList<ArrayList<ViewHolder>> mAdditionsList = new ArrayList<>(); 53 ArrayList<ViewHolder> mAddAnimations = new ArrayList<>(); 54 ArrayList<ViewHolder> mMoveAnimations = new ArrayList<>(); 55 ArrayList<ViewHolder> mRemoveAnimations = new ArrayList<>(); 56 ArrayList<ViewHolder> mChangeAnimations = new ArrayList<>(); 59 public ViewHolder holder; 62 MoveInfo(ViewHolder holder, int fromX, int fromY, int toX, int toY) { in MoveInfo() [all …]
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | SimpleItemAnimator.java | 83 public boolean canReuseUpdatedViewHolder(@NonNull RecyclerView.ViewHolder viewHolder) { in canReuseUpdatedViewHolder() 88 public boolean animateDisappearance(@NonNull RecyclerView.ViewHolder viewHolder, in animateDisappearance() 112 public boolean animateAppearance(@NonNull RecyclerView.ViewHolder viewHolder, in animateAppearance() 131 public boolean animatePersistence(@NonNull RecyclerView.ViewHolder viewHolder, in animatePersistence() 146 …blic boolean animateChange(@NonNull RecyclerView.ViewHolder oldHolder, @NonNull RecyclerView.ViewH… in animateChange() 187 public abstract boolean animateRemove(RecyclerView.ViewHolder holder); in animateRemove() 212 public abstract boolean animateAdd(RecyclerView.ViewHolder holder); in animateAdd() 232 public abstract boolean animateMove(RecyclerView.ViewHolder holder, int fromX, int fromY, in animateMove() 265 public abstract boolean animateChange(RecyclerView.ViewHolder oldHolder, in animateChange() 266 RecyclerView.ViewHolder newHolder, int fromLeft, int fromTop, int toLeft, int toTop); in animateChange() [all …]
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
D | BrowseAnimationFragment.java | 95 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 96 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 110 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 111 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 125 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 126 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 138 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 139 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() 148 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, in createRandomItem() 149 RowPresenter.ViewHolder rowViewHolder, Row row) { in createRandomItem() [all …]
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
D | RowsSupportFragment.java | 84 final Presenter.ViewHolder mRowViewHolder; 93 RowViewHolderExtra(ItemBridgeAdapter.ViewHolder ibvh) { in RowViewHolderExtra() 141 ItemBridgeAdapter.ViewHolder mSelectedViewHolder; 209 ItemBridgeAdapter.ViewHolder vh = in setExpand() 210 (ItemBridgeAdapter.ViewHolder) listView.getChildViewHolder(view); in setExpand() 226 ItemBridgeAdapter.ViewHolder ibvh = (ItemBridgeAdapter.ViewHolder) in setOnItemViewSelectedListener() 241 void onRowSelected(RecyclerView parent, RecyclerView.ViewHolder viewHolder, in onRowSelected() 250 mSelectedViewHolder = (ItemBridgeAdapter.ViewHolder) viewHolder; in onRowSelected() 269 public RowPresenter.ViewHolder getRowViewHolder(int position) { in getRowViewHolder() 274 return getRowViewHolder((ItemBridgeAdapter.ViewHolder) in getRowViewHolder() [all …]
|
D | RowsFragment.java | 89 final Presenter.ViewHolder mRowViewHolder; 98 RowViewHolderExtra(ItemBridgeAdapter.ViewHolder ibvh) { in RowViewHolderExtra() 146 ItemBridgeAdapter.ViewHolder mSelectedViewHolder; 214 ItemBridgeAdapter.ViewHolder vh = in setExpand() 215 (ItemBridgeAdapter.ViewHolder) listView.getChildViewHolder(view); in setExpand() 231 ItemBridgeAdapter.ViewHolder ibvh = (ItemBridgeAdapter.ViewHolder) in setOnItemViewSelectedListener() 246 void onRowSelected(RecyclerView parent, RecyclerView.ViewHolder viewHolder, in onRowSelected() 255 mSelectedViewHolder = (ItemBridgeAdapter.ViewHolder) viewHolder; in onRowSelected() 274 public RowPresenter.ViewHolder getRowViewHolder(int position) { in getRowViewHolder() 279 return getRowViewHolder((ItemBridgeAdapter.ViewHolder) in getRowViewHolder() [all …]
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
D | NestedRecyclerViewActivity.java | 51 static class InnerAdapter extends RecyclerView.Adapter<InnerAdapter.ViewHolder> { 52 public static class ViewHolder extends RecyclerView.ViewHolder { class in NestedRecyclerViewActivity.InnerAdapter 55 public ViewHolder(TextView itemView) { in ViewHolder() method in NestedRecyclerViewActivity.InnerAdapter.ViewHolder 68 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() 73 return new ViewHolder(textView); in onCreateViewHolder() 77 public void onBindViewHolder(ViewHolder holder, int position) { in onBindViewHolder() 89 static class OuterAdapter extends RecyclerView.Adapter<OuterAdapter.ViewHolder> { 90 public static class ViewHolder extends RecyclerView.ViewHolder { class in NestedRecyclerViewActivity.OuterAdapter 92 public ViewHolder(RecyclerView itemView) { in ViewHolder() method in NestedRecyclerViewActivity.OuterAdapter.ViewHolder 119 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() [all …]
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
D | ViewInfoStoreTest.java | 38 import androidx.recyclerview.widget.RecyclerView.ViewHolder; 64 RecyclerView.ViewHolder vh = new MockViewHolder(); in addOverridePre() 74 RecyclerView.ViewHolder vh = new MockViewHolder(); in addOverridePost() 84 RecyclerView.ViewHolder vh = new MockViewHolder(); in addRemoveAndReAdd() 95 RecyclerView.ViewHolder vh = new MockViewHolder(); in addToPreLayout() 106 RecyclerView.ViewHolder vh = new MockViewHolder(); in addToPostLayout() 117 RecyclerView.ViewHolder vh = new MockViewHolder(); in popFromPreLayout() 126 RecyclerView.ViewHolder vh = new MockViewHolder(); in addToOldChangeHolders() 135 RecyclerView.ViewHolder vh = new MockViewHolder(); in appearListTests() 139 RecyclerView.ViewHolder vh2 = new MockViewHolder(); in appearListTests() [all …]
|