/third_party/libinput/test/ |
H A D | test-touchpad-tap.c | 66 int nfingers = (_i % 3) + 1, /* ranged test */ in START_TEST() local 71 if (nfingers > litest_slot_count(dev)) in START_TEST() 79 switch (nfingers) { in START_TEST() 110 switch (nfingers) { in START_TEST() 122 switch (nfingers) { in START_TEST() 207 int nfingers = (_i % 3) + 1, /* ranged test */ in START_TEST() local 212 if (nfingers > litest_slot_count(dev)) in START_TEST() 219 switch (nfingers) { in START_TEST() 236 switch (nfingers) { in START_TEST() 247 switch (nfingers) { in START_TEST() 297 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 406 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 523 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 624 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 714 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 825 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 921 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 1036 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 1160 int nfingers = _i; /* ranged test */ START_TEST() local 1242 int nfingers = _i; /* ranged test */ START_TEST() local 1323 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 1430 int nfingers = _i; /* ranged test */ START_TEST() local 1515 int nfingers = _i; /* ranged test */ START_TEST() local 1594 int nfingers = _i; /* ranged test */ START_TEST() local 1672 int nfingers = _i; /* ranged test */ START_TEST() local 1752 int nfingers = _i; /* ranged test */ START_TEST() local 1837 int nfingers = _i; /* ranged test */ START_TEST() local 1936 int nfingers = _i; /* ranged test */ START_TEST() local 2022 int nfingers = _i; /* ranged test */ START_TEST() local 2113 int nfingers = _i; /* ranged test */ START_TEST() local 2638 int nfingers = _i; /* ranged test */ START_TEST() local 2714 int nfingers = _i; /* ranged test */ START_TEST() local 3423 int nfingers = _i; /* ranged test */ START_TEST() local 3883 int nfingers = _i; /* ranged test */ START_TEST() local 3958 int nfingers = _i; /* ranged test */ START_TEST() local 4036 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 4316 int nfingers = _i; /* ranged test */ START_TEST() local 4398 int nfingers = _i; /* ranged test */ START_TEST() local 4480 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 4611 int nfingers = _i; /* ranged test */ START_TEST() local 4696 nfingers = _i / 2; START_TEST() local 5011 int nfingers = _i; /* ranged test */ START_TEST() local 5090 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 5176 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 5261 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local 5377 int nfingers = (_i % 3) + 1, /* ranged test */ START_TEST() local [all...] |
H A D | test-gestures.c | 816 test_gesture_hold(int nfingers) in test_gesture_hold() argument 821 if (litest_slot_count(dev) < nfingers) in test_gesture_hold() 826 switch (nfingers) { in test_gesture_hold() 848 nfingers); in test_gesture_hold() 853 switch (nfingers) { in test_gesture_hold() 873 nfingers); in test_gesture_hold() 880 test_gesture_hold_cancel(int nfingers) in test_gesture_hold_cancel() argument 884 int last_finger = (nfingers - 1); in test_gesture_hold_cancel() 886 if (litest_slot_count(dev) < nfingers) in test_gesture_hold_cancel() 891 switch (nfingers) { in test_gesture_hold_cancel() 1487 int nfingers = _i; /* ranged test */ START_TEST() local 1500 int nfingers = _i; /* ranged test */ START_TEST() local 1513 int nfingers = _i; /* ranged test */ START_TEST() local 1526 int nfingers = _i; /* ranged test */ START_TEST() local 1633 int nfingers = _i; /* ranged test */ START_TEST() local [all...] |
H A D | test-touchpad-buttons.c | 951 int nfingers = _i; /* ranged test */ in START_TEST() local 961 if (nfingers > 1) { in START_TEST() 970 if (nfingers > 2) { in START_TEST() 988 switch (nfingers) { in START_TEST() 990 if (nslots >= nfingers) in START_TEST() 994 if (nslots >= nfingers) in START_TEST() 1011 if (nfingers > 3) { in START_TEST() 1020 if (nfingers > 2) { in START_TEST()
|
H A D | litest.h | 804 int nfingers); 906 int nfingers);
|
H A D | litest.c | 3738 int nfingers) in litest_is_gesture_event() 3748 if (nfingers != -1) in litest_is_gesture_event() 3750 nfingers); in litest_is_gesture_event() local 3757 int nfingers) in litest_assert_gesture_event() 3764 litest_is_gesture_event(event, type, nfingers); in litest_assert_gesture_event() 3736 litest_is_gesture_event(struct libinput_event *event, enum libinput_event_type type, int nfingers) litest_is_gesture_event() argument 3755 litest_assert_gesture_event(struct libinput *li, enum libinput_event_type type, int nfingers) litest_assert_gesture_event() argument
|
/third_party/libinput/tools/ |
H A D | libinput-debug-gui.c | 150 int nfingers; member 155 int nfingers; member 162 int nfingers; member 538 for (int i = 0; i < w->swipe.nfingers; i++) { in draw_gestures() 556 if (w->pinch.nfingers > 0) { in draw_gestures() 581 hold_alpha = (w->hold.active && i <= w->hold.nfingers) ? 1 : .5; in draw_gestures() 1552 int nfingers; in handle_event_swipe() local 1555 nfingers = libinput_event_gesture_get_finger_count(g); in handle_event_swipe() 1559 w->swipe.nfingers = nfingers; in handle_event_swipe() 1583 int nfingers; handle_event_pinch() local 1618 int nfingers; handle_event_hold() local [all...] |
/third_party/libinput/src/ |
H A D | evdev-mt-touchpad-buttons.c | 1117 unsigned int nfingers = 0; in tp_clickfinger_set_button() local 1132 nfingers++; in tp_clickfinger_set_button() 1142 if (nfingers != 2) in tp_clickfinger_set_button() 1146 nfingers = 2; in tp_clickfinger_set_button() 1148 nfingers = 1; in tp_clickfinger_set_button() 1151 switch (nfingers) { in tp_clickfinger_set_button()
|
H A D | evdev-mt-touchpad-tap.c | 125 int nfingers, in tp_tap_notify() 136 if (nfingers < 1 || nfingers > 3) in tp_tap_notify() 139 button = button_map[tp->tap.map][nfingers - 1]; in tp_tap_notify() 142 tp->tap.buttons_pressed |= bit(nfingers); in tp_tap_notify() 144 tp->tap.buttons_pressed &= ~bit(nfingers); in tp_tap_notify() 123 tp_tap_notify(struct tp_dispatch *tp, uint64_t time, int nfingers, enum libinput_button_state state) tp_tap_notify() argument
|