replicant-frameworks_native/libs/ui
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
..
tests Add support for secure views. 2010-09-08 11:50:55 -07:00
Android.mk Refactor input reader to support new device types more easily. 2010-07-28 14:16:15 -07:00
EGLUtils.cpp added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
EventHub.cpp Input device calibration and capabilities. 2010-08-30 18:16:43 -07:00
EventRecurrence.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
FramebufferNativeWindow.cpp Introduce official public NativeWindow type. 2010-06-30 15:32:04 -07:00
GraphicBuffer.cpp fix live wallpapers on Droid 2010-06-30 15:43:47 -07:00
GraphicBufferAllocator.cpp when a zero dimension buffer is allocated, turn the allocation into 2010-04-15 15:23:25 -07:00
GraphicBufferMapper.cpp fix [2168531] have software-only gralloc buffer side-step the HAL 2009-10-06 17:00:25 -07:00
Input.cpp Add support for secure views. 2010-09-08 11:50:55 -07:00
InputDispatcher.cpp Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
InputManager.cpp Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
InputReader.cpp Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
InputTransport.cpp Add support for secure views. 2010-09-08 11:50:55 -07:00
IOverlay.cpp some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
KeyCharacterMap.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
KeyLayoutMap.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
KeyLayoutMap.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Overlay.cpp Adding resizeInput and setAttributes for overlay 2009-07-29 17:53:38 -07:00
PixelFormat.cpp remove unused pixel format 2010-08-19 13:11:42 -07:00
Rect.cpp Add ANativeWindow API for directly drawing to the surface bits. 2010-07-09 16:58:19 -07:00
Region.cpp Remove a dependency of Region (libui) on Parcel (libbinder). 2010-02-17 20:26:47 -08:00