Bug 859951 - Split MotionEvent's action into mask and index in Java rather than in JNI code. r=wesj

This commit is contained in:
Kartikaya Gupta
2013-04-17 17:39:11 -04:00
parent 42ac3dde0c
commit 9551d0aa6b
4 changed files with 6 additions and 10 deletions

View File

@@ -546,7 +546,6 @@ class AndroidMotionEvent
{
public:
enum {
ACTION_MASK = 0xff,
ACTION_DOWN = 0,
ACTION_UP = 1,
ACTION_MOVE = 2,
@@ -560,8 +559,6 @@ public:
ACTION_MAGNIFY_START = 11,
ACTION_MAGNIFY = 12,
ACTION_MAGNIFY_END = 13,
ACTION_POINTER_ID_MASK = 0xff00,
ACTION_POINTER_ID_SHIFT = 8,
EDGE_TOP = 0x00000001,
EDGE_BOTTOM = 0x00000002,
EDGE_LEFT = 0x00000004,