Searched refs:vector_decay (Results 1 – 1 of 1) sorted by relevance
365 double vector_decay, vector_length, slope; in tp_gesture_apply_scroll_constraints() local396 vector_decay = tdelta <= (0.33 * EVENT_TIMEOUT) ? in tp_gesture_apply_scroll_constraints()399 vector_decay = 0.0; in tp_gesture_apply_scroll_constraints()403 vector.x = (tp->scroll.vector.x * vector_decay) + delta_mm.x; in tp_gesture_apply_scroll_constraints()404 vector.y = (tp->scroll.vector.y * vector_decay) + delta_mm.y; in tp_gesture_apply_scroll_constraints()