/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ViewInfoStore.java | 69 record.preInfo = info; in addToPreLayout() 110 info = record.preInfo; in popFromLayoutStep() 151 record.preInfo = info; in addToAppearedInPreLayoutHolders() 227 if (record.preInfo == null) { in process() 232 callback.processDisappeared(viewHolder, record.preInfo, record.postInfo); in process() 236 callback.processAppeared(viewHolder, record.preInfo, record.postInfo); in process() 239 callback.processPersistent(viewHolder, record.preInfo, record.postInfo); in process() 242 callback.processDisappeared(viewHolder, record.preInfo, null); in process() 245 callback.processAppeared(viewHolder, record.preInfo, record.postInfo); in process() 281 void processDisappeared(ViewHolder viewHolder, @NonNull ItemHolderInfo preInfo, in processDisappeared() argument [all …]
|
D | SimpleItemAnimator.java | 134 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in animatePersistence() argument 135 if (preInfo.left != postInfo.left || preInfo.top != postInfo.top) { in animatePersistence() 141 preInfo.left, preInfo.top, postInfo.left, postInfo.top); in animatePersistence() 149 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in animateChange() argument 153 final int fromLeft = preInfo.left; in animateChange() 154 final int fromTop = preInfo.top; in animateChange() 157 toLeft = preInfo.left; in animateChange() 158 toTop = preInfo.top; in animateChange()
|
D | RecyclerView.java | 527 ItemHolderInfo preInfo, ItemHolderInfo info) { 528 animateAppearance(viewHolder, preInfo, info); 533 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { 539 if (mItemAnimator.animateChange(viewHolder, viewHolder, preInfo, 543 } else if (mItemAnimator.animatePersistence(viewHolder, preInfo, postInfo)) { 3743 final ItemHolderInfo preInfo = mViewInfoStore.popFromPreLayout( in dispatchLayoutStep3() local 3748 if (preInfo == null) { in dispatchLayoutStep3() 3751 animateChange(oldChangeViewHolder, holder, preInfo, postInfo, in dispatchLayoutStep3() 3935 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo, in animateChange() argument 3952 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) { in animateChange()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewInfoStore.java | 72 record.preInfo = info; in addToPreLayout() 113 info = record.preInfo; in popFromLayoutStep() 154 record.preInfo = info; in addToAppearedInPreLayoutHolders() 230 if (record.preInfo == null) { in process() 235 callback.processDisappeared(viewHolder, record.preInfo, record.postInfo); in process() 239 callback.processAppeared(viewHolder, record.preInfo, record.postInfo); in process() 242 callback.processPersistent(viewHolder, record.preInfo, record.postInfo); in process() 245 callback.processDisappeared(viewHolder, record.preInfo, null); in process() 248 callback.processAppeared(viewHolder, record.preInfo, record.postInfo); in process() 284 void processDisappeared(ViewHolder viewHolder, @NonNull ItemHolderInfo preInfo, in processDisappeared() argument [all …]
|
D | SimpleItemAnimator.java | 134 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in animatePersistence() argument 135 if (preInfo.left != postInfo.left || preInfo.top != postInfo.top) { in animatePersistence() 141 preInfo.left, preInfo.top, postInfo.left, postInfo.top); in animatePersistence() 149 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in animateChange() argument 153 final int fromLeft = preInfo.left; in animateChange() 154 final int fromTop = preInfo.top; in animateChange() 157 toLeft = preInfo.left; in animateChange() 158 toTop = preInfo.top; in animateChange()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | ItemAnimatorV2ApiTest.java | 197 assertNull(log.preInfo); in simpleAdd() 223 assertEquals(FLAG_REMOVED, log.preInfo.changeFlags); in simpleRemove() 249 assertEquals(FLAG_CHANGED, log.preInfo.changeFlags); in simpleUpdate() 286 assertEquals(FLAG_CHANGED, log.preInfo.changeFlags); in updateWithDuplicateViewHolder() 347 assertEquals(FLAG_CHANGED, logReplaced.preInfo.changeFlags); in updateWithOneDuplicateAndOneInPlace() 348 assertEquals(FLAG_CHANGED, logReused.preInfo.changeFlags); in updateWithOneDuplicateAndOneInPlace() 375 assertEquals(FLAG_CHANGED, log.preInfo.changeFlags); in changeToDisappear() 395 assertEquals(FLAG_CHANGED, log.preInfo.changeFlags); in changeToDisappearFromHead() 425 assertEquals(FLAG_CHANGED, log.preInfo.changeFlags); in updatePayload() 427 assertNotNull(log.preInfo.payloads); in updatePayload() [all …]
|
D | LoggingItemAnimator.java | 104 @NonNull ItemHolderInfo preInfo, in animatePersistence() argument 108 (BaseRecyclerViewAnimationsTest.LoggingInfo) preInfo, in animatePersistence() 110 return super.animatePersistence(viewHolder, preInfo, postInfo); in animatePersistence() 115 @NonNull RecyclerView.ViewHolder newHolder, @NonNull ItemHolderInfo preInfo, in animateChange() argument 119 (BaseRecyclerViewAnimationsTest.LoggingInfo) preInfo, in animateChange() 121 return super.animateChange(oldHolder, newHolder, preInfo, postInfo); in animateChange()
|
D | BaseRecyclerViewAnimationsTest.java | 691 public final LoggingInfo preInfo; field in BaseRecyclerViewAnimationsTest.AnimateLogBase 697 this.preInfo = pre; in AnimateLogBase() 702 return getClass().getSimpleName() + "[" + log(preInfo) + " - " + log(postInfo) + "]"; in log() 724 if (preInfo != null ? !preInfo.equals(that.preInfo) : that.preInfo != null) { in equals() 734 result = 31 * result + (preInfo != null ? preInfo.hashCode() : 0); in hashCode()
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
D | ViewInfoStoreTest.java | 267 return record.preInfo; in find() 284 ItemHolderInfo preInfo, in processDisappeared() argument 286 assertNotNull(preInfo); in processDisappeared() 288 disappeared.put(viewHolder, new Pair<>(preInfo, postInfo)); in processDisappeared() 293 @Nullable ItemHolderInfo preInfo, @NonNull ItemHolderInfo info) { in processAppeared() argument 296 appeared.put(viewHolder, new Pair<>(preInfo, info)); in processAppeared() 301 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in processPersistent() argument 303 assertNotNull(preInfo); in processPersistent() 305 persistent.put(viewHolder, new Pair<>(preInfo, postInfo)); in processPersistent()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | AnimatedRecyclerView.java | 208 RecyclerView.ViewHolder newHolder, ItemHolderInfo preInfo, in createAnimator() argument 212 return super.animateChange(oldHolder, newHolder, preInfo, postInfo); in createAnimator() 214 return animateChangeApiHoneycombMr1(oldHolder, newHolder, preInfo, postInfo); in createAnimator() 220 ItemHolderInfo preInfo, ItemHolderInfo postInfo) { in createAnimator() argument 222 MyItemInfo pre = (MyItemInfo) preInfo; in createAnimator()
|