Home
last modified time | relevance | path

Searched refs:margin_distance (Results 1 – 1 of 1) sorted by relevance

/third_party/libinput/src/
Devdev.h723 double normalized_finger_distance, finger_distance, margin_distance; in evdev_hysteresis() local
746 margin_distance = finger_distance / normalized_finger_distance; in evdev_hysteresis()
755 lag_x = margin_distance / sqrt(gradient * gradient + 1); in evdev_hysteresis()
756 lag_y = sqrt((margin_distance + lag_x) * in evdev_hysteresis()
757 (margin_distance - lag_x)); in evdev_hysteresis()
760 lag_y = margin_distance; in evdev_hysteresis()