replicant-frameworks_native/include/utils
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
..
ashmem.h
Asset.h
AssetDir.h
AssetManager.h
Atomic.h
BackupHelpers.h
BitSet.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Debug.h
Endian.h
Errors.h
FileMap.h
Flattenable.h
KeyedVector.h
List.h
Log.h
misc.h
ObbFile.h
PollLoop.h Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
Pool.h
RefBase.h
ResourceTypes.h
SharedBuffer.h
Singleton.h
SortedVector.h
StopWatch.h
StreamingZipInflater.h
String8.h
String16.h
StringArray.h
SystemClock.h
TextOutput.h
threads.h
Timers.h
TypeHelpers.h
Vector.h
VectorImpl.h
ZipFileCRO.h
ZipFileRO.h
ZipUtils.h