diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-02-14 17:03:18 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-02-15 19:14:37 -0800 |
commit | 91c69ab01539f7ba28708f41ec1835cc2920d0a0 (patch) | |
tree | 04f5dc37a0fa3f18a18ba08916efe0c33a1de300 /services/jni | |
parent | c3451d4a4479b6244bd6d1dadf289a8d44bdcca2 (diff) | |
download | frameworks_base-91c69ab01539f7ba28708f41ec1835cc2920d0a0.zip frameworks_base-91c69ab01539f7ba28708f41ec1835cc2920d0a0.tar.gz frameworks_base-91c69ab01539f7ba28708f41ec1835cc2920d0a0.tar.bz2 |
Add support for arbitrary axes in MotionEvents.
This change makes it possible to extend the set of axes that
are reported in MotionEvents by defining new axis constants.
The MotionEvent object is now backed by its C++ counterpart
to avoid having to maintain multiple representations of the
same data.
Change-Id: Ibe93c90d4b390d43c176cce48d558d20869ee608
Diffstat (limited to 'services/jni')
-rw-r--r-- | services/jni/com_android_server_InputManager.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/services/jni/com_android_server_InputManager.cpp b/services/jni/com_android_server_InputManager.cpp index 5b329bb..427af23 100644 --- a/services/jni/com_android_server_InputManager.cpp +++ b/services/jni/com_android_server_InputManager.cpp @@ -87,7 +87,6 @@ static struct { jfieldID mName; jfieldID mSources; jfieldID mKeyboardType; - jfieldID mMotionRanges; } gInputDeviceClassInfo; static struct { @@ -1221,9 +1220,6 @@ int register_android_server_InputManager(JNIEnv* env) { GET_FIELD_ID(gInputDeviceClassInfo.mKeyboardType, gInputDeviceClassInfo.clazz, "mKeyboardType", "I"); - GET_FIELD_ID(gInputDeviceClassInfo.mMotionRanges, gInputDeviceClassInfo.clazz, - "mMotionRanges", "[Landroid/view/InputDevice$MotionRange;"); - // Configuration FIND_CLASS(gConfigurationClassInfo.clazz, "android/content/res/Configuration"); |