I can confirm that the issue is still there in Android 2.0.1 on my Milestone as well (and more pronounced) on my HTC Hero which still runs 1.5. I put together a quick test that you can download from http://file-pasta.com/file/0/touchflood.apk (Note: it's 300kb because i used a game dev framework to put that together which features a bit more than is needed).
Observations on 2.0.1: - Touching alone decreases the performance a bit, around 2-4 frames are lost - Touching and moving the finger around makes things works, the frame rate drops by up to 8fps - The slow down is not constant but fluctuates a lot. - Sleeping in onTouch does not solve the problem at all (sleep times from 16 to 40ms) but only increases the lag in user input At least there's no garbage collection in 2.0.1 anymore due to touch events. On 18 Apr., 11:46, Robert Green <rbgrn....@gmail.com> wrote: > Actually I take it back about the emulators. I just tested again in > the 2.1 emulator and realized that in my first test, I was holding the > "finger" down on the screen but unlike a device, it doesn't send > constant motion events if you hold the cursor still. Moving the > cursor (touch) around caused the same problem as on 1.6! Now I'm a > little worried. Is this problem really still not fixed? > > On Apr 18, 4:30 am, Robert Green <rbgrn....@gmail.com> wrote: > > > > > Just wondering if anyone can speak on this yet. I'd really like to > > know what the state of that fix is as 2.1 is rolled out onto first > > generation (MSM7200-based) devices. As it stands, I don't see much of > > a problem with touch eating up CPU on the Droid and N1 but those are > > much faster phones so I don't think it would be quite as pronounced on > > them. My current 1.6 devices (G1 and Tattoo) cut my framerates in > > half during any touch (with the sleep hack, even). I optimized my new > > games so that they would run well-enough (25-40fps) on that hardware > > but they have very touch-centric interfaces so won't work well with > > that bug. I talked to a few people who run 2.0/2.1 mods on their G1s > > and they said the problem isn't any better. They still see the big > > slowdown. I tested on my 1.6 emulator vs a 2.1 emulator and there is > > a huge improvement. The 1.6 emulator slows down just like my G1 does > > and the 2.1 emulator shows only a tiny bit of slowdown, which is what > > I was hoping for. That's encouraging, but I have yet to see a real > > 2.1 MSM7200 update in the field so I don't know what to think yet. > > > Anyone got anything concrete on this? > > > Thanks! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group > > athttp://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en