Lines Matching refs:first
321 struct tp_touch *first = tp->gesture.touches[0],
324 delta = device_delta(first->point, second->point);
329 *center = device_average(first->point, second->point);
347 struct tp_touch *first = tp->gesture.touches[0],
350 d0 = device_delta(first->point, first->gesture.initial);
694 struct tp_touch *first;
707 first = tp->gesture.touches[0];
708 first_moved = tp_gesture_mm_moved(tp, first);
866 struct tp_touch *first = tp->gesture.touches[0],
878 first_moved = tp_gesture_mm_moved(tp, first);
920 delta.x = abs(first->point.x - second->point.x);
921 delta.y = abs(first->point.y - second->point.y);
929 if (first->point.y > second->point.y) {
930 thumb = first;
1001 dir1 = tp_gesture_get_direction(tp, first);
1027 struct tp_touch *first = tp->gesture.touches[0],
1033 dir1 = tp_gesture_get_direction(tp, first);
1038 first_moved = tp_gesture_mm_moved(tp, first);
1054 struct tp_touch *first, *second;
1061 first = touches[0];
1068 first->gesture.initial = first->point;
1069 tp->gesture.touches[0] = first;
1105 if (touches[i]->point.y < first->point.y)
1106 first = touches[i];
1111 if (first == second)
1117 first->gesture.initial = first->point;
1119 tp->gesture.touches[0] = first;