Home
last modified time | relevance | path

Searched refs:ACTIVE_THRESHOLD (Results 1 - 1 of 1) sorted by relevance

/third_party/libinput/src/
H A Devdev-mt-touchpad-gestures.c367 const uint64_t ACTIVE_THRESHOLD = ms2us(100), in tp_gesture_apply_scroll_constraints() local
429 if (tp->scroll.duration.v > ACTIVE_THRESHOLD) in tp_gesture_apply_scroll_constraints()
430 tp->scroll.duration.v = ACTIVE_THRESHOLD; in tp_gesture_apply_scroll_constraints()
440 if (tp->scroll.duration.h > ACTIVE_THRESHOLD) in tp_gesture_apply_scroll_constraints()
441 tp->scroll.duration.h = ACTIVE_THRESHOLD; in tp_gesture_apply_scroll_constraints()
450 if (tp->scroll.duration.h == ACTIVE_THRESHOLD) { in tp_gesture_apply_scroll_constraints()
455 if (tp->scroll.duration.v == ACTIVE_THRESHOLD) { in tp_gesture_apply_scroll_constraints()

Completed in 4 milliseconds