Home
last modified time | relevance | path

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

/third_party/libinput/src/
Dfilter-low-dpi.c94 if (v_us2ms(speed_in) < 0.07) in pointer_accel_profile_linear_low_dpi()
95 factor = 10 * v_us2ms(speed_in) + 0.3; in pointer_accel_profile_linear_low_dpi()
99 factor = incline * v_us2ms(speed_in - threshold) + 1; in pointer_accel_profile_linear_low_dpi()
Dfilter-mouse.c275 if (v_us2ms(speed_in) < 0.07) { in pointer_accel_profile_linear()
276 factor = 10 * v_us2ms(speed_in) + 0.3; in pointer_accel_profile_linear()
292 factor = incline * v_us2ms(speed_in - threshold) + 1; in pointer_accel_profile_linear()
Dfilter-touchpad-x230.c278 f1 = min(1, v_us2ms(speed_in) * 5); in touchpad_lenovo_x230_accel_profile()
279 f2 = 1 + (v_us2ms(speed_in) - v_us2ms(threshold)) * incline; in touchpad_lenovo_x230_accel_profile()
Dfilter-private.h101 v_us2ms(double units_per_us) in v_us2ms() function
Dfilter-trackpoint.c57 velocity = v_us2ms(velocity); /* make it units/ms */ in trackpoint_accel_profile()