public class GestureRecognizer
extends java.lang.Object
Constructor and Description |
---|
GestureRecognizer() |
GestureRecognizer(GestureListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(GestureListener listener) |
java.util.List<GestureListener> |
getListeners() |
int |
getState() |
float |
getTranslationX() |
float |
getTranslationY() |
float |
getX() |
float |
getY() |
boolean |
isEnabled() |
boolean |
onTouchEvent(android.view.MotionEvent event) |
void |
removeListener(GestureListener listener) |
void |
setEnabled(boolean enabled) |
void |
setTranslationX(float x) |
void |
setTranslationY(float y) |
public GestureRecognizer()
public GestureRecognizer(GestureListener listener)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public int getState()
public float getX()
public float getY()
public float getTranslationX()
public void setTranslationX(float x)
public float getTranslationY()
public void setTranslationY(float y)
public void addListener(GestureListener listener)
public void removeListener(GestureListener listener)
public java.util.List<GestureListener> getListeners()
public boolean onTouchEvent(android.view.MotionEvent event)