diff options
| author | Michael Wright <michaelwr@google.com> | 2015-05-14 14:48:08 +0100 |
|---|---|---|
| committer | Michael Wright <michaelwr@google.com> | 2015-05-14 14:48:08 +0100 |
| commit | 5bd69e6e6164c59a0423edd0d5243fc8c07e6af3 (patch) | |
| tree | b1fb669f40ae6038e271f7c1a81ca46c7a19fb0b /api/system-current.txt | |
| parent | 96238051621ba2dc8a1c20fa48a00ec6ec4735d6 (diff) | |
| download | frameworks_base-5bd69e6e6164c59a0423edd0d5243fc8c07e6af3.zip frameworks_base-5bd69e6e6164c59a0423edd0d5243fc8c07e6af3.tar.gz frameworks_base-5bd69e6e6164c59a0423edd0d5243fc8c07e6af3.tar.bz2 | |
Revert "Revert "Add new MotionEvent actions for button press and release.""
This reverts commit 96238051621ba2dc8a1c20fa48a00ec6ec4735d6.
Diffstat (limited to 'api/system-current.txt')
| -rw-r--r-- | api/system-current.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/api/system-current.txt b/api/system-current.txt index f11e113..b630d38 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -37828,6 +37828,7 @@ 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); @@ -37891,7 +37892,6 @@ 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,6 +37907,8 @@ 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 @@ -37975,6 +37977,8 @@ 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<android.view.MotionEvent> CREATOR; field public static final int EDGE_BOTTOM = 2; // 0x2 |
