Lines Matching refs:speed
124 double speed;
138 * We do *not* reset the speed to 0 here though. The motion history
140 * speed and failing.
145 /* TODO: we probably need a speed history here so we can average
153 speed = distance/(time - last->time); /* mm/us */
154 speed *= 1000000; /* mm/s */
156 t->speed.last_speed = speed;
362 t->speed.last_speed = 0;
363 t->speed.exceeded_count = 0;
379 t->speed.exceeded_count = 0;
456 t->speed.exceeded_count = 0;
1731 /* A non-dirty touch must be below the speed limit */
1732 if (t->speed.exceeded_count > 0)
1733 t->speed.exceeded_count--;
1736 t->speed.exceeded_count);
1762 /* Touch speed handling: if we'are above the threshold,
1764 * events. Count down when we are below the speed.
1766 * Take the touch with the highest speed excess, if it is
1774 if (t->speed.last_speed > THUMB_IGNORE_SPEED_THRESHOLD) {
1775 if (t->speed.exceeded_count < 15)
1776 t->speed.exceeded_count++;
1777 } else if (t->speed.exceeded_count > 0) {
1778 t->speed.exceeded_count--;
1782 t->speed.exceeded_count);
2980 * (unaccelerated) speed. This also evens out any differences in x
3020 tp_accel_config_set_speed(struct libinput_device *device, double speed)
3024 if (!filter_set_speed(dev->pointer.filter, speed))
3037 double speed;
3043 speed = filter_get_speed(filter);
3047 tp_accel_config_set_speed(libinput_device, speed);