Searched refs:mOnGestureListener (Results 1 – 1 of 1) sorted by relevance
37 private GestureDetector.SimpleOnGestureListener mOnGestureListener; field in GestureDetectorCtsActivity48 mOnGestureListener = mock(GestureDetector.SimpleOnGestureListener.class); in onCreate()49 doReturn(true).when(mOnGestureListener).onDown(any(MotionEvent.class)); in onCreate()50 doReturn(true).when(mOnGestureListener).onFling(any(MotionEvent.class), in onCreate()52 doReturn(true).when(mOnGestureListener).onScroll(any(MotionEvent.class), in onCreate()54 doReturn(true).when(mOnGestureListener).onSingleTapUp(any(MotionEvent.class)); in onCreate()58 mGestureDetector = new GestureDetector(this, mOnGestureListener, mHandler); in onCreate()59 mGestureDetector.setOnDoubleTapListener(mOnGestureListener); in onCreate()60 mGestureDetector.setContextClickListener(mOnGestureListener); in onCreate()88 return mOnGestureListener; in getListener()