Hi,

I have a gesture overlay on top of a list, when I do a vertical
stroke, onGesturePerformed isn't being called because android assumes
this was a scrolling stroke, this is ok.

However, when I do a multi stroke gesture, where prev. strokes already
recognized as gestures (change color), and the last stroke is
vertical, the whole gesture is cancelled and onGesturePerformed is not
called.

This event should be handled properly by looking at
GestureOverlayView's code:
final boolean cancelDispatch = (mIsGesturing || (mCurrentGesture !=
null &&
                    mCurrentGesture.getStrokesCount() > 0 &&
mPreviousWasGesturing)) &&
                    mInterceptEvents;
(
http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/core/java/android/gesture/GestureOverlayView.java&q=android%20GestureOverlayView%20dispatchTouchEvent&sa=N&cd=1&ct=rc&l=493
)
but it is definitely not working for me.

Also, mLib.setSequenceType(GestureStore.SEQUENCE_INVARIANT), is not
working for me, stops recognizing gestures, like in:
http://groups.google.com/group/android-developers/browse_thread/thread/de26b59b55407ed3

Any help would be appreciated.

Thanks,
Mor.


-- 
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

Reply via email to