Go to file
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
cmds
include Merge "SurfaceTexture can now force the client to request a buffer" 2011-04-01 14:58:43 -07:00
libs Coalesce input events that arrive faster than 333Hz. 2011-04-07 13:11:16 -07:00
opengl Initialize reference counter for egl_display_t 2011-03-31 16:52:02 -07:00
services/surfaceflinger merge libsurfaceflinger_client into libgui 2011-03-25 18:42:40 -07:00
vpn Make VpnService synchronous API. 2011-01-20 12:51:43 +08:00
GenerationCache.h Add TextLayout Cache 2011-03-02 13:29:20 -08:00
MODULE_LICENSE_APACHE2
NOTICE