Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewAnimationsTest.java212 LoggingItemAnimator itemAnimator = (LoggingItemAnimator) mRecyclerView in dontLayoutReusedViewWithoutPredictive()
214 itemAnimator.reset(); in dontLayoutReusedViewWithoutPredictive()
247 assertFalse(itemAnimator.contains(target, itemAnimator.mAnimatePersistenceList)); in dontLayoutReusedViewWithoutPredictive()
248 assertFalse(itemAnimator.contains(target, itemAnimator.mAnimateChangeList)); in dontLayoutReusedViewWithoutPredictive()
249 assertFalse(itemAnimator.contains(target, itemAnimator.mAnimateAppearanceList)); in dontLayoutReusedViewWithoutPredictive()
252 assertTrue(itemAnimator.contains(target, itemAnimator.mAnimateDisappearanceList)); in dontLayoutReusedViewWithoutPredictive()
265 LoggingItemAnimator itemAnimator = (LoggingItemAnimator) mRecyclerView in dontLayoutReusedViewWithPredictive()
267 itemAnimator.reset(); in dontLayoutReusedViewWithPredictive()
297 assertFalse(itemAnimator.contains(target, itemAnimator.mAnimatePersistenceList)); in dontLayoutReusedViewWithPredictive()
298 assertFalse(itemAnimator.contains(target, itemAnimator.mAnimateChangeList)); in dontLayoutReusedViewWithPredictive()
[all …]
DBaseLinearLayoutManagerTest.java433 RecyclerView.ItemAnimator itemAnimator = mRecyclerView.getItemAnimator(); in waitForAnimationsToEnd() local
434 if (itemAnimator == null) { in waitForAnimationsToEnd()
438 final boolean running = itemAnimator.isRunning( in waitForAnimationsToEnd()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java2098 final RecyclerView.ItemAnimator itemAnimator = recyclerView.getItemAnimator(); in getAnimationDuration() local
2099 if (itemAnimator == null) { in getAnimationDuration()
2103 return animationType == ANIMATION_TYPE_DRAG ? itemAnimator.getMoveDuration() in getAnimationDuration()
2104 : itemAnimator.getRemoveDuration(); in getAnimationDuration()