HomeSort by relevance Sort by last modified time
    Searched refs:newVh (Results 1 - 3 of 3) sorted by null

  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
RecyclerViewFocusRecoveryTest.java 122 RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(3);
123 assertFocusTransition(oldVh, newVh);
131 RecyclerView.ViewHolder newVh) {
133 assertFocus(newVh, false);
136 assertThat("test sanity", newVh, notNullValue());
137 assertThat(oldVh, not(sameInstance(newVh)));
139 assertFocus(newVh, true);
168 RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(3);
169 assertFocusTransition(oldVh, newVh);
170 assertThat("test sanity", oldVh.getItemViewType(), not(newVh.getItemViewType()))
    [all...]
ItemAnimatorV2ApiTest.java 277 final RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(2);
278 assertNotSame(vh, newVh);
282 assertSame(newVh, log.newHolder);
286 assertTrue(mAnimator.postLayoutInfoMap.containsKey(newVh));
320 final RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(2);
322 assertNotSame(replaced, newVh);
337 assertSame(newVh, logReplaced.newHolder);
344 assertTrue(mAnimator.postLayoutInfoMap.containsKey(newVh));
575 final RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(2);
582 assertNotSame(vh, newVh);
    [all...]
RecyclerViewAnimationsTest.java 77 RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(3);
78 assertNotNull("test sanity", newVh);
79 assertNotSame(oldVh, newVh);
81 assertTrue(newVh.itemView.hasFocus());
    [all...]

Completed in 52 milliseconds