public void restartGesture() {
    if (!mGestureInProgress) {
      return;
    }
    stopGesture();
    for (int i = 0; i < MAX_POINTERS; i++) {
      mStartX[i] = mCurrentX[i];
      mStartY[i] = mCurrentY[i];
    }
    startGesture();
  }
Restarts the current gesture (if any).
samples/gestures/src/main/java/com/facebook/samples/gestures/MultiPointerGestureDetector.java