Go to file
Jon McCaffrey 65dbe971b1 InputDispatcher: Optimize count()
Count items as they are added and removed rather than iterating over the
entire list to count them.

Increases performance slightly, particularly when tracing is turned on,
which causes count to be queried more often, and when the number of
items in the queues grow large.  This can happen due to applications not
responding, for example.

Change-Id: I0f11f7edd46089612af910cdfabfeb3ee685d7d9
2014-11-26 12:04:47 -08:00
build Add Dalvik heap definition for 7" xhdpi devices. 2013-05-06 15:06:20 -07:00
cmds am 60fd3fee: Migrate CA certificates to all users 2014-10-15 19:26:36 +00:00
data/etc am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable. 2014-09-19 22:02:37 +00:00
include am e42cba8f: Merge "Initialize ARect fields in default ctor" 2014-10-29 23:04:05 +00:00
libs Add missing include to fix libc++ build. 2014-11-07 09:33:44 -08:00
opengl Merge "Frameworks/native: Add pragmas to glgen headers" 2014-11-12 18:30:40 +00:00
services InputDispatcher: Optimize count() 2014-11-26 12:04:47 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00