public class ActionManager.Gesture
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
action |
(package private) ActionManager.MotionPoint[] |
nodes |
private int |
ptNext |
private long |
time0 |
Constructor and Description |
---|
Gesture(int nPoints) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
add(int action,
int x,
int y,
long time) |
(package private) int |
getDX(int nPoints,
int nPointsPrevious) |
(package private) int |
getDY(int nPoints,
int nPointsPrevious) |
(package private) ActionManager.MotionPoint |
getNode(int i) |
(package private) int |
getPointCount() |
private int |
getPointCount2(int nPoints,
int nPointsPrevious) |
float |
getSpeedPixelsPerMillisecond(int nPoints,
int nPointsPrevious) |
long |
getTimeDifference(int nPoints) |
(package private) void |
setAction(int action,
long time) |
java.lang.String |
toString() |
private int action
ActionManager.MotionPoint[] nodes
private int ptNext
private long time0
void setAction(int action, long time)
int add(int action, int x, int y, long time)
public long getTimeDifference(int nPoints)
public float getSpeedPixelsPerMillisecond(int nPoints, int nPointsPrevious)
int getDX(int nPoints, int nPointsPrevious)
int getDY(int nPoints, int nPointsPrevious)
int getPointCount()
private int getPointCount2(int nPoints, int nPointsPrevious)
ActionManager.MotionPoint getNode(int i)
public java.lang.String toString()
toString
in class java.lang.Object