Multi touch rotation

22 views
Skip to first unread message

fabien....@gmail.com

unread,
Jun 4, 2010, 12:54:29 PM6/4/10
to and...@googlegroups.com
Hello,

Now this patch is working for me.

A few comments:
- The clipping problem during rotation was because I didn't call the
invalidate() function after changing rotation. I am almost sure a
invalidate call is needed somewhere at the initialization of andnav2
map, to remove this clipping problem which exists when the application
start.
- There was a bug in RotationView. The matrix needed the center of
the rotation. I just added it.

If you want to do a zoom, you have to put both finger near or far from
the center.
If you want to do a rotation, you have to put both finger in the
middle of the screen.

Let me know your comments. I will try to find out where the invalidate
call is missing.

Thanks

--
Fabien Carrion

() Campagne du ruban ASCII -- Contre les mails en html
/\ contre les pieces-jointes Microsoft
Web: http://fabien.carrion.free.fr/

multitouchzoom.patch.zip

valentin.blot0

unread,
Jun 5, 2010, 7:07:02 PM6/5/10
to AndNav
I committed, it works for me but I cannot test multitouch so any
review is welcome.

Valentin

On 4 juin, 18:54, "fabien.carr...@gmail.com"
>  multitouchzoom.patch.zip
> 3KAfficherTélécharger

Ruben

unread,
Jun 13, 2010, 10:15:43 AM6/13/10
to AndNav
Why don't somebody build the app and add a download here, so we can
just download it and test?

Would love to test it :)
Reply all
Reply to author
Forward
0 new messages