public static interface SingleCharWidgetApi.OnLongPressGestureListener
boolean onLongPressGesture(SingleCharWidgetApi w, float x, float y)
trueto indicate that it handled the event and the current stroke is cancelled.
If this callback returns
false, then the long
press gesture is discarded by the widget and the widget resumes
the capture of the current stroke.
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 long press in widget coordinates.
y- Y position of the long press in widget coordinates.
trueif long press event is handled,