Go to file
Jeff Brown a665ca805c Input dispatcher ANR handling enhancements.
This change is essentially a rewrite of the main input dispatcher loop
with the target identification folded in.  Since the input dispatcher now
has all of the window state, it can make better decisions about
when to ANR.

Added a .5 second deadline for processing app switch keys.  This behavior
predates Gingerbread but had not previously been ported.

Fixed some timing inaccuracies in the ANR accounting that could cause
applications to ANR sooner than they should have.

Added a mechanism for tracking key and motion events that have been
dispatched to a window so that appropriate cancelation events can be
synthesized when recovering from ANR.  This change helps to keep
applications in sync so they don't end up with stuck buttons upon
recovery from ANRs.

Added more comments to describe the tricky parts of PollLoop.

Change-Id: I13dffca27acb436fc383980db536abc4d8b9e6f1
2010-09-12 16:52:03 -07:00
cmds added BinderService<> template to help creating native binder services 2010-07-14 18:43:19 -07:00
include Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
libs Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
opengl option to enable multisampling 2010-09-09 11:53:17 -07:00
services/surfaceflinger fix [2946787] Screen flicker on low resolution setting in camcorder. 2010-08-25 15:09:52 -07:00
vpn Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources. 2010-01-29 13:35:51 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE Adding PacketVideo attribution in NOTICE. 2010-05-06 14:15:47 -07:00