mListener.onGestureUpdate(this);
mListener.onGestureUpdate(this);
/** * Stops the current gesture and calls the listener right after stopping it. */ private void stopGesture() { if (mGestureInProgress) { mGestureInProgress = false; if (mListener != null) { mListener.onGestureEnd(this); } } }
/** * Stops the current gesture and calls the listener right after stopping it. */ private void stopGesture() { if (mGestureInProgress) { mGestureInProgress = false; if (mListener != null) { mListener.onGestureEnd(this); } } }
/** * Starts a new gesture and calls the listener just before starting it. */ private void startGesture() { if (!mGestureInProgress) { if (mListener != null) { mListener.onGestureBegin(this); } mGestureInProgress = true; } }
/** * Starts a new gesture and calls the listener just before starting it. */ private void startGesture() { if (!mGestureInProgress) { if (mListener != null) { mListener.onGestureBegin(this); } mGestureInProgress = true; } }