From 5c1ed84a2dec7efe914d0d1abb6834f8543fb9f1 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Wed, 14 Jul 2010 18:48:53 -0700 Subject: 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 --- libs/ui/InputDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ui/InputDevice.cpp') 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; } -- cgit v1.2.3-59-g8ed1b