Searched refs:getRecycledViewCount (Results 1 - 5 of 5) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecycledViewPoolTest.java45 assertEquals(0, pool.getRecycledViewCount(0));
63 assertEquals(1, pool.getRecycledViewCount(0));
64 assertEquals(1, pool.getRecycledViewCount(1));
65 assertEquals(2, pool.getRecycledViewCount(2));
66 assertEquals(0, pool.getRecycledViewCount(3));
77 assertEquals(2, pool.getRecycledViewCount(3));
83 assertEquals(1, pool.getRecycledViewCount(3));
90 assertEquals(0, pool.getRecycledViewCount(3));
137 assertThat(pool.getRecycledViewCount(1), is(equalTo(clears ? 0 : 1)));
H A DRecyclerViewCacheTest.java443 assertTrue(mRecyclerView.getRecycledViewPool().getRecycledViewCount(0) == 0);
454 assertTrue(mRecyclerView.getRecycledViewPool().getRecycledViewCount(0) == 1);
464 assertTrue(mRecyclerView.getRecycledViewPool().getRecycledViewCount(0) == 0);
508 assertTrue(mRecyclerView.getRecycledViewPool().getRecycledViewCount(0) == 0);
519 assertTrue(mRecyclerView.getRecycledViewPool().getRecycledViewCount(0) == 1);
1076 assertEquals(0, mRecyclerView.getRecycledViewPool().getRecycledViewCount(0));
1083 assertEquals(0, mRecyclerView.getRecycledViewPool().getRecycledViewCount(0));
1230 assertEquals(1, mRecycler.mRecyclerPool.getRecycledViewCount(0));
1276 assertEquals(0, mRecycler.mRecyclerPool.getRecycledViewCount(0));
1324 assertThat(recycledViewPool.getRecycledViewCount(12
[all...]
H A DRecyclerViewAccessibilityLifecycleTest.java319 .getRecycledViewCount(0));
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java4986 public int getRecycledViewCount(int viewType) { method in class:RecyclerView.RecycledViewPool
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java5389 public int getRecycledViewCount(int viewType) { method in class:RecyclerView.RecycledViewPool

Completed in 57 milliseconds