@Test public void testOnGestureBegin() { mGestureDetector.onGestureBegin(mMultiPointerGestureDetector); verify(mListener).onGestureBegin(mGestureDetector); }
@Override public void onGestureBegin(MultiPointerGestureDetector detector) { if (mListener != null) { mListener.onGestureBegin(this); } }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { @Override public void onGestureBegin(MultiPointerGestureDetector detector) { if (mListener != null) { mListener.onGestureBegin(this); } } }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { @Override public void onGestureBegin(MultiPointerGestureDetector detector) { if (mListener != null) { mListener.onGestureBegin(this); } } TransformGestureDetector(MultiPointerGestureDetector multiPointerGestureDetector); }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { @Override public void onGestureBegin(MultiPointerGestureDetector detector) { if (mListener != null) { mListener.onGestureBegin(this); } } 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 { @Override public void onGestureBegin(MultiPointerGestureDetector detector) { if (mListener != null) { mListener.onGestureBegin(this); } } 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();  }