skink wrote:
> On 22 Sty, 08:12, skink <psk...@gmail.com> wrote:
> > hi,
> >
> > i saw that history is appended
> > via addBatch method but failed on finding who/where/when/why call it.
>
> seems i didn't grep good enough...
>
> now i found that addBatch is called from
> com.android.server.InputDevice but still it doesn't help me much since
> it's not so easy to figure out the whole context it's called from.

or maybe it would be better, instead of using offsetLocation, use one
of MotionEvent.obtain() method?

i need to change X/Y coords in event when using GestureDetector and
dont know whether to offsetLocation() or create new event by obtain()
ing it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to