Lines Matching defs:movement

144     atp_sysctl_scale_factor_handler, "IU", "movement scale factor");
149 "the small movement black-hole for filtering noise");
151 * The movement threshold for a stroke; this is the maximum difference
160 * Strokes which accumulate at least this amount of absolute movement
167 "strokes with at least this amt. of movement are considered slides");
300 /* Fields containing information about movement. */
301 int delta_mickeys; /* change in location (un-smoothened movement)*/
303 int movement; /* current smoothened movement */
333 u_int cum_movement; /* cum. absolute movement so far */
438 /* movement detection */
901 * *not* be interpreted as a movement.
911 * Disregard the component's movement if its cumulative
973 * Return TRUE if any movement is detected.
981 boolean_t movement = FALSE;
1039 atp_advance_stroke_state(sc, stroke, &movement);
1099 stroke->components[X].movement,
1107 stroke->components[Y].movement,
1115 return (movement);
1134 * cumulative movement, then it is considered a 'slide'.
1228 * 'movement' as a side-effect.
1232 boolean_t *movement)
1246 *movement = TRUE;
1251 /* Convert touch strokes to slides upon detecting movement or age. */
1462 return; /* returning (numerator == 0) will imply zero movement*/
1465 * In order to determine the overall movement scale factor,
1484 * Compute a smoothened value for the stroke's movement from
1496 * threshold. This has the effect of filtering away movement
1502 } else { /* large movement */
1508 /* Get the scale ratio and smoothen movement. */
1511 stroke->components[X].movement = 0;
1512 stroke->components[Y].movement = 0;
1515 stroke->components[X].movement =
1517 stroke->components[Y].movement =
1521 abs(stroke->components[X].movement) +
1522 abs(stroke->components[Y].movement);
1525 return ((stroke->components[X].movement != 0) ||
1526 (stroke->components[Y].movement != 0));
1664 * limited information--they encode movement deltas and button
1877 if ((stroke->components[X].movement) ||
1878 (stroke->components[Y].movement)) {
1879 dx += stroke->components[X].movement;
1880 dy += stroke->components[Y].movement;
1885 * Disregard movement if multiple