Home
last modified time | relevance | path

Searched refs:oldHolder (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java72 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 …]
DSimpleItemAnimator.java148 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
DRecyclerView.java3765 private void animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, in animateChange() argument
3768 oldHolder.setIsRecyclable(false); in animateChange()
3770 addAnimatingView(oldHolder); in animateChange()
3772 if (oldHolder != newHolder) { in animateChange()
3776 oldHolder.mShadowedHolder = newHolder; in animateChange()
3778 addAnimatingView(oldHolder); in animateChange()
3779 mRecycler.unscrapView(oldHolder); in animateChange()
3781 newHolder.mShadowingHolder = oldHolder; in animateChange()
3783 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) { in animateChange()
11868 public abstract boolean animateChange(@NonNull ViewHolder oldHolder, in animateChange() argument