From 96238051621ba2dc8a1c20fa48a00ec6ec4735d6 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Thu, 14 May 2015 14:46:25 +0100 Subject: Revert "Add new MotionEvent actions for button press and release." This reverts commit ec0ce51b733f10c620cb9447b074f022d042e31d. --- api/system-current.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'api/system-current.txt') diff --git a/api/system-current.txt b/api/system-current.txt index b630d38..f11e113 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -37828,7 +37828,6 @@ package android.view { method public static java.lang.String axisToString(int); method public final int findPointerIndex(int); method public final int getAction(); - method public final int getActionButton(); method public final int getActionIndex(); method public final int getActionMasked(); method public final float getAxisValue(int); @@ -37892,6 +37891,7 @@ package android.view { method public final float getY(int); method public final float getYPrecision(); method public final boolean isButtonPressed(int); + method public final boolean isStylusButtonPressed(); method public static android.view.MotionEvent obtain(long, long, int, int, android.view.MotionEvent.PointerProperties[], android.view.MotionEvent.PointerCoords[], int, int, float, float, int, int, int, int); method public static deprecated android.view.MotionEvent obtain(long, long, int, int, int[], android.view.MotionEvent.PointerCoords[], int, float, float, int, int, int, int); method public static android.view.MotionEvent obtain(long, long, int, float, float, float, float, int, float, float, int, int); @@ -37907,8 +37907,6 @@ package android.view { method public final void setSource(int); method public final void transform(android.graphics.Matrix); method public void writeToParcel(android.os.Parcel, int); - field public static final int ACTION_BUTTON_PRESS = 11; // 0xb - field public static final int ACTION_BUTTON_RELEASE = 12; // 0xc field public static final int ACTION_CANCEL = 3; // 0x3 field public static final int ACTION_DOWN = 0; // 0x0 field public static final int ACTION_HOVER_ENTER = 9; // 0x9 @@ -37977,8 +37975,6 @@ package android.view { field public static final int BUTTON_FORWARD = 16; // 0x10 field public static final int BUTTON_PRIMARY = 1; // 0x1 field public static final int BUTTON_SECONDARY = 2; // 0x2 - field public static final int BUTTON_STYLUS_PRIMARY = 32; // 0x20 - field public static final int BUTTON_STYLUS_SECONDARY = 64; // 0x40 field public static final int BUTTON_TERTIARY = 4; // 0x4 field public static final android.os.Parcelable.Creator CREATOR; field public static final int EDGE_BOTTOM = 2; // 0x2 -- cgit v1.1