Lines Matching refs:hysteresis
175 if (tp->hysteresis.enabled || t->history.count == 0) in tp_detect_wobbling()
179 t->hysteresis.x_motion_history = 0; in tp_detect_wobbling()
186 dtime = time - tp->hysteresis.last_motion_time; in tp_detect_wobbling()
188 tp->hysteresis.last_motion_time = time; in tp_detect_wobbling()
191 t->hysteresis.x_motion_history = 0; in tp_detect_wobbling()
195 t->hysteresis.x_motion_history >>= 1; in tp_detect_wobbling()
199 t->hysteresis.x_motion_history |= (1 << 2); in tp_detect_wobbling()
200 if (t->hysteresis.x_motion_history == r_l_r) { in tp_detect_wobbling()
201 tp->hysteresis.enabled = true; in tp_detect_wobbling()
214 if (!tp->hysteresis.enabled) in tp_motion_hysteresis()
219 &t->hysteresis.center, in tp_motion_hysteresis()
220 &tp->hysteresis.margin); in tp_motion_hysteresis()
222 t->hysteresis.center = t->point; in tp_motion_hysteresis()
343 t->hysteresis.x_motion_history = 0; in tp_new_touch()
361 tp->hysteresis.last_motion_time = time; in tp_begin_touch()
3483 tp->hysteresis.margin.x = xmargin; in tp_init_hysteresis()
3484 tp->hysteresis.margin.y = ymargin; in tp_init_hysteresis()
3485 tp->hysteresis.enabled = (ax->fuzz || ay->fuzz); in tp_init_hysteresis()
3486 if (tp->hysteresis.enabled) in tp_init_hysteresis()