Lines Matching refs:gest
3759 gesture_t *gest; local
3765 gest = &sc->gesture;
3836 gest->window_min = window_min;
3839 gest->zmax = 0;
3842 gest->fingers_nb = 0;
3845 gest->in_vscroll = 0;
3849 gest->taptimeout = (struct timeval) {
3854 &gest->taptimeout, &sc->lastsoftintr);
3856 timevalclear(&gest->taptimeout);
3897 if (gest->in_taphold || (nfingers == 3 && three_finger_drag))
3898 ms->button |= gest->tap_button;
3906 gest->window_min = window_max;
3907 gest->fingers_nb = imax(nfingers, gest->fingers_nb);
3908 gest->zmax = imax(f->p, gest->zmax);
3911 if (queue_len < gest->window_min)
3918 if (!gest->in_taphold && !ms->button &&
3919 (!gest->in_vscroll || two_finger_scroll)) {
3933 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, >) ||
3943 gest->in_vscroll +=
3945 gest->in_vscroll +=
3955 gest->in_vscroll += 2;
3963 gest->in_vscroll += 1;
3967 if (gest->in_vscroll >= 3)
3968 gest->in_vscroll =
3976 if (two_finger_scroll && gest->in_vscroll != 0 &&
3978 gest->in_vscroll = 0;
3983 gest->in_vscroll ? "YES" : "NO",
3984 gest->in_vscroll, dxp, dyp,
3985 gest->fingers_nb));
4000 if (gest->fingers_nb > 1)
4011 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb,
4013 if (!gest->in_vscroll && gest->zmax >= tap_threshold &&
4014 timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=) &&
4025 if (gest->in_taphold) {
4030 gest->in_taphold = 0;
4042 gest->tap_button));
4056 gest->in_taphold = 1;
4058 gest->taptimeout.tv_sec = taphold_timeout /
4060 gest->taptimeout.tv_usec = taphold_timeout %
4062 sc->idletimeout = gest->taptimeout;
4063 timevaladd(&gest->taptimeout,
4066 switch (gest->fingers_nb) {
4068 gest->tap_button =
4072 gest->tap_button =
4076 gest->tap_button =
4081 gest->tap_button));
4082 ms->button |= gest->tap_button;
4089 if (gest->in_taphold) {
4092 gest->tap_button));
4093 gest->in_taphold = 0;
4099 } else if (!(sc->flags & PSM_FLAGS_FINGERDOWN) && gest->in_taphold) {
4105 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=)) {
4106 ms->button |= gest->tap_button;
4109 gest->tap_button));
4110 gest->in_taphold = 0;
4122 gesture_t *gest = &(sc->gesture); local
4232 if (smoother->queue_len < gest->window_min)
4238 if (gest->in_vscroll) {
4316 switch(gest->in_vscroll) {