Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
int
ACTION_CANCEL
Constant Value:
3
(0x00000003)
public
static
final
int
ACTION_DOWN
Constant Value:
0
(0x00000000)
public
static
final
int
ACTION_MOVE
Constant Value:
2
(0x00000002)
public
static
final
int
ACTION_OUTSIDE
Constant Value:
4
(0x00000004)
public
static
final
int
ACTION_UP
Constant Value:
1
(0x00000001)
public
static
final
int
INVALID_POINTER_ID
Constant Value:
-1
(0xffffffff)
Fields
Public Constructors
Public Methods
public
int
getPointerID
()
public
boolean
isActionCancel
()
public
boolean
isActionDown
()
public
boolean
isActionMove
()
public
boolean
isActionOutside
()
public
boolean
isActionUp
()
public
static
TouchEvent
obtain
(float pX, float pY, int pAction, int pPointerID, MotionEvent pMotionEvent)
public
void
offset
(float pDeltaX, float pDeltaY)
public
static
void
recycle
(TouchEvent pTouchEvent)
public
void
set
(float pX, float pY)