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 Support streaming of compressed assets > 1 megabyte 2010-07-28 15:33:28 -07:00
AssetDir.h
AssetManager.h More native work. 2010-08-11 00:29:59 -07:00
Atomic.h
BackupHelpers.h
BitSet.h Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Debug.h
Endian.h
Errors.h fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
FileMap.h
Flattenable.h remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 2010-02-21 23:27:25 -08:00
KeyedVector.h
List.h
Log.h
misc.h
ObbFile.h Add OBB flags to support overlays 2010-08-18 09:34:58 -07:00
PollLoop.h Input dispatcher ANR handling enhancements. 2010-09-12 16:52:03 -07:00
Pool.h Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
RefBase.h Fix a bug in sp<> and wp<> which could cause memory corruptions 2010-06-24 21:49:02 -07:00
ResourceTypes.h More native work. 2010-08-11 00:29:59 -07:00
SharedBuffer.h
Singleton.h Fix a typo in Singleton<> 2010-05-28 15:13:30 -07:00
SortedVector.h
StopWatch.h Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
StreamingZipInflater.h Support streaming of compressed assets > 1 megabyte 2010-07-28 15:33:28 -07:00
String8.h Add support for the PointerLocation overlay. 2010-08-11 14:46:32 -07:00
String16.h Optional use of UTF-8 strings in resource bundles 2009-12-07 15:14:15 -08:00
StringArray.h
SystemClock.h
TextOutput.h
threads.h added RWLock C++ wrapper 2010-05-19 15:12:59 -07:00
Timers.h
TypeHelpers.h
Vector.h Even more native input dispatch work in progress. 2010-06-17 13:27:16 -07:00
VectorImpl.h Even more native input dispatch work in progress. 2010-06-17 13:27:16 -07:00
ZipFileCRO.h ZipUtilsRO rewrite based on Dalvik Zip rewrite 2010-05-12 05:07:48 -07:00
ZipFileRO.h ZipUtilsRO rewrite based on Dalvik Zip rewrite 2010-05-12 05:07:48 -07:00
ZipUtils.h