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.java163 CallerInfoLookupHelper.OnQueryCompleteListener callListener = mock( in testLookupWithTwoListeners() local
169 mCallerInfoLookupHelper.startLookup(URI1, callListener); in testLookupWithTwoListeners()
182 verify(callListener, times(1)).onCallerInfoQueryComplete(URI1, mCallerInfo1); in testLookupWithTwoListeners()
193 verify(callListener).onContactPhotoQueryComplete(URI1, mCallerInfo1); in testLookupWithTwoListeners()
204 CallerInfoLookupHelper.OnQueryCompleteListener callListener = mock( in testListenerAddedAfterCallerInfoBeforePhoto() local
210 mCallerInfoLookupHelper.startLookup(URI1, callListener); in testListenerAddedAfterCallerInfoBeforePhoto()
222 verify(callListener, times(1)).onCallerInfoQueryComplete(URI1, mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto()
234 verify(callListener).onContactPhotoQueryComplete(URI1, mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto()