Lines Matching defs:thumb
868 *thumb;
928 /* Pick the thumb as the lowest point on the touchpad */
930 thumb = first;
934 thumb = second;
953 * yet passed the min_move threshold, there is either a resting thumb,
958 /* If thumb detection is enabled, and thumb is still while
959 * finger moves, cancel gestures and mark lower as thumb.
961 * more thumb motion on >2 finger gestures during detection.
963 if (tp->thumb.detect_thumbs && thumb_mm < min_move) {
964 tp_thumb_suppress(tp, thumb);
970 * while thumb moves, assume this is "one-finger scrolling."
979 /* If more than 2 fingers are involved, and the thumb moves
985 tp->thumb.pinch_eligible) {
1086 * bottom-most touch will always be the thumb, and the top-most touch
1096 * - More accurate pinch detection if thumb is near the center
1097 * - Better resting-thumb detection while two-finger scrolling
1099 * thumb or held-down clickpad
1281 struct tp_touch *thumb;
1285 thumb = tp_thumb_get_touch(tp);
1286 if (!thumb)
1289 if (!tp_touch_active_for_gesture(tp, thumb))
1292 thumb_moved = tp_gesture_mm_moved(tp, thumb);
1306 * is held down by a *thumb*, specifically.
1310 tp->thumb.state == THUMB_STATE_FINGER)) {
1325 /* When pinching, the thumb tends to move slower than the finger,