Message info
To:Android Developers From:Aruni RC Subject:[android-developers] what features are used for gesture recognition on android? Date:Sat, 18 Feb 2012 19:16:52 -0800 (PST)

the gesture recognition used in android gives a prediction score
based on the similarity between a drawn gesture and the gestures
stored in its library.
the question is, what are the measures on which this similarity is

in this link from the source code one can figure out that a minimum
cosine distance is calculated between two float[] vectors. These
arrays presumably store the features for each stroke. However what
these features are and how the are calculated - couldn't figure that
out from the code.
Would someone pls help out on this?

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at