Home
last modified time | relevance | path

Searched refs:viewHolders (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java641 void cancelAll(List<ViewHolder> viewHolders) { in cancelAll() argument
642 for (int i = viewHolders.size() - 1; i >= 0; i--) { in cancelAll()
643 viewHolders.get(i).itemView.animate().cancel(); in cancelAll()
DRecyclerView.java5002 ArrayList<ViewHolder> viewHolders = mScrap.valueAt(i).mScrapHeap; in size() local
5003 if (viewHolders != null) { in size()
5004 count += viewHolders.size(); in size()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DDefaultItemAnimatorTest.java130 void expectItems(RecyclerView.ViewHolder... viewHolders) { in expectItems() argument
131 mExpectedItems.addAll(Arrays.asList(viewHolders)); in expectItems()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DDefaultItemAnimator.java640 void cancelAll(List<RecyclerView.ViewHolder> viewHolders) { in cancelAll() argument
641 for (int i = viewHolders.size() - 1; i >= 0; i--) { in cancelAll()
642 viewHolders.get(i).itemView.animate().cancel(); in cancelAll()
DRecyclerView.java5419 ArrayList<ViewHolder> viewHolders = mScrap.valueAt(i).mScrapHeap; in size() local
5420 if (viewHolders != null) { in size()
5421 count += viewHolders.size(); in size()