Home | History | Annotate | Download | only in view

Lines Matching refs:TAP

50          * Notified when a tap occurs with the down {@link MotionEvent}
69 * Notified when a tap occurs with the up {@link MotionEvent}
72 * @param e The up motion event that completed the first tap
119 * The listener that is used to notify when a double-tap or a confirmed
120 * single-tap occur.
124 * Notified when a single-tap occurs.
128 * first tap is not followed by a second tap leading to a double-tap
131 * @param e The down motion event of the single-tap.
137 * Notified when a double-tap occurs.
139 * @param e The down motion event of the first tap of the double-tap.
145 * Notified when an event within a double-tap gesture occurs, including
148 * @param e The motion event that occurred during the double-tap gesture.
233 private static final int TAP = 3;
252 * True when the user is still touching for the second tap (down, move, and
253 * up events). Can only be true if there is a double tap listener attached.
296 case TAP:
297 // If the user's finger is still down, do not count it as a tap
442 * Sets the listener which will be called for double-tap and related
446 * null to stop listening for double-tap gestures.
556 boolean hadTapMessage = mHandler.hasMessages(TAP);
557 if (hadTapMessage) mHandler.removeMessages(TAP);
560 // This is a second tap
562 // Give a callback with the first tap of the double-tap
564 // Give a callback with down event of the double-tap
567 // This is a first tap
568 mHandler.sendEmptyMessageDelayed(TAP, DOUBLE_TAP_TIMEOUT);
600 // Give the move events of the double-tap
611 mHandler.removeMessages(TAP);
629 // Finally, give the up event of the double-tap
632 mHandler.removeMessages(TAP);
641 // A fling must travel the minimum tap distance
704 mHandler.removeMessages(TAP);
724 mHandler.removeMessages(TAP);
740 mHandler.removeMessages(TAP);
767 mHandler.removeMessages(TAP);