[android-developers] Re: Touch event: Delayed reception from actual touch?

2009-10-19 Thread Matt Hall
Hi Dianne, I estimate the time lag from touch to event reception at around 200ms. It's most obvious in quick drag or fling type motions where the UI's response to the touch event is very obviously out of sync with your finger. Unfortunately it does seem that the delay is roughly in line with how

[android-developers] Re: Touch event: Delayed reception from actual touch?

2009-10-18 Thread RichardC
Try putting a short sleep into your onTouchEvent handler, about 16ms is good. If I remember correctly (from previous posts in this forum) your app is getting hammered by all the Touch events, they are coming much more frequently than the maximum possible screen refresh/redraw rate. -- RichardC

[android-developers] Re: Touch event: Delayed reception from actual touch?

2009-10-17 Thread Dianne Hackborn
The move event you receive contains as close as possible to the most recent location (it is retrieved immediately before dispatching to the app). You don't say how much lag you are seeing, so it is hard to offer advice -- is it more laggy than in other standard parts of the UI like list views? Is