Interface of android.view, in GestureDetector · GestureDetector.java · Android's reference
public interface OnGestureListener
public abstract boolean onDown(MotionEvent e) sourcepublic abstract void onShowPress(MotionEvent e) sourcepublic abstract boolean onSingleTapUp(MotionEvent e) sourcepublic abstract boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) sourcepublic abstract void onLongPress(MotionEvent e) sourcepublic abstract boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.