Searched refs:tol (Results 1 – 2 of 2) sorted by relevance
314 public static Matcher<MotionEvent> isAtPoint(final PointF point, final float tol) { in isAtPoint() argument318 return Math.hypot(event.getX() - point.x, event.getY() - point.y) <= tol; in isAtPoint()337 public static Matcher<MotionEvent> isRawAtPoint(final PointF point, final float tol) {341 return Math.hypot(event.getRawX() - point.x, event.getRawY() - point.y) <= tol;
577 tol = _ALIGN_RTOL * sensor_diag[i]578 if err >= tol: