OSDN Git Service

Input improvements and bug fixes.
authorJeff Brown <jeffbrown@google.com>
Tue, 8 Mar 2011 23:13:06 +0000 (15:13 -0800)
committerJeff Brown <jeffbrown@google.com>
Thu, 10 Mar 2011 02:30:28 +0000 (18:30 -0800)
commitefd3266b719eed5f1b217021c0a9e76e4b274b06
treef76032f2a0bdfdc9910860063455116a9c792687
parent9e8e40cb5f8aeb0702002eee60d1ce394bf699ee
Input improvements and bug fixes.

Associate each motion axis with the source from which it comes.
It is possible for multiple sources of the same device to define
the same axis.  This fixes new API that was introduced in MR1.
(Bug: 4066146)

Fixed a bug that might cause a segfault when using a trackball.

Only fade out the mouse pointer when touching the touch screen,
ignore other touch pads.

Changed the plural "sources" to "source" in several places in
the InputReader where we intend to refer to a particular source
rather than to a combination of sources.

Improved the batching code to support batching events from different
sources of the same device in parallel.  (Bug: 3391564)

Change-Id: I0189e18e464338f126f7bf94370b928e1b1695f2
api/current.xml
core/java/android/view/InputDevice.java
include/ui/Input.h
libs/ui/Input.cpp
services/input/InputDispatcher.cpp
services/input/InputReader.cpp
services/input/InputReader.h
services/input/PointerController.h
services/input/tests/InputReader_test.cpp
services/jni/com_android_server_InputManager.cpp