public static interface SingleCharWidgetApi.OnSingleTapGestureListener
boolean onSingleTapGesture(SingleCharWidgetApi w, float x, float y)
trueto indicate that it handled the event.
If this callback returns
false, then the single
tap gesture is considered by the widget as a genuine dot and
passed to the handwriting recognizer.
This callback is called from a native thread, not from the UI thread. You must not call any widget methods from this callback, or the widget will enter a deadlock state.
Most Android UI methods require to be called from the UI thread. You cannot call such methods directly from this callback and must post messages to the UI thread instead.
w- Widget that has detected the gesture.
x- X position of the single tap in widget coordinates.
y- Y position of the single tap in widget coordinates.
trueif single tap event is handled,
falseotherwise (indicates a handwritten dot).