OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f37aa5
)
Add method to set action button on MotionEvent
author
Michael Wright
<michaelwr@google.com>
Wed, 17 Jun 2015 20:06:54 +0000
(21:06 +0100)
committer
Michael Wright
<michaelwr@google.com>
Wed, 17 Jun 2015 20:06:54 +0000
(21:06 +0100)
Change-Id: I09f00fa1c2b793a88772f67fe195860ec436179d
include/input/Input.h
patch
|
blob
|
history
diff --git
a/include/input/Input.h
b/include/input/Input.h
index
1da8356
..
4a67f47
100644
(file)
--- 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; }