Lines Matching defs:delta
97 struct device_float_coords delta = {0.0, 0.0};
112 delta.x += d.x;
113 delta.y += d.y;
118 return delta;
120 delta.x /= nactive;
121 delta.y /= nactive;
123 return delta;
227 struct normalized_coords delta;
230 delta = tp_filter_motion(tp, &raw, time);
232 if (!normalized_is_zero(delta) || !device_float_is_zero(raw)) {
238 &delta,
293 struct device_coords delta;
295 delta.x = abs(t->point.x - t->gesture.initial.x);
296 delta.y = abs(t->point.y - t->gesture.initial.y);
298 return evdev_device_unit_delta_to_mm(tp->device, &delta);
305 struct device_float_coords delta;
307 delta = device_delta(touch->point, touch->gesture.initial);
308 mm = tp_phys_delta(tp, delta);
320 struct device_float_coords delta;
324 delta = device_delta(first->point, second->point);
325 normalized = tp_normalize_delta(tp, delta);
360 struct normalized_coords *delta,
375 /* Determine time delta since last movement event */
402 /* Calculate windowed vector from delta + weighted historic data */
474 delta->x = 0.0;
476 delta->y = 0.0;
480 delta->x = (slope >= DEGREE_60) ? 0.0 : delta->x;
481 delta->y = (slope < DEGREE_30) ? 0.0 : delta->y;
870 struct device_coords delta;
920 delta.x = abs(first->point.x - second->point.x);
921 delta.y = abs(first->point.y - second->point.y);
922 distance_mm = evdev_device_unit_delta_to_mm(tp->device, &delta);
1163 struct normalized_coords delta;
1180 delta = tp_filter_scroll(tp, &raw, time);
1182 if (normalized_is_zero(delta))
1186 tp_gesture_apply_scroll_constraints(tp, &raw, &delta, time);
1190 &delta);
1197 struct normalized_coords delta, unaccel;
1200 delta = tp_filter_motion(tp, &raw, time);
1202 if (!normalized_is_zero(delta) || !device_float_is_zero(raw)) {
1208 &delta, &unaccel);
1217 struct normalized_coords delta, unaccel;
1233 delta = tp_filter_motion(tp, &fdelta, time);
1235 if (normalized_is_zero(delta) && device_float_is_zero(fdelta) &&
1244 &delta, &unaccel, scale, angle_delta);