Searched refs:mListenerCaptor (Results 1 – 4 of 4) sorted by relevance
47 private ArgumentCaptor<BottomScrollListener> mListenerCaptor; field in ScrollViewScrollHandlingDelegateTest56 mListenerCaptor = ArgumentCaptor.forClass(BottomScrollListener.class); in setUp()57 doNothing().when(mScrollView).setBottomScrollListener(mListenerCaptor.capture()); in setUp()66 mListenerCaptor.getValue().onRequiresScroll(); in testRequireScroll()74 mListenerCaptor.getValue().onRequiresScroll(); in testScrolledToBottom()77 mListenerCaptor.getValue().onScrolledToBottom(); in testScrolledToBottom()
53 private ArgumentCaptor<OnScrollListener> mListenerCaptor; field in ListViewScrollHandlingDelegateTest62 mListenerCaptor = ArgumentCaptor.forClass(OnScrollListener.class); in setUp()63 doNothing().when(mListView).setOnScrollListener(mListenerCaptor.capture()); in setUp()82 mListenerCaptor.getValue().onScroll(mListView, 2, 20, 20); in testScrolledToBottom()
56 ArgumentCaptor<AlarmManager.OnAlarmListener> mListenerCaptor = field in WakeupMessageTest93 mListenerCaptor.capture(), any(Handler.class)); in setUp()129 mListenerCaptor.getValue().onAlarm(); in scheduleAndDeliverMessage()145 mListenerCaptor.getValue().onAlarm(); in scheduleAndCancelMessage()167 mListenerCaptor.getValue().onAlarm(); in scheduleTwiceWithoutMessageDispatched()182 mListenerCaptor.getValue().onAlarm(); in scheduleRunnable()
49 private ArgumentCaptor<OnScrollListener> mListenerCaptor; field in RecyclerViewScrollHandlingDelegateTest59 mListenerCaptor = ArgumentCaptor.forClass(OnScrollListener.class); in setUp()60 doNothing().when(mRecyclerView).addOnScrollListener(mListenerCaptor.capture()); in setUp()78 mListenerCaptor.getValue().onScrolled(mRecyclerView, 0, 20); in testScrolledToBottom()