Home
last modified time | relevance | path

Searched refs:callListener (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java142 public void setState(final int state, final boolean callListener) { in setState() argument
143 setStateAnimatedInternal(state, callListener); in setState()
152 private void setStateAnimatedInternal(final int state, final boolean callListener) { in setStateAnimatedInternal() argument
153 if(callListener && mOnStatePreChangeListener != null) { in setStateAnimatedInternal()
158 setStateInternal(state, callListener); in setStateAnimatedInternal()
175 setStateInternal(state, callListener); in setStateAnimatedInternal()
199 setStateInternal(state, callListener); in setStateAnimatedInternal()
219 private void setStateInternal(int state, boolean callListener) { in setStateInternal() argument
238 if (callListener && mOnStateChangeListener != null) { in setStateInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallerInfoLookupHelperTest.java132 CallerInfoLookupHelper.OnQueryCompleteListener callListener = mock( in testLookupWithTwoListeners() local
138 mCallerInfoLookupHelper.startLookup(URI1, callListener); in testLookupWithTwoListeners()
151 verify(callListener, times(1)).onCallerInfoQueryComplete(URI1, mCallerInfo1); in testLookupWithTwoListeners()
162 verify(callListener).onContactPhotoQueryComplete(URI1, mCallerInfo1); in testLookupWithTwoListeners()
171 CallerInfoLookupHelper.OnQueryCompleteListener callListener = mock( in testListenerAddedAfterCallerInfoBeforePhoto() local
177 mCallerInfoLookupHelper.startLookup(URI1, callListener); in testListenerAddedAfterCallerInfoBeforePhoto()
189 verify(callListener, times(1)).onCallerInfoQueryComplete(URI1, mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto()
201 verify(callListener).onContactPhotoQueryComplete(URI1, mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto()