Home
last modified time | relevance | path

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

/third_party/libinput/src/
Dutil-time.h55 ms2us(uint64_t ms) in ms2us() function
63 return ms2us(s * 1000); in s2us()
83 tv.tv_sec = time / ms2us(1000); in us2tv()
84 tv.tv_usec = time % ms2us(1000); in us2tv()
Dtimer.c75 its.it_value.tv_sec = earliest_expire / ms2us(1000); in libinput_timer_arm_timer_fd()
76 its.it_value.tv_nsec = (earliest_expire % ms2us(1000)) * 1000; in libinput_timer_arm_timer_fd()
99 } else if ((expire - now) > ms2us(5000)) { in libinput_timer_set_flags()
Dfilter-trackpoint.c214 smoothener->threshold = ms2us(10); in create_pointer_accelerator_filter_trackpoint()
215 smoothener->value = ms2us(10); in create_pointer_accelerator_filter_trackpoint()
Devdev-mt-touchpad-gestures.c31 #define DEFAULT_GESTURE_SWITCH_TIMEOUT ms2us(100)
32 #define DEFAULT_GESTURE_SWIPE_TIMEOUT ms2us(150)
33 #define DEFAULT_GESTURE_PINCH_TIMEOUT ms2us(150)
253 const uint64_t ACTIVE_THRESHOLD = ms2us(100), in tp_gesture_apply_scroll_constraints()
254 INACTIVE_THRESHOLD = ms2us(50), in tp_gesture_apply_scroll_constraints()
255 EVENT_TIMEOUT = ms2us(100); in tp_gesture_apply_scroll_constraints()
Devdev-debounce.c127 const int DEBOUNCE_TIMEOUT_BOUNCE = ms2us(25); in debounce_set_timer()
137 const int DEBOUNCE_TIMEOUT_SPURIOUS = ms2us(12); in debounce_set_timer_short()
Devdev-mt-touchpad.c38 #define DEFAULT_TRACKPOINT_ACTIVITY_TIMEOUT ms2us(300)
39 #define DEFAULT_TRACKPOINT_EVENT_TIMEOUT ms2us(40)
40 #define DEFAULT_KEYBOARD_ACTIVITY_TIMEOUT_1 ms2us(200)
41 #define DEFAULT_KEYBOARD_ACTIVITY_TIMEOUT_2 ms2us(500)
190 if ((dx == 0 && dy != 0) || dtime > ms2us(40)) { in tp_detect_wobbling()
977 const int PALM_TIMEOUT = ms2us(200); in tp_palm_detect_move_out_of_edge()
1500 unsigned int reference_interval = ms2us(12); in tp_detect_jumps()
1648 if (m->now > ms2us(20)) { in tp_process_msc_timestamp()
2793 time + ms2us(90)); in tp_interface_toggle_touch()
2979 ms2us(50), in tp_init_accel()
[all …]
Dfilter.c38 #define MOTION_TIMEOUT ms2us(1000)
Devdev-mt-touchpad-buttons.c34 #define DEFAULT_BUTTON_ENTER_TIMEOUT ms2us(100)
35 #define DEFAULT_BUTTON_LEAVE_TIMEOUT ms2us(300)
274 if (tdelta > ms2us(80)) in tp_button_release_other_bottom_touches()
Devdev-mt-touchpad-edge-scroll.c93 const int DEFAULT_SCROLL_LOCK_TIMEOUT = ms2us(300); in tp_edge_scroll_set_timer()
Devdev-mt-touchpad-thumb.c31 #define THUMB_TIMEOUT ms2us(100)
Devdev-mt-touchpad-tap.c32 #define DEFAULT_TAP_TIMEOUT_PERIOD ms2us(180)
33 #define DEFAULT_DRAG_TIMEOUT_PERIOD ms2us(300)
Devdev-middle-button.c30 #define MIDDLEBUTTON_TIMEOUT ms2us(50)
Devdev-fallback.c1254 time + ms2us(90)); in fallback_interface_toggle_touch()
Devdev.c54 #define DEFAULT_BUTTON_SCROLL_TIMEOUT ms2us(200)
/third_party/libinput/test/
Dtest-utils.c164 ratelimit_init(&rl, ms2us(1000), 10); in START_TEST()
630 ck_assert_int_eq(ms2us(10), 10000); in START_TEST()
645 { ms2us(5), 5, "ms" }, in START_TEST()
646 { ms2us(100), 100, "ms" }, in START_TEST()