Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java67 public ViewHolder oldHolder, newHolder; field in DefaultItemAnimator.ChangeInfo
69 private ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder) { in ChangeInfo() argument
70 this.oldHolder = oldHolder; in ChangeInfo()
74 private ChangeInfo(ViewHolder oldHolder, ViewHolder newHolder, in ChangeInfo() argument
76 this(oldHolder, newHolder); in ChangeInfo()
86 "oldHolder=" + oldHolder + in toString()
152 ViewHolder holder = changes.get(0).oldHolder; in runPendingAnimations()
311 public boolean animateChange(ViewHolder oldHolder, ViewHolder newHolder, in animateChange() argument
313 if (oldHolder == newHolder) { in animateChange()
316 return animateMove(oldHolder, fromX, fromY, toX, toY); in animateChange()
[all …]
DSimpleItemAnimator.java134 public boolean animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, in animateChange() argument
137 Log.d(TAG, "CHANGED: " + oldHolder + " with view " + oldHolder.itemView); in animateChange()
149 return animateChange(oldHolder, newHolder, fromLeft, fromTop, toLeft, toTop); in animateChange()
253 abstract public boolean animateChange(ViewHolder oldHolder, in animateChange() argument
DRecyclerView.java3492 private void animateChange(@NonNull ViewHolder oldHolder, @NonNull ViewHolder newHolder, in animateChange() argument
3495 oldHolder.setIsRecyclable(false); in animateChange()
3497 addAnimatingView(oldHolder); in animateChange()
3499 if (oldHolder != newHolder) { in animateChange()
3503 oldHolder.mShadowedHolder = newHolder; in animateChange()
3505 addAnimatingView(oldHolder); in animateChange()
3506 mRecycler.unscrapView(oldHolder); in animateChange()
3508 newHolder.mShadowingHolder = oldHolder; in animateChange()
3510 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) { in animateChange()
11136 public abstract boolean animateChange(@NonNull ViewHolder oldHolder, in animateChange() argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLoggingItemAnimator.java114 public boolean animateChange(@NonNull RecyclerView.ViewHolder oldHolder, in animateChange() argument
118 .add(new AnimateChange(oldHolder, newHolder, in animateChange()
121 return super.animateChange(oldHolder, newHolder, preInfo, postInfo); in animateChange()
160 public boolean animateChange(RecyclerView.ViewHolder oldHolder, in animateChange() argument
162 if (oldHolder != null) { in animateChange()
163 mChangeOldVHs.add(oldHolder); in animateChange()
168 return super.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
DItemAnimatorV2ApiTest.java672 public boolean animateChange(@NonNull RecyclerView.ViewHolder oldHolder, in animateChange() argument
675 animateChangeList.add(new AnimateChange(oldHolder, newHolder, (LoggingInfo) preInfo, in animateChange()
677 if (oldHolder != null) { in animateChange()
678 dispatchAnimationFinished(oldHolder); in animateChange()
679 assertSame(preLayoutInfoMap.get(oldHolder), preInfo); in animateChange()
681 if (newHolder != null && oldHolder != newHolder) { in animateChange()
DDefaultItemAnimatorTest.java364 boolean animateChange(final RecyclerView.ViewHolder oldHolder, in animateChange() argument
371 result[0] = mAnimator.animateChange(oldHolder, newHolder, fromX, fromY, toX, toY); in animateChange()
DBaseRecyclerViewAnimationsTest.java656 public AnimateChange(RecyclerView.ViewHolder oldHolder, RecyclerView.ViewHolder newHolder, in AnimateChange() argument
658 super(oldHolder, pre, post); in AnimateChange()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryItemAnimator.java103 public boolean animateChange(final RecyclerView.ViewHolder oldHolder, in animateChange() argument
106 if (oldHolder != newHolder) { in animateChange()
107 return super.animateChange(oldHolder, newHolder, preInfo, postInfo); in animateChange()
114 dispatchAnimationFinished(oldHolder); in animateChange()
119 oldHolder.itemView.setBackgroundColor(startColor); in animateChange()
120 mPendingAnimations.add(new ColorAnimation(oldHolder, startColor, endColor)); in animateChange()