Searched refs:oldHolder (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | DefaultItemAnimator.java | 72 public ViewHolder oldHolder, newHolder; field in DefaultItemAnimator.ChangeInfo 74 private ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder) { in ChangeInfo() argument 75 this.oldHolder = oldHolder; in ChangeInfo() 79 ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder, in ChangeInfo() argument 81 this(oldHolder, newHolder); in ChangeInfo() 91 + "oldHolder=" + oldHolder in toString() 157 ViewHolder holder = changes.get(0).oldHolder; in runPendingAnimations() 320 public boolean animateChange(ViewHolder oldHolder, ViewHolder newHolder, in animateChange() argument 322 if (oldHolder == newHolder) { in animateChange() 325 return animateMove(oldHolder, fromX, fromY, toX, toY); in animateChange() [all …]
|
D | SimpleItemAnimator.java | 148 public boolean animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, in animateChange() argument 151 Log.d(TAG, "CHANGED: " + oldHolder + " with view " + oldHolder.itemView); in animateChange() 163 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop); in animateChange() 267 public abstract boolean animateChange(ViewHolder oldHolder, in animateChange() argument
|
D | RecyclerView.java | 3886 private void animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, in animateChange() argument 3889 oldHolder.setIsRecyclable(false); in animateChange() 3891 addAnimatingView(oldHolder); in animateChange() 3893 if (oldHolder != newHolder) { in animateChange() 3897 oldHolder.mShadowedHolder = newHolder; in animateChange() 3899 addAnimatingView(oldHolder); in animateChange() 3900 mRecycler.unscrapView(oldHolder); in animateChange() 3902 newHolder.mShadowingHolder = oldHolder; in animateChange() 3904 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) { in animateChange() 11989 public abstract boolean animateChange(@NonNull ViewHolder oldHolder,
|