Lines Matching refs:position
41 private static void verifyCacheContainsPosition(RecyclerView view, int position) {
43 if (view.mRecycler.mCachedViews.get(i).mPosition == position) return;
45 fail("Cache does not contain position " + position);
52 for (Integer position : positions) {
53 verifyCacheContainsPosition(view, position);
58 * Asserts that the position passed is resident in the view's cache, similar to
65 for (Integer position : positions) {
66 assertTrue(view.mPrefetchRegistry.lastPrefetchIncludedPosition(position));
75 for (Integer position : positions) {
77 assertNotEquals("Cache must not contain position " + position,
78 (int) position, view.mRecycler.mCachedViews.get(i).mPosition);
83 static RecyclerView.ViewHolder peekAtCachedViewForPosition(RecyclerView view, int position) {
86 if (holder.mPosition == position) {
90 fail("Unable to find view with position " + position);