@Test public void testOnTouchEvent() { MotionEvent motionEvent = mock(MotionEvent.class); mGestureDetector.onTouchEvent(motionEvent); verify(mMultiPointerGestureDetector).onTouchEvent(motionEvent); }
public boolean onTouchEvent(final MotionEvent event) { return mDetector.onTouchEvent(event); }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { public boolean onTouchEvent(final MotionEvent event) { return mDetector.onTouchEvent(event); } }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { public boolean onTouchEvent(final MotionEvent event) { return mDetector.onTouchEvent(event); } TransformGestureDetector(MultiPointerGestureDetector multiPointerGestureDetector); }
TransformGestureDetector implements MultiPointerGestureDetector.Listener { public boolean onTouchEvent(final MotionEvent event) { return mDetector.onTouchEvent(event); } 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 onTouchEvent(final MotionEvent event) { return mDetector.onTouchEvent(event); } 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();  }