Lines Matching defs:touches

100 		t = &tp->touches[i];
197 /* When a clickpad is clicked, combine motion of all active touches */
245 struct tp_touch **touches,
251 memset(touches, 0, count * sizeof(struct tp_touch *));
255 touches[n++] = t;
268 * We could avoid this by looking at all touches, be we really only
269 * want to look at real touches.
321 struct tp_touch *first = tp->gesture.touches[0],
322 *second = tp->gesture.touches[1];
347 struct tp_touch *first = tp->gesture.touches[0],
348 *second = tp->gesture.touches[1];
707 first = tp->gesture.touches[0];
866 struct tp_touch *first = tp->gesture.touches[0],
867 *second = tp->gesture.touches[1],
924 /* If both touches moved less than a mm, we cannot decide yet */
939 /* If both touches are within 7mm vertically and 40mm horizontally
997 /* Both touches have exceeded the min_move threshold, so we have a
1004 /* If we can't accurately detect pinches, or if the touches are moving
1020 /* If the touches are moving away from each other, this is a pinch */
1027 struct tp_touch *first = tp->gesture.touches[0],
1028 *second = tp->gesture.touches[1];
1055 struct tp_touch *touches[4];
1059 ntouches = tp_gesture_get_active_touches(tp, touches, 4);
1061 first = touches[0];
1062 second = touches[1];
1069 tp->gesture.touches[0] = first;
1084 /* For 3+ finger gestures, we only really need to track two touches.
1091 * doesn't really matter which two of those touches we track.
1102 second = touches[0];
1105 if (touches[i]->point.y < first->point.y)
1106 first = touches[i];
1107 else if (touches[i]->point.y >= second->point.y)
1108 second = touches[i];
1119 tp->gesture.touches[0] = first;
1120 tp->gesture.touches[1] = second;
1446 * NONE to re-evaluate leftmost and rightmost touches