Lines Matching refs:gest
3756 gesture_t *gest; local
3762 gest = &sc->gesture;
3833 gest->window_min = window_min;
3836 gest->zmax = 0;
3839 gest->fingers_nb = 0;
3842 gest->in_vscroll = 0;
3846 gest->taptimeout = (struct timeval) {
3851 &gest->taptimeout, &sc->lastsoftintr);
3853 timevalclear(&gest->taptimeout);
3894 if (gest->in_taphold || (nfingers == 3 && three_finger_drag))
3895 ms->button |= gest->tap_button;
3903 gest->window_min = window_max;
3904 gest->fingers_nb = imax(nfingers, gest->fingers_nb);
3905 gest->zmax = imax(f->p, gest->zmax);
3908 if (queue_len < gest->window_min)
3915 if (!gest->in_taphold && !ms->button &&
3916 (!gest->in_vscroll || two_finger_scroll)) {
3930 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, >) ||
3940 gest->in_vscroll +=
3942 gest->in_vscroll +=
3952 gest->in_vscroll += 2;
3960 gest->in_vscroll += 1;
3964 if (gest->in_vscroll >= 3)
3965 gest->in_vscroll =
3973 if (two_finger_scroll && gest->in_vscroll != 0 &&
3975 gest->in_vscroll = 0;
3980 gest->in_vscroll ? "YES" : "NO",
3981 gest->in_vscroll, dxp, dyp,
3982 gest->fingers_nb));
3997 if (gest->fingers_nb > 1)
4008 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb,
4010 if (!gest->in_vscroll && gest->zmax >= tap_threshold &&
4011 timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=) &&
4022 if (gest->in_taphold) {
4027 gest->in_taphold = 0;
4039 gest->tap_button));
4053 gest->in_taphold = 1;
4055 gest->taptimeout.tv_sec = taphold_timeout /
4057 gest->taptimeout.tv_usec = taphold_timeout %
4059 sc->idletimeout = gest->taptimeout;
4060 timevaladd(&gest->taptimeout,
4063 switch (gest->fingers_nb) {
4065 gest->tap_button =
4069 gest->tap_button =
4073 gest->tap_button =
4078 gest->tap_button));
4079 ms->button |= gest->tap_button;
4086 if (gest->in_taphold) {
4089 gest->tap_button));
4090 gest->in_taphold = 0;
4096 } else if (!(sc->flags & PSM_FLAGS_FINGERDOWN) && gest->in_taphold) {
4102 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=)) {
4103 ms->button |= gest->tap_button;
4106 gest->tap_button));
4107 gest->in_taphold = 0;
4119 gesture_t *gest = &(sc->gesture); local
4236 if (smoother->queue_len < gest->window_min)
4242 if (gest->in_vscroll) {
4320 switch(gest->in_vscroll) {