Lines Matching refs:hysteresis
177 if (tp->hysteresis.enabled || t->history.count == 0) in tp_detect_wobbling()
181 t->hysteresis.x_motion_history = 0; in tp_detect_wobbling()
188 dtime = time - tp->hysteresis.last_motion_time; in tp_detect_wobbling()
190 tp->hysteresis.last_motion_time = time; in tp_detect_wobbling()
193 t->hysteresis.x_motion_history = 0; in tp_detect_wobbling()
197 t->hysteresis.x_motion_history >>= 1; in tp_detect_wobbling()
201 t->hysteresis.x_motion_history |= (1 << 2); in tp_detect_wobbling()
202 if (t->hysteresis.x_motion_history == r_l_r) { in tp_detect_wobbling()
203 tp->hysteresis.enabled = true; in tp_detect_wobbling()
216 if (!tp->hysteresis.enabled) in tp_motion_hysteresis()
221 &t->hysteresis.center, in tp_motion_hysteresis()
222 &tp->hysteresis.margin); in tp_motion_hysteresis()
224 t->hysteresis.center = t->point; in tp_motion_hysteresis()
345 t->hysteresis.x_motion_history = 0; in tp_new_touch()
362 tp->hysteresis.last_motion_time = time; in tp_begin_touch()
3493 tp->hysteresis.margin.x = xmargin; in tp_init_hysteresis()
3494 tp->hysteresis.margin.y = ymargin; in tp_init_hysteresis()
3495 tp->hysteresis.enabled = (ax->fuzz || ay->fuzz); in tp_init_hysteresis()
3496 if (tp->hysteresis.enabled) in tp_init_hysteresis()