Searched refs:ms2us (Results 1 – 15 of 15) sorted by relevance
/third_party/libinput/src/ |
D | util-time.h | 55 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()
|
D | timer.c | 75 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()
|
D | filter-trackpoint.c | 214 smoothener->threshold = ms2us(10); in create_pointer_accelerator_filter_trackpoint() 215 smoothener->value = ms2us(10); in create_pointer_accelerator_filter_trackpoint()
|
D | evdev-mt-touchpad-gestures.c | 31 #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()
|
D | evdev-debounce.c | 127 const int DEBOUNCE_TIMEOUT_BOUNCE = ms2us(25); in debounce_set_timer() 137 const int DEBOUNCE_TIMEOUT_SPURIOUS = ms2us(12); in debounce_set_timer_short()
|
D | evdev-mt-touchpad.c | 38 #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 …]
|
D | filter.c | 38 #define MOTION_TIMEOUT ms2us(1000)
|
D | evdev-mt-touchpad-buttons.c | 34 #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()
|
D | evdev-mt-touchpad-edge-scroll.c | 93 const int DEFAULT_SCROLL_LOCK_TIMEOUT = ms2us(300); in tp_edge_scroll_set_timer()
|
D | evdev-mt-touchpad-thumb.c | 31 #define THUMB_TIMEOUT ms2us(100)
|
D | evdev-mt-touchpad-tap.c | 32 #define DEFAULT_TAP_TIMEOUT_PERIOD ms2us(180) 33 #define DEFAULT_DRAG_TIMEOUT_PERIOD ms2us(300)
|
D | evdev-middle-button.c | 30 #define MIDDLEBUTTON_TIMEOUT ms2us(50)
|
D | evdev-fallback.c | 1254 time + ms2us(90)); in fallback_interface_toggle_touch()
|
D | evdev.c | 54 #define DEFAULT_BUTTON_SCROLL_TIMEOUT ms2us(200)
|
/third_party/libinput/test/ |
D | test-utils.c | 164 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()
|