On Sat, Oct 16, 2010 at 1:08 AM, webmonkey <[email protected]> wrote:
> Is the historical data device dependent? So are there any devices that > always set the amount to 0? > Er. Not sure what you mean. It is just any data that has occurred since the last motion event and the most recent positions in the current one. It depends on how fast hardware generates data, how fast the apps consumes data, etc. > Historical data is mostly used for smooth painting, see: > > http://corner.squareup.com/2010/07/smooth-signatures.html > > Works great on the Nexus One. But if other devices do not use this or > if this gets deprecated that would be nice to know for the future. > This is part of the API. It just lets you get all of the intermediate data coming from the touch screen. I can't make guarantees about every possible piece of hardware in the future, though of course I would generally expect touch screens to generate at least 60fps of data when there is only one finger down. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

