Lines Matching refs:max

98       return Math.min(Math.max(len, 0), maxSafeInteger);
4436 geo.translate(Math.round(dx * Math.max(0, Math.min(1, (tmp.x - state.x) / state.width))),
4437 Math.round(dy * Math.max(0, Math.min(1, (tmp.y - state.y) / state.height))));
4644 factor = Math.max(0.01, Math.min(this.view.scale * factor, 160)) / this.view.scale;
4707 Math.max((ch - bounds.height * scale) / 2 + border / 2, 0);
4709 Math.max((cw - bounds.width * scale) / 2 + border / 2, 0);
6387 sw = Math.max(sw, this.layoutRow(rows[i], pos, row.height, tw, lastCells));
8962 dx = Math.max(dx, layout.x * page.width);
8963 dy = Math.max(dy, layout.y * page.height);
8979 var x = this.snap(Math.round(Math.max(pt.x, bds.x / view.scale - view.translate.x +
8981 … var y = this.snap(Math.round(Math.max(pt.y, (bds.y + bds.height) / view.scale - view.translate.y +
9548 var max = null;
9560 max = (max != null) ? Math.max(max, tmp) : tmp;
9579 max = max / s - ((horizontal) ? t.x : t.y);
9584 var dt = (max - min) / (vertices.length - 1);
9764 var w = Math.max(1, Math.ceil(bounds.width * s) + 2 * border) +
9766 var h = Math.max(1, Math.ceil(bounds.height * s) + 2 * border) +
10499 width = Math.max(width, geo.width);
10729 function short(str, max) argument
10731 if (str.length > max)
10733 str = str.substring(0, Math.round(max / 2)) + '...' +
10734 str.substring(str.length - Math.round(max / 4));
11968 dx = Math.max(Graph.minTableColumnWidth - g.width,
12043 dy = Math.max(Graph.minTableRowHeight - bounds.height,
12390 this.hint.style.top = (Math.max(me.getGraphY(), point.y) + Editor.hintOffset) + 'px';
12732 this.div.style.width = Math.max(0, this.width) + 'px';
12745 this.secondDiv.style.height = Math.max(0, this.height) + 'px';
13293 b = Math.max(b, tb.y + tb.height);
13296 …this.linkHint.style.left = Math.max(0, Math.round(rs.x + (rs.width - this.linkHint.clientWidth) / …
13377 …this.linkHint.style.left = Math.max(0, Math.round(b.x + (b.width - this.linkHint.clientWidth) / 2)…