Lines Matching defs:mRecyclerView
48 private RecyclerView mRecyclerView;
56 mRecyclerView = spy(new RecyclerView(application));
57 doReturn(20).when(mRecyclerView).computeVerticalScrollRange();
58 doReturn(0).when(mRecyclerView).computeVerticalScrollExtent();
59 doReturn(0).when(mRecyclerView).computeVerticalScrollOffset();
61 doNothing().when(mRecyclerView).addOnScrollListener(mListenerCaptor.capture());
63 mDelegate = new RecyclerViewScrollHandlingDelegate(mRequireScrollMixin, mRecyclerView);
64 mRecyclerView.layout(0, 0, 50, 50);
78 doReturn(20).when(mRecyclerView).computeVerticalScrollOffset();
79 mListenerCaptor.getValue().onScrolled(mRecyclerView, 0, 20);
87 verify(mRecyclerView).smoothScrollBy(anyInt(), eq(50));