Lines Matching refs:gest
3776 gesture_t *gest; local
3782 gest = &sc->gesture;
3853 gest->window_min = window_min;
3856 gest->zmax = 0;
3859 gest->fingers_nb = 0;
3862 gest->in_vscroll = 0;
3866 gest->taptimeout = (struct timeval) {
3871 &gest->taptimeout, &sc->lastsoftintr);
3873 timevalclear(&gest->taptimeout);
3914 if (gest->in_taphold || (nfingers == 3 && three_finger_drag))
3915 ms->button |= gest->tap_button;
3923 gest->window_min = window_max;
3924 gest->fingers_nb = imax(nfingers, gest->fingers_nb);
3925 gest->zmax = imax(f->p, gest->zmax);
3928 if (queue_len < gest->window_min)
3935 if (!gest->in_taphold && !ms->button &&
3936 (!gest->in_vscroll || two_finger_scroll)) {
3950 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, >) ||
3960 gest->in_vscroll +=
3962 gest->in_vscroll +=
3972 gest->in_vscroll += 2;
3980 gest->in_vscroll += 1;
3984 if (gest->in_vscroll >= 3)
3985 gest->in_vscroll =
3993 if (two_finger_scroll && gest->in_vscroll != 0 &&
3995 gest->in_vscroll = 0;
4000 gest->in_vscroll ? "YES" : "NO",
4001 gest->in_vscroll, dxp, dyp,
4002 gest->fingers_nb));
4017 if (gest->fingers_nb > 1)
4028 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb,
4030 if (!gest->in_vscroll && gest->zmax >= tap_threshold &&
4031 timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=) &&
4042 if (gest->in_taphold) {
4047 gest->in_taphold = 0;
4059 gest->tap_button));
4073 gest->in_taphold = 1;
4075 gest->taptimeout.tv_sec = taphold_timeout /
4077 gest->taptimeout.tv_usec = taphold_timeout %
4079 sc->idletimeout = gest->taptimeout;
4080 timevaladd(&gest->taptimeout,
4083 switch (gest->fingers_nb) {
4085 gest->tap_button =
4089 gest->tap_button =
4093 gest->tap_button =
4098 gest->tap_button));
4099 ms->button |= gest->tap_button;
4106 if (gest->in_taphold) {
4109 gest->tap_button));
4110 gest->in_taphold = 0;
4116 } else if (!(sc->flags & PSM_FLAGS_FINGERDOWN) && gest->in_taphold) {
4122 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=)) {
4123 ms->button |= gest->tap_button;
4126 gest->tap_button));
4127 gest->in_taphold = 0;
4139 gesture_t *gest = &(sc->gesture); local
4256 if (smoother->queue_len < gest->window_min)
4262 if (gest->in_vscroll) {
4340 switch(gest->in_vscroll) {