Searched refs:getRecycledViewCount (Results 1 - 5 of 5) sorted by relevance
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecycledViewPoolTest.java | 45 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 D | RecyclerViewCacheTest.java | 443 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 D | RecyclerViewAccessibilityLifecycleTest.java | 319 .getRecycledViewCount(0));
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerView.java | 4986 public int getRecycledViewCount(int viewType) { method in class:RecyclerView.RecycledViewPool
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | RecyclerView.java | 5389 public int getRecycledViewCount(int viewType) { method in class:RecyclerView.RecycledViewPool
|
Completed in 57 milliseconds