Home
last modified time | relevance | path

Searched refs:ptrev (Results 1 – 7 of 7) 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
164 ptrev = litest_is_button_event(event, in START_TEST()
167 oldtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
171 ptrev = litest_is_button_event(event, in START_TEST()
174 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
179 ptrev = litest_is_button_event(event, in START_TEST()
182 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
188 ptrev = litest_is_button_event(event, in START_TEST()
191 curtime = libinput_event_pointer_get_time(ptrev); in START_TEST()
204 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()
152 struct libinput_event_pointer *ptrev; in START_TEST() local
160 ptrev = libinput_event_get_pointer_event(event); in START_TEST()
162 ck_assert_int_eq(litest_event_pointer_get_axis_source(ptrev), in START_TEST()
Dlitest.c3546 struct libinput_event_pointer *ptrev; in litest_is_button_event() local
3551 ptrev = libinput_event_get_pointer_event(event); in litest_is_button_event()
3552 litest_assert_int_eq(libinput_event_pointer_get_button(ptrev), in litest_is_button_event()
3554 litest_assert_int_eq(libinput_event_pointer_get_button_state(ptrev), in litest_is_button_event()
3557 return ptrev; in litest_is_button_event()
3566 struct libinput_event_pointer *ptrev; in litest_is_axis_event() local
3576 ptrev = libinput_event_get_pointer_event(event); in litest_is_axis_event()
3577 litest_assert(libinput_event_pointer_has_axis(ptrev, axis)); in litest_is_axis_event()
3580 litest_assert_int_eq(litest_event_pointer_get_axis_source(ptrev), in litest_is_axis_event()
3583 return ptrev; in litest_is_axis_event()
[all …]
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.c76 struct libinput_event_pointer *ptrev; in START_TEST() local
78 ptrev = litest_is_motion_event(event); in START_TEST()
79 ck_assert_int_ge(libinput_event_pointer_get_dx(ptrev), 0); in START_TEST()
80 ck_assert_int_eq(libinput_event_pointer_get_dy(ptrev), 0); in START_TEST()
228 struct libinput_event_pointer *ptrev; in START_TEST() local
230 ptrev = litest_is_axis_event(event, in START_TEST()
234 ck_assert(!libinput_event_pointer_has_axis(ptrev, in START_TEST()
255 struct libinput_event_pointer *ptrev; in is_single_axis_2fg_scroll() local
266 ptrev = litest_is_axis_event(event, in is_single_axis_2fg_scroll()
271 has_on_axis = libinput_event_pointer_has_axis(ptrev, on_axis); in is_single_axis_2fg_scroll()
[all …]
Dlitest.h806 litest_event_pointer_get_value(struct libinput_event_pointer *ptrev,