Lines Matching refs:abs

93       return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number));
467 if (Math.abs(start.point.x - me.getGraphX()) > tol ||
468 Math.abs(start.point.y - me.getGraphY()) > tol)
2070 Math.abs(first.x - mxEvent.getClientX(evt)) < tol &&
2071 Math.abs(first.y - mxEvent.getClientY(evt)) < tol;
3618 … o: (o > 0 ? "-" : "+") + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4),
6595 if (pt != null && (Math.abs(pt.x - p0.x) > thresh ||
6596 Math.abs(pt.y - p0.y) > thresh) &&
6597 (Math.abs(pt.x - p1.x) > thresh ||
6598 Math.abs(pt.y - p1.y) > thresh) &&
6599 (Math.abs(pt.x - p2.x) > thresh ||
6600 Math.abs(pt.y - p2.y) > thresh) &&
6601 (Math.abs(pt.x - p3.x) > thresh ||
6602 Math.abs(pt.y - p3.y) > thresh))
9181 var dx = Math.abs(this.startX - me.getGraphX());
9182 var dy = Math.abs(this.startY - me.getGraphY());
9236 (((Math.abs(this.scrollLeft - graph.container.scrollLeft) < tol &&
9237 Math.abs(this.scrollTop - graph.container.scrollTop) < tol) &&
9263 (Math.abs(this.scrollLeft - graph.container.scrollLeft) < tol &&
9264 Math.abs(this.scrollTop - graph.container.scrollTop) < tol) &&
9265 (Math.abs(this.startX - me.getGraphX()) < tol &&
9266 Math.abs(this.startY - me.getGraphY()) < tol))
12233 if ((Math.abs(this.state.x - px) < b.width / 2) ||
12234 (Math.abs(this.state.y - py) < b.height / 2) ||
12235 (Math.abs(this.state.x + this.state.width - px) < b.width / 2) ||
12236 (Math.abs(this.state.y + this.state.height - py) < b.height / 2))
12610 if (Math.abs(dx) < this.graph.tolerance)
12615 if (Math.abs(dy) < this.graph.tolerance)
12681 if (this.div != null || Math.abs(dx) > tol || Math.abs(dy) > tol)