Touch *extremely* expensive performance-wise

by Stoyan Damov » Thu, 19 Feb 2009 17:33:42 GMT


Sponsored Links
 Here's a hint - override public boolean dispatchTouchEvent(MotionEvent
ev) instead of onTouchEvent - this *does* save quite a few cycles.
You sleep using whatever you find more appropriate - Thread.sleep for
interruptible sleep or SystemClock.sleep for non-interruptible one.

HTH,
Stoyan




--~--~---------~--~----~------------~-------~--~----~



Touch *extremely* expensive performance-wise

by suhas gavas » Fri, 20 Feb 2009 17:41:20 GMT


 hi zombies and robots,
plz let me the solution to improve touch event performance
I have got stuck because of the sam

regards,
suhas





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Touch *extremely* expensive performance-wise

by Stoyan Damov » Wed, 11 Mar 2009 02:48:56 GMT


 sure, it should work - I think someone has already done that






--~--~---------~--~----~------------~-------~--~----~



Touch *extremely* expensive performance-wise

by Dianne Hackborn » Thu, 12 Mar 2009 02:13:37 GMT


 The ANR dialog is shown when you aren't responsive for 5 seconds.  We should
be talking about waiting for ~20ms only for motion events.  These are in
completely different realms.

On Wed, Mar 11, 2009 at 7:22 AM, Streets Of Boston










-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. HELP ada yg bisa bantuin app2sd secara private. Help!

App2sd untuk android tipe apa bro, beda2 caranya.... sol deh

--rc
HTC Sense (ERE36B)




Rambut pun da mau rontok smua dari semalam kerjai. Need help!
droid

--
"Indonesian Android Community [id-android]"

2. HELP ada yg bisa bantuin app2sd secara private. Help!

Rambut pun da mau rontok smua dari semalam kerjai. Need help!
droid

-- 
"Indonesian Android Community [id-android]" 

3. Broken Nexus One given to me at Developer Lab..

4. app2sd is working on nexDesire!

5. Memory leak in shared library - any way to find out

6. Say goodbye to blapk market

7. New Birthday Calendar