summaryrefslogtreecommitdiffstats
path: root/include/ui/Rect.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-09-08 11:49:43 -0700
committerJeff Brown <jeffbrown@google.com>2010-09-12 16:52:03 -0700
commita665ca805c7ecda89ef95658f4d1c09ba6bd7f2e (patch)
treed5de6e4c6bfd94c7eb0a9fae613b488814081425 /include/ui/Rect.h
parentf76fc380f5f97843d1c8f760ca1ae70cacb81ae4 (diff)
downloadframeworks_native-a665ca805c7ecda89ef95658f4d1c09ba6bd7f2e.zip
frameworks_native-a665ca805c7ecda89ef95658f4d1c09ba6bd7f2e.tar.gz
frameworks_native-a665ca805c7ecda89ef95658f4d1c09ba6bd7f2e.tar.bz2
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
Diffstat (limited to 'include/ui/Rect.h')
0 files changed, 0 insertions, 0 deletions