OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mListenerCaptor
(Results
1 - 4
of
4
) sorted by null
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
ScrollViewScrollHandlingDelegateTest.java
48
private ArgumentCaptor<BottomScrollListener>
mListenerCaptor
;
57
mListenerCaptor
= ArgumentCaptor.forClass(BottomScrollListener.class);
58
doNothing().when(mScrollView).setBottomScrollListener(
mListenerCaptor
.capture());
67
mListenerCaptor
.getValue().onRequiresScroll();
75
mListenerCaptor
.getValue().onRequiresScroll();
78
mListenerCaptor
.getValue().onScrolledToBottom();
ListViewScrollHandlingDelegateTest.java
54
private ArgumentCaptor<OnScrollListener>
mListenerCaptor
;
63
mListenerCaptor
= ArgumentCaptor.forClass(OnScrollListener.class);
64
doNothing().when(mListView).setOnScrollListener(
mListenerCaptor
.capture());
83
mListenerCaptor
.getValue().onScroll(mListView, 2, 20, 20);
/frameworks/opt/setupwizard/library/recyclerview/test/robotest/src/com/android/setupwizardlib/template/
RecyclerViewScrollHandlingDelegateTest.java
50
private ArgumentCaptor<OnScrollListener>
mListenerCaptor
;
60
mListenerCaptor
= ArgumentCaptor.forClass(OnScrollListener.class);
61
doNothing().when(mRecyclerView).addOnScrollListener(
mListenerCaptor
.capture());
79
mListenerCaptor
.getValue().onScrolled(mRecyclerView, 0, 20);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
WakeupMessageTest.java
55
ArgumentCaptor<AlarmManager.OnAlarmListener>
mListenerCaptor
=
93
mListenerCaptor
.capture(), any(Handler.class));
129
mListenerCaptor
.getValue().onAlarm();
145
mListenerCaptor
.getValue().onAlarm();
167
mListenerCaptor
.getValue().onAlarm();
Completed in 138 milliseconds