@Test public void testIsGestureInProgress() { when(mMultiPointerGestureDetector.isGestureInProgress()).thenReturn(true); assertEquals(true, mGestureDetector.isGestureInProgress()); verify(mMultiPointerGestureDetector, times(1)).isGestureInProgress(); when(mMultiPointerGestureDetector.isGestureInProgress()).thenReturn(false); assertEquals(false, mGestureDetector.isGestureInProgress()); verify(mMultiPointerGestureDetector, times(2)).isGestureInProgress(); }
public boolean isGestureInProgress() { return mDetector.isGestureInProgress(); }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { public boolean isGestureInProgress() { return mDetector.isGestureInProgress(); } }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { public boolean isGestureInProgress() { return mDetector.isGestureInProgress(); } TransformGestureDetector(MultiPointerGestureDetector multiPointerGestureDetector); }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { public boolean isGestureInProgress() { return mDetector.isGestureInProgress(); } TransformGestureDetector(MultiPointerGestureDetector multiPointerGestureDetector); static TransformGestureDetector newInstance(); void setListener(Listener listener); void reset(); boolean onTouchEvent(final MotionEvent event); @Override void onGestureBegin(MultiPointerGestureDetector detector); @Override void onGestureUpdate(MultiPointerGestureDetector detector); @Override void onGestureEnd(MultiPointerGestureDetector detector); void restartGesture(); boolean isGestureInProgress(); int getNewPointerCount(); int getPointerCount(); float getPivotX(); float getPivotY(); float getTranslationX(); float getTranslationY(); float getScale(); float getRotation(); }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { public boolean isGestureInProgress() { return mDetector.isGestureInProgress(); } TransformGestureDetector(MultiPointerGestureDetector multiPointerGestureDetector); static TransformGestureDetector newInstance(); void setListener(Listener listener); void reset(); boolean onTouchEvent(final MotionEvent event); @Override void onGestureBegin(MultiPointerGestureDetector detector); @Override void onGestureUpdate(MultiPointerGestureDetector detector); @Override void onGestureEnd(MultiPointerGestureDetector detector); void restartGesture(); boolean isGestureInProgress(); int getNewPointerCount(); int getPointerCount(); float getPivotX(); float getPivotY(); float getTranslationX(); float getTranslationY(); float getScale(); float getRotation();  }