Lines Matching defs:time

64 		 uint64_t time)
76 &raw, tp, time);
82 uint64_t time)
94 &raw, tp, time);
100 uint64_t time)
112 &raw, tp, time);
118 uint64_t time)
153 speed = distance/(time - last->time); /* mm/us */
160 tp_motion_history_push(struct tp_touch *t, uint64_t time)
168 t->history.samples[motion_index].time = time;
186 uint64_t time)
207 dtime = time - tp->hysteresis.last_motion_time;
209 tp->hysteresis.last_motion_time = time;
272 * time */
333 tp_new_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
369 tp_begin_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
373 t->initial_time = time;
376 t->palm.time = time;
381 tp->hysteresis.last_motion_time = time;
395 uint64_t time)
441 tp_end_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
455 t->palm.time = 0;
464 tp_end_sequence(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
467 tp_maybe_end_touch(tp, t, time);
471 tp_stop_actions(struct tp_dispatch *tp, uint64_t time)
473 tp_edge_scroll_stop_events(tp, time);
474 tp_gesture_cancel(tp, time);
475 tp_tap_suspend(tp, time);
521 uint64_t time)
548 tp_new_touch(tp, t, time);
552 tp_end_sequence(tp, t, time);
581 uint64_t time)
612 uint64_t time)
647 uint64_t time)
659 tp_restore_synaptics_touches(tp, time);
705 tp_new_touch(tp, t, time);
707 tp_end_sequence(tp, t, time);
714 uint64_t time)
751 &event, time);
754 &syn_report, time);
760 uint64_t time)
770 tp_process_button(tp, e, time);
783 tp_process_trackpoint_button(tp, e, time);
791 uint64_t time)
889 uint64_t time)
908 if (t->palm.time == 0 ||
909 t->palm.time > tp->dwt.keyboard_last_press_time) {
923 uint64_t time)
939 if (t->palm.time == 0 ||
940 t->palm.time > tp->palm.trackpoint_last_event_time) {
953 uint64_t time)
975 uint64_t time)
982 if (time < t->palm.time + PALM_TIMEOUT && !tp_palm_in_edge(tp, t)) {
1000 tp_palm_detect_multifinger(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
1031 uint64_t time)
1057 uint64_t time)
1060 if (tp_palm_detect_multifinger(tp, t, time)) {
1070 } else if (tp_palm_detect_move_out_of_edge(tp, t, time)) {
1079 if (tp_palm_detect_multifinger(tp, t, time)) {
1092 t->palm.time = time;
1101 uint64_t time)
1119 uint64_t time)
1130 tp_palm_detect(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
1135 if (tp_palm_detect_pressure_triggered(tp, t, time))
1138 if (tp_palm_detect_arbitration_triggered(tp, t, time))
1141 if (tp_palm_detect_dwt_triggered(tp, t, time))
1144 if (tp_palm_detect_trackpoint_triggered(tp, t, time))
1147 if (tp_palm_detect_tool_triggered(tp, t, time))
1150 if (tp_palm_detect_touch_size_triggered(tp, t, time))
1153 if (tp_palm_detect_edge(tp, t, time))
1162 if (tp_palm_detect_pressure_triggered(tp, t, time))
1206 tp_unhover_pressure(struct tp_dispatch *tp, uint64_t time)
1231 tp_begin_touch(tp, t, time);
1244 tp_maybe_end_touch(tp, t, time);
1267 tp_begin_touch(tp, t, time);
1285 tp_maybe_end_touch(tp, t, time);
1295 tp_unhover_size(struct tp_dispatch *tp, uint64_t time)
1322 tp_begin_touch(tp, t, time);
1329 tp_maybe_end_touch(tp, t, time);
1336 tp_unhover_fake_touches(struct tp_dispatch *tp, uint64_t time)
1362 tp_begin_touch(tp, t, time);
1383 tp_maybe_end_touch(tp, t, time);
1393 tp_unhover_touches(struct tp_dispatch *tp, uint64_t time)
1396 tp_unhover_pressure(tp, time);
1398 tp_unhover_size(tp, time);
1400 tp_unhover_fake_touches(tp, time);
1485 uint64_t time)
1518 tdelta = time - last->time;
1520 /* For test devices we always force the time delta to 12, at least
1571 * @param jumping_interval The large time interval in µs
1573 * @param time Current time in µs
1580 uint64_t time)
1589 * This way the next delta is huge but it's over a large time, so
1596 p->time = time - jumping_interval - normal_interval * i;
1601 tp_process_msc_timestamp(struct tp_dispatch *tp, uint64_t time)
1631 event instead, swallowing all other movements. So if the time
1655 /* The current time is > 2 times the interval so we
1664 time);
1674 filter_restart(tp->device->pointer.filter, tp, time - tdelta);
1683 tp_pre_process_state(struct tp_dispatch *tp, uint64_t time)
1688 tp_process_msc_timestamp(tp, time);
1690 tp_process_fake_touches(tp, time);
1691 tp_unhover_touches(tp, time);
1695 tp_end_touch(tp, t, time);
1706 tp_process_state(struct tp_dispatch *tp, uint64_t time)
1742 tp_motion_history_push(t, time);
1746 if (tp_detect_jumps(tp, t, time)) {
1756 tp_thumb_update_touch(tp, t, time);
1757 tp_palm_detect(tp, t, time);
1758 tp_detect_wobbling(tp, t, time);
1760 tp_motion_history_push(t, time);
1784 tp_calculate_motion_speed(tp, t, time);
1800 filter_restart(tp->device->pointer.filter, tp, time);
1802 tp_button_handle_state(tp, time);
1803 tp_edge_scroll_handle_state(tp, time);
1815 tp_gesture_handle_state(tp, time);
1819 tp_post_process_state(struct tp_dispatch *tp, uint64_t time)
1852 tp_post_events(struct tp_dispatch *tp, uint64_t time)
1858 tp_post_button_events(tp, time);
1862 ignore_motion |= tp_tap_handle_state(tp, time);
1863 ignore_motion |= tp_post_button_events(tp, time);
1866 tp_edge_scroll_stop_events(tp, time);
1867 tp_gesture_cancel(tp, time);
1872 tp_edge_scroll_stop_events(tp, time);
1873 tp_gesture_cancel_motion_gestures(tp, time);
1874 tp_gesture_post_events(tp, time, true);
1878 if (tp_edge_scroll_post_events(tp, time) != 0)
1881 tp_gesture_post_events(tp, time, false);
1904 uint64_t time)
1906 tp_pre_process_state(tp, time);
1907 tp_process_state(tp, time);
1908 tp_post_events(tp, time);
1909 tp_post_process_state(tp, time);
1943 uint64_t time)
1950 tp_process_absolute(tp, e, time);
1952 tp_process_absolute_st(tp, e, time);
1955 tp_process_key(tp, e, time);
1958 tp_process_msc(tp, e, time);
1961 tp_handle_state(tp, time);
2197 tp_trackpoint_event(uint64_t time, struct libinput_event *event, void *data)
2209 tp->palm.trackpoint_last_event_time = time;
2215 time + DEFAULT_TRACKPOINT_EVENT_TIMEOUT);
2220 tp_stop_actions(tp, time);
2225 time + DEFAULT_TRACKPOINT_ACTIVITY_TIMEOUT);
2293 tp_keyboard_event(uint64_t time, struct libinput_event *event, void *data)
2339 tp_stop_actions(tp, time);
2346 tp->dwt.keyboard_last_press_time = time;
2349 time + timeout);
2436 tp_lid_switch_event(uint64_t time, struct libinput_event *event, void *data)
2461 tp_tablet_mode_switch_event(uint64_t time,
2787 uint64_t time)
2810 time + ms2us(90));
3090 uint64_t time = libinput_now(tp_libinput_context(tp));
3095 tp_edge_scroll_stop_events(tp, time);
3096 tp_gesture_stop_twofinger_scroll(tp, time);