summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2015-06-23 13:10:42 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-23 13:10:42 +0000
commitcc62b6c65eb51b62774882c53c53e20c336bc998 (patch)
tree60b0a302fd1280e56b80f52f921bf84e534fa6d4
parent357e7d7dcdd579d979054daf0a28b0a348d7ee7a (diff)
parent18c773307ad7ec017b1bdaed0be9323faad9986f (diff)
downloadframeworks_native-cc62b6c65eb51b62774882c53c53e20c336bc998.zip
frameworks_native-cc62b6c65eb51b62774882c53c53e20c336bc998.tar.gz
frameworks_native-cc62b6c65eb51b62774882c53c53e20c336bc998.tar.bz2
am 18c77330: Merge "Add method to set action button on MotionEvent" into mnc-dev
* commit '18c773307ad7ec017b1bdaed0be9323faad9986f': Add method to set action button on MotionEvent
-rw-r--r--include/input/Input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index 1da8356..4a67f47 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -383,6 +383,8 @@ public:
inline int32_t getActionButton() const { return mActionButton; }
+ inline void setActionButton(int32_t button) { mActionButton = button; }
+
inline float getXOffset() const { return mXOffset; }
inline float getYOffset() const { return mYOffset; }