summaryrefslogtreecommitdiff
path: root/libs/ui/InputDevice.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-07-14 18:48:53 -0700
committer Jeff Brown <jeffbrown@google.com> 2010-07-15 18:32:33 -0700
commit5c1ed84a2dec7efe914d0d1abb6834f8543fb9f1 (patch)
treea48aeca8a27c9221b5897929b861bd9d8f8ade5e /libs/ui/InputDevice.cpp
parent854f9810f14983c12beccdfee4b445d42b8f895a (diff)
Add support for new input sources.
Added several new coordinate values to MotionEvents to capture touch major/minor area, tool major/minor area and orientation. Renamed NDK input constants per convention. Added InputDevice class in Java which will eventually provide useful information about available input devices. Added APIs for manufacturing new MotionEvent objects with multiple pointers and all necessary coordinate data. Fixed a bug in the input dispatcher where it could get stuck with a pointer down forever. Fixed a bug in the WindowManager where the input window list could end up containing stale removed windows. Fixed a bug in the WindowManager where the input channel was being removed only after the final animation transition had taken place which caused spurious WINDOW DIED log messages to be printed. Change-Id: Ie55084da319b20aad29b28a0499b8dd98bb5da68
Diffstat (limited to 'libs/ui/InputDevice.cpp')
-rw-r--r--libs/ui/InputDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/InputDevice.cpp b/libs/ui/InputDevice.cpp
index 6014017239..b2a4d6c8fd 100644
--- a/libs/ui/InputDevice.cpp
+++ b/libs/ui/InputDevice.cpp
@@ -108,7 +108,7 @@ void InputDevice::TouchData::copyFrom(const TouchData& other) {
// --- InputDevice::KeyboardState ---
void InputDevice::KeyboardState::reset() {
- current.metaState = META_NONE;
+ current.metaState = AMETA_NONE;
current.downTime = 0;
}