Lines Matching refs:tev
91 struct libinput_event_touch *tev; in START_TEST() local
119 tev = libinput_event_get_touch_event(ev); in START_TEST()
120 fx = libinput_event_touch_get_x_transformed(tev, 1920); in START_TEST()
122 fy = libinput_event_touch_get_y_transformed(tev, 720); in START_TEST()
143 struct libinput_event_touch *tev; in touch_assert_seat_slot() local
147 tev = litest_is_touch_event(ev, type); in touch_assert_seat_slot()
148 slot = libinput_event_touch_get_slot(tev); in touch_assert_seat_slot()
150 slot = libinput_event_touch_get_seat_slot(tev); in touch_assert_seat_slot()
313 struct libinput_event_touch *tev; in START_TEST() local
336 tev = litest_is_touch_event(ev, LIBINPUT_EVENT_TOUCH_DOWN); in START_TEST()
338 x = libinput_event_touch_get_x_transformed(tev, width); in START_TEST()
339 y = libinput_event_touch_get_y_transformed(tev, height); in START_TEST()
358 struct libinput_event_touch *tev; in START_TEST() local
405 tev = litest_is_touch_event(ev, LIBINPUT_EVENT_TOUCH_DOWN); in START_TEST()
407 x = libinput_event_touch_get_x_transformed(tev, width); in START_TEST()
408 y = libinput_event_touch_get_y_transformed(tev, height); in START_TEST()
445 struct libinput_event_touch *tev; in START_TEST() local
469 tev = litest_is_touch_event(ev, LIBINPUT_EVENT_TOUCH_DOWN); in START_TEST()
471 x = libinput_event_touch_get_x_transformed(tev, width); in START_TEST()
472 y = libinput_event_touch_get_y_transformed(tev, height); in START_TEST()
703 struct libinput_event_touch *tev; in START_TEST() local
712 tev = litest_is_touch_event(ev, LIBINPUT_EVENT_TOUCH_DOWN); in START_TEST()
714 oldx = libinput_event_touch_get_x(tev); in START_TEST()
715 oldy = libinput_event_touch_get_y(tev); in START_TEST()
735 tev = libinput_event_get_touch_event(ev); in START_TEST()
736 x = libinput_event_touch_get_x(tev); in START_TEST()
737 y = libinput_event_touch_get_y(tev); in START_TEST()
761 struct libinput_event_touch *tev; in START_TEST() local
786 tev = libinput_event_get_touch_event(ev); in START_TEST()
787 ck_assert_int_eq(libinput_event_touch_get_slot(tev), 0); in START_TEST()
795 tev = libinput_event_get_touch_event(ev); in START_TEST()
796 ck_assert_int_eq(libinput_event_touch_get_slot(tev), 1); in START_TEST()
890 struct libinput_event_touch *tev; in START_TEST() local
899 tev = litest_is_touch_event(event, LIBINPUT_EVENT_TOUCH_DOWN); in START_TEST()
900 time_usec = libinput_event_touch_get_time_usec(tev); in START_TEST()
901 ck_assert_int_eq(libinput_event_touch_get_time(tev), in START_TEST()