Searched defs:oldHolder (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DDefaultItemAnimator.java72 public ViewHolder oldHolder, newHolder; field in class:DefaultItemAnimator.ChangeInfo
74 private ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder) { argument
75 this.oldHolder = oldHolder;
79 ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder, argument
81 this(oldHolder, newHolder);
91 + "oldHolder=" + oldHolder
157 ViewHolder holder = changes.get(0).oldHolder;
320 public boolean animateChange(ViewHolder oldHolder, ViewHolde argument
[all...]
H A DSimpleItemAnimator.java148 public boolean animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, argument
151 Log.d(TAG, "CHANGED: " + oldHolder + " with view " + oldHolder.itemView);
163 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop);
245 * If the {@code oldHolder} is the same ViewHolder as the {@code newHolder}, you must call
258 * @param oldHolder The original item that changed.
267 public abstract boolean animateChange(ViewHolder oldHolder, argument
H A DRecyclerView.java3764 private void animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, argument
3767 oldHolder.setIsRecyclable(false);
3769 addAnimatingView(oldHolder);
3771 if (oldHolder != newHolder) {
3775 oldHolder.mShadowedHolder = newHolder;
3777 addAnimatingView(oldHolder);
3778 mRecycler.unscrapView(oldHolder);
3780 newHolder.mShadowingHolder = oldHolder;
3782 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) {
11830 * <code>oldHolder</cod
11866 animateChange(@onNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, @NonNull ItemHolderInfo preLayoutInfo, @NonNull ItemHolderInfo postLayoutInfo) argument
[all...]
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DDummyItemAnimator.java134 public boolean animateChange(RecyclerView.ViewHolder oldHolder, argument
136 mChangesOld.add(oldHolder);
138 dispatchChangeStarting(oldHolder, true);
H A DItemAnimatorV2ApiTest.java672 public boolean animateChange(@NonNull RecyclerView.ViewHolder oldHolder, argument
675 animateChangeList.add(new AnimateChange(oldHolder, newHolder, (LoggingInfo) preInfo,
677 if (oldHolder != null) {
678 dispatchAnimationFinished(oldHolder);
679 assertSame(preLayoutInfoMap.get(oldHolder), preInfo);
681 if (newHolder != null && oldHolder != newHolder) {
H A DLoggingItemAnimator.java113 public boolean animateChange(@NonNull RecyclerView.ViewHolder oldHolder, argument
117 .add(new BaseRecyclerViewAnimationsTest.AnimateChange(oldHolder, newHolder,
120 return super.animateChange(oldHolder, newHolder, preInfo, postInfo);
159 public boolean animateChange(RecyclerView.ViewHolder oldHolder, argument
161 if (oldHolder != null) {
162 mChangeOldVHs.add(oldHolder);
167 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY);
H A DDefaultItemAnimatorTest.java365 boolean animateChange(final RecyclerView.ViewHolder oldHolder, argument
372 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY);
H A DBaseRecyclerViewAnimationsTest.java660 public AnimateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, argument
662 super(oldHolder, pre, post);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDefaultItemAnimator.java71 public RecyclerView.ViewHolder oldHolder, newHolder; field in class:DefaultItemAnimator.ChangeInfo
73 private ChangeInfo(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder) { argument
74 this.oldHolder = oldHolder;
78 ChangeInfo(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, argument
80 this(oldHolder, newHolder);
90 + "oldHolder=" + oldHolder
156 RecyclerView.ViewHolder holder = changes.get(0).oldHolder;
319 public boolean animateChange(RecyclerView.ViewHolder oldHolder, RecyclerVie argument
[all...]
H A DSimpleItemAnimator.java146 public boolean animateChange(@NonNull RecyclerView.ViewHolder oldHolder, @NonNull RecyclerView.ViewHolder newHolder, argument
149 Log.d(TAG, "CHANGED: " + oldHolder + " with view " + oldHolder.itemView);
161 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop);
243 * If the {@code oldHolder} is the same ViewHolder as the {@code newHolder}, you must call
256 * @param oldHolder The original item that changed.
265 public abstract boolean animateChange(RecyclerView.ViewHolder oldHolder, argument
H A DRecyclerView.java4122 private void animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, argument
4125 oldHolder.setIsRecyclable(false);
4127 addAnimatingView(oldHolder);
4129 if (oldHolder != newHolder) {
4133 oldHolder.mShadowedHolder = newHolder;
4135 addAnimatingView(oldHolder);
4136 mRecycler.unscrapView(oldHolder);
4138 newHolder.mShadowingHolder = oldHolder;
4140 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) {
12781 * <code>oldHolder</cod
12817 animateChange(@onNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, @NonNull ItemHolderInfo preLayoutInfo, @NonNull ItemHolderInfo postLayoutInfo) argument
[all...]

Completed in 131 milliseconds