private final class InmersiveMode.GestureListener
extends android.view.GestureDetector.SimpleOnGestureListener
Modifier and Type | Field and Description |
---|---|
private static int |
SWIPE_THRESHOLD |
private static int |
SWIPE_VELOCITY_THRESHOLD |
Modifier | Constructor and Description |
---|---|
private |
GestureListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
onDown(android.view.MotionEvent e) |
boolean |
onFling(android.view.MotionEvent e1,
android.view.MotionEvent e2,
float velocityX,
float velocityY) |
private static final int SWIPE_THRESHOLD
private static final int SWIPE_VELOCITY_THRESHOLD
public boolean onDown(android.view.MotionEvent e)
onDown
in interface android.view.GestureDetector.OnGestureListener
onDown
in class android.view.GestureDetector.SimpleOnGestureListener
public boolean onFling(android.view.MotionEvent e1, android.view.MotionEvent e2, float velocityX, float velocityY)
onFling
in interface android.view.GestureDetector.OnGestureListener
onFling
in class android.view.GestureDetector.SimpleOnGestureListener