Home
last modified time | relevance | path

Searched refs:mDoubleTapListener (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDoubleTapHelperTest.java56 @Mock private DoubleTapHelper.DoubleTapListener mDoubleTapListener; field in DoubleTapHelperTest
74 mDoubleTapListener, in setup()
113 verify(mDoubleTapListener, never()).onDoubleTap(); in testDoubleTap_success()
118 verify(mDoubleTapListener).onDoubleTap(); in testDoubleTap_success()
176 verify(mDoubleTapListener, never()).onDoubleTap(); in testSingleTap_slop()
221 verify(mDoubleTapListener, never()).onDoubleTap(); in testDoubleTap_slop()
265 verify(mDoubleTapListener, never()).onDoubleTap(); in testSlideBack()
270 verify(mDoubleTapListener, never()).onDoubleTap(); in testSlideBack()
340 verify(mDoubleTapListener, never()).onDoubleTap(); in testMoreThanTwoTaps()
345 verify(mDoubleTapListener).onDoubleTap(); in testMoreThanTwoTaps()
[all …]
/frameworks/base/core/java/android/view/
DGestureDetector.java260 private OnDoubleTapListener mDoubleTapListener; field in GestureDetector
327 if (mDoubleTapListener != null) { in handleMessage()
331 mDoubleTapListener.onSingleTapConfirmed(mCurrentDownEvent); in handleMessage()
500 mDoubleTapListener = onDoubleTapListener; in setOnDoubleTapListener()
613 if (mDoubleTapListener != null) { in onTouchEvent()
624 handled |= mDoubleTapListener.onDoubleTap(mCurrentDownEvent); in onTouchEvent()
626 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
675 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
751 handled |= mDoubleTapListener.onDoubleTapEvent(ev); in onTouchEvent()
759 if (mDeferConfirmSingleTap && mDoubleTapListener != null) { in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDoubleTapHelper.java34 private final DoubleTapListener mDoubleTapListener; field in DoubleTapHelper
59 mDoubleTapListener = doubleTapListener; in DoubleTapHelper()
104 if (!mDoubleTapListener.onDoubleTap()) { in onTouchEvent()