Home
last modified time | relevance | path

Searched refs:ptrev (Results 1 – 6 of 6) sorted by relevance

/third_party/libinput/test/
Dtest-trackball.c135 struct libinput_event_pointer *ptrev; in START_TEST() local
149 ptrev = litest_is_motion_event(event); in START_TEST()
153 dx = libinput_event_pointer_get_dx_unaccelerated(ptrev); in START_TEST()
154 dy = libinput_event_pointer_get_dy_unaccelerated(ptrev); in START_TEST()
185 struct libinput_event_pointer *ptrev; in START_TEST() local
199 ptrev = litest_is_motion_event(event); in START_TEST()
203 dx = libinput_event_pointer_get_dx_unaccelerated(ptrev); in START_TEST()
204 dy = libinput_event_pointer_get_dy_unaccelerated(ptrev); in START_TEST()
235 struct libinput_event_pointer *ptrev; in START_TEST() local
251 ptrev = litest_is_motion_event(event); in START_TEST()
[all …]
Dtest-touchpad-tap.c64 struct libinput_event_pointer *ptrev; in START_TEST() local
84 ptrev = litest_is_button_event(event, in START_TEST()
87 oldtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
91 ptrev = litest_is_button_event(event, in START_TEST()
94 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
99 ptrev = litest_is_button_event(event, in START_TEST()
102 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
108 ptrev = litest_is_button_event(event, in START_TEST()
111 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
124 struct libinput_event_pointer *ptrev; in START_TEST() local
[all …]
Dtest-trackpoint.c40 struct libinput_event_pointer *ptrev; in START_TEST() local
53 ptrev = litest_is_button_event(event, in START_TEST()
56 ptime = libinput_event_pointer_get_time(ptrev); in START_TEST()
60 ptrev = litest_is_button_event(event, in START_TEST()
63 rtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
140 struct libinput_event_pointer *ptrev; in START_TEST() local
148 ptrev = libinput_event_get_pointer_event(event); in START_TEST()
150 ck_assert_int_eq(libinput_event_pointer_get_axis_source(ptrev), in START_TEST()
Dtest-pointer.c41 struct libinput_event_pointer *ptrev; in test_relative_event() local
59 ptrev = litest_is_motion_event(event); in test_relative_event()
81 ev_dx = libinput_event_pointer_get_dx(ptrev); in test_relative_event()
82 ev_dy = libinput_event_pointer_get_dy(ptrev); in test_relative_event()
182 struct libinput_event_pointer *ptrev; in START_TEST() local
212 ptrev = litest_is_motion_event(event); in START_TEST()
213 evx = libinput_event_pointer_get_dx(ptrev); in START_TEST()
214 evy = libinput_event_pointer_get_dy(ptrev); in START_TEST()
231 struct libinput_event_pointer *ptrev; in test_absolute_event() local
242 ptrev = libinput_event_get_pointer_event(event); in test_absolute_event()
[all …]
Dtest-touchpad.c61 struct libinput_event_pointer *ptrev; in START_TEST() local
80 ptrev = libinput_event_get_pointer_event(event); in START_TEST()
81 ck_assert_int_ge(libinput_event_pointer_get_dx(ptrev), 0); in START_TEST()
82 ck_assert_int_eq(libinput_event_pointer_get_dy(ptrev), 0); in START_TEST()
172 struct libinput_event_pointer *ptrev; in START_TEST() local
215 ptrev = litest_is_axis_event(event, in START_TEST()
218 ck_assert(!libinput_event_pointer_has_axis(ptrev, in START_TEST()
239 struct libinput_event_pointer *ptrev; in is_single_axis_2fg_scroll() local
251 ptrev = litest_is_axis_event(event, on_axis, in is_single_axis_2fg_scroll()
254 has_on_axis = libinput_event_pointer_has_axis(ptrev, on_axis); in is_single_axis_2fg_scroll()
[all …]
Dlitest.c3442 struct libinput_event_pointer *ptrev; in litest_is_button_event() local
3447 ptrev = libinput_event_get_pointer_event(event); in litest_is_button_event()
3448 litest_assert_int_eq(libinput_event_pointer_get_button(ptrev), in litest_is_button_event()
3450 litest_assert_int_eq(libinput_event_pointer_get_button_state(ptrev), in litest_is_button_event()
3453 return ptrev; in litest_is_button_event()
3461 struct libinput_event_pointer *ptrev; in litest_is_axis_event() local
3466 ptrev = libinput_event_get_pointer_event(event); in litest_is_axis_event()
3467 litest_assert(libinput_event_pointer_has_axis(ptrev, axis)); in litest_is_axis_event()
3470 litest_assert_int_eq(libinput_event_pointer_get_axis_source(ptrev), in litest_is_axis_event()
3473 return ptrev; in litest_is_axis_event()
[all …]