replicant-frameworks_native/libs/ui
Jeff Brown 4e394b18ba Coalesce input events that arrive faster than 333Hz.
Some drivers report individual finger updates one at a time
instead of all at once.  When 10 fingers are down, this can
cause the framework to have to handle 10 times as many events
each with 10 times as much data.  Applications like
PointerLocation would get significantly bogged down by all
of the redundant samples.

This change coalesces samples that are closely spaced in time,
before they are dispatched, as part of the motion event batching
protocol.

Increased the size of the InputChannel shared memory buffer so
that applications can catch up faster if they accumulate a
backlog of samples.

Added logging code to help measure input dispatch and drawing
latency issues in the view hierarchy.  See ViewDebug.DEBUG_LATENCY.

Change-Id: Ia5898f781f19901d2225c529a910c32bdf4f504f
2011-04-07 13:11:16 -07:00
..
tests Add new axes for joysticks and mouse wheels. 2011-02-19 05:23:10 -08:00
Android.mk Add support for arbitrary axes in MotionEvents. 2011-02-15 19:14:37 -08:00
EGLUtils.cpp Use EGL_NATIVE_VISUAL_ID to select EGLConfig 2011-01-19 18:21:15 -08:00
EventRecurrence.cpp
FramebufferNativeWindow.cpp ANativeWindow: add query for the concrete type. 2011-03-14 17:47:11 -07:00
GraphicBuffer.cpp
GraphicBufferAllocator.cpp improve SurfaceFlinger 'dumpsys' log 2011-01-19 16:15:53 -08:00
GraphicBufferMapper.cpp
GraphicLog.cpp
Input.cpp Fix dispatcher crash when input monitoring enabled. 2011-04-01 16:15:13 -07:00
InputTransport.cpp Coalesce input events that arrive faster than 333Hz. 2011-04-07 13:11:16 -07:00
Keyboard.cpp Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
KeyCharacterMap.cpp
KeyLayoutMap.cpp Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
MODULE_LICENSE_APACHE2
NOTICE
PixelFormat.cpp
Rect.cpp
Region.cpp fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out 2011-03-17 00:04:42 -07:00
VirtualKeyMap.cpp