/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewInfoStore.java | 115 info = record.postInfo; in popFromLayoutStep() 190 record.postInfo = info; in addToPostLayout() 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() 248 callback.processAppeared(viewHolder, record.preInfo, record.postInfo); in process() 285 @Nullable ItemHolderInfo postInfo); in processDisappeared() argument 287 ItemHolderInfo postInfo); in processAppeared() argument 289 @NonNull ItemHolderInfo postInfo); in processPersistent() argument 307 @Nullable ItemHolderInfo postInfo; field in ViewInfoStore.InfoRecord [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 160 toLeft = postInfo.left; in animateChange() 161 toTop = postInfo.top; in animateChange()
|
D | RecyclerView.java | 495 @Nullable ItemHolderInfo postInfo) { 497 animateDisappearance(viewHolder, info, postInfo); 507 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { 513 if (mItemAnimator.animateChange(viewHolder, viewHolder, preInfo, postInfo)) { 516 } else if (mItemAnimator.animatePersistence(viewHolder, preInfo, postInfo)) { 3585 ItemHolderInfo postInfo = mViewInfoStore.popFromPostLayout(holder); in dispatchLayoutStep3() local 3589 animateChange(oldChangeViewHolder, holder, preInfo, postInfo, in dispatchLayoutStep3() 3765 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo, in animateChange() argument 3782 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) { in animateChange()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | ViewInfoStore.java | 110 info = record.postInfo; in popFromLayoutStep() 185 record.postInfo = info; in addToPostLayout() 230 callback.processDisappeared(viewHolder, record.preInfo, record.postInfo); in process() 234 callback.processAppeared(viewHolder, record.preInfo, record.postInfo); in process() 237 callback.processPersistent(viewHolder, record.preInfo, record.postInfo); in process() 243 callback.processAppeared(viewHolder, record.preInfo, record.postInfo); in process() 280 @Nullable RecyclerView.ItemAnimator.ItemHolderInfo postInfo); in processDisappeared() argument 282 RecyclerView.ItemAnimator.ItemHolderInfo postInfo); in processAppeared() argument 284 @NonNull RecyclerView.ItemAnimator.ItemHolderInfo postInfo); in processPersistent() argument 304 RecyclerView.ItemAnimator.ItemHolderInfo postInfo; field in ViewInfoStore.InfoRecord [all …]
|
D | SimpleItemAnimator.java | 132 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in animatePersistence() argument 133 if (preInfo.left != postInfo.left || preInfo.top != postInfo.top) { in animatePersistence() 139 preInfo.left, preInfo.top, postInfo.left, postInfo.top); in animatePersistence() 147 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in animateChange() argument 158 toLeft = postInfo.left; in animateChange() 159 toTop = postInfo.top; in animateChange()
|
D | RecyclerView.java | 564 @Nullable ItemHolderInfo postInfo) { 566 animateDisappearance(viewHolder, info, postInfo); 576 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { 583 postInfo)) { 586 } else if (mItemAnimator.animatePersistence(viewHolder, preInfo, postInfo)) { 3934 ItemHolderInfo postInfo = mViewInfoStore.popFromPostLayout(holder); in dispatchLayoutStep3() local 3938 animateChange(oldChangeViewHolder, holder, preInfo, postInfo, in dispatchLayoutStep3() 4123 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo, in animateChange() argument 4140 if (mItemAnimator.animateChange(oldHolder, newHolder, preInfo, postInfo)) { in animateChange()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | ItemAnimatorV2ApiTest.java | 174 LoggingInfo postInfo = mAnimator.postLayoutInfoMap.get(target); in changeMovedOutsideWithPredictive() local 175 assertNotNull("test sanity", postInfo); in changeMovedOutsideWithPredictive() 179 assertEquals(new AnimateDisappearance(target, pre, postInfo), in changeMovedOutsideWithPredictive() 182 assertEquals(new AnimateDisappearance(target, pre, postInfo), in changeMovedOutsideWithPredictive() 199 assertEquals(0, log.postInfo.changeFlags); in simpleAdd() 251 assertEquals(0, log.postInfo.changeFlags); in simpleUpdate() 288 assertEquals(0, log.postInfo.changeFlags); in updateWithDuplicateViewHolder() 351 assertEquals(0, logReplaced.postInfo.changeFlags); in updateWithOneDuplicateAndOneInPlace() 352 assertEquals(0, logReused.postInfo.changeFlags); in updateWithOneDuplicateAndOneInPlace() 427 assertEquals(0, log.postInfo.changeFlags); in updatePayload() [all …]
|
D | LoggingItemAnimator.java | 104 @NonNull ItemHolderInfo postInfo) { in animatePersistence() argument 108 (BaseRecyclerViewAnimationsTest.LoggingInfo) postInfo)); in animatePersistence() 109 return super.animatePersistence(viewHolder, preInfo, postInfo); in animatePersistence() 115 @NonNull ItemHolderInfo postInfo) { in animateChange() argument 119 (BaseRecyclerViewAnimationsTest.LoggingInfo) postInfo)); in animateChange() 120 return super.animateChange(oldHolder, newHolder, preInfo, postInfo); in animateChange()
|
D | BaseRecyclerViewAnimationsTest.java | 692 public final LoggingInfo postInfo; field in BaseRecyclerViewAnimationsTest.AnimateLogBase 695 LoggingInfo postInfo) { in AnimateLogBase() argument 698 this.postInfo = postInfo; in AnimateLogBase() 702 return getClass().getSimpleName() + "[" + log(preInfo) + " - " + log(postInfo) + "]"; in log() 727 return !(postInfo != null ? !postInfo.equals(that.postInfo) : that.postInfo != null); in equals() 735 result = 31 * result + (postInfo != null ? postInfo.hashCode() : 0); in hashCode()
|
D | BaseWrapContentTest.java | 422 "[pre:" + log(base.postInfo) + in log() 423 ", post:" + log(base.postInfo) + "]"; in log() 426 private String log(BaseRecyclerViewAnimationsTest.LoggingInfo postInfo) { in log() argument 427 if (postInfo == null) { in log() 430 return "PI[flags: " + postInfo.changeFlags in log() 431 + ",l:" + (postInfo.left + mOffsetX) in log() 432 + ",t:" + (postInfo.top + mOffsetY) in log() 433 + ",r:" + (postInfo.right + mOffsetX) in log() 434 + ",b:" + (postInfo.bottom + mOffsetY) + "]"; in log()
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
D | ViewInfoStoreTest.java | 275 return record.postInfo; in find() 291 @Nullable ItemHolderInfo postInfo) { in processDisappeared() argument 294 disappeared.put(viewHolder, new Pair<>(preInfo, postInfo)); in processDisappeared() 307 @NonNull ItemHolderInfo preInfo, @NonNull ItemHolderInfo postInfo) { in processPersistent() argument 310 assertNotNull(postInfo); in processPersistent() 311 persistent.put(viewHolder, new Pair<>(preInfo, postInfo)); in processPersistent()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
D | AnimatedRecyclerView.java | 208 ItemHolderInfo postInfo) { in createAnimator() argument 210 return super.animateChange(oldHolder, newHolder, preInfo, postInfo); in createAnimator() 212 return animateChangeApiHoneycombMr1(oldHolder, newHolder, preInfo, postInfo); in createAnimator() 217 ItemHolderInfo preInfo, ItemHolderInfo postInfo) { in createAnimator() argument 220 MyItemInfo post = (MyItemInfo) postInfo; in createAnimator()
|