Lines Matching refs:max

1554 			div.style.top = Math.max(graph.container.scrollTop + 22, y - dy) + 'px';
1562 div.style.left = Math.max(graph.container.scrollLeft + 22, x - dx) + 'px';
1993 return new mxPoint(Math.max(0, Math.round((graph.container.offsetWidth - 34) / graph.view.scale)),
1994 Math.max(0, Math.round((graph.container.offsetHeight - 34) / graph.view.scale)));
2054 var ns = (autoscale) ? Math.max(0.3, Math.min(maxScale || 1, cw / b.width)) : s;
2060 dx = Math.max(dx, 0);
2061 dy = Math.max(dy, 0);
2866 …this.cumulativeZoomFactor = Math.max(0.05, Math.min(this.view.scale * this.cumulativeZoomFactor, 1…
3441 var width = Math.max(bounds.width, graph.scrollTileSize.width * graph.view.scale);
3442 var height = Math.max(bounds.height, graph.scrollTileSize.height * graph.view.scale);
3443 …graph.container.scrollTop = Math.floor(Math.max(0, bounds.y - Math.max(20, (graph.container.client…
3444 …graph.container.scrollLeft = Math.floor(Math.max(0, bounds.x - Math.max(0, (graph.container.client…
3457 … var dy = (graph.pageVisible) ? 0 : Math.max(0, (graph.container.clientHeight - b.height) / 4);
3459 graph.view.setTranslate(Math.floor(Math.max(0,
3901 var effHsplitPosition = Math.max(0, Math.min(this.hsplitPosition, w - this.splitSize - 20));
3927 sidebarFooterHeight = Math.max(0, Math.min(h - tmp - bottom, this.sidebarFooterHeight));
4232 onChange(Math.max(0, initial + ((horizontal) ? (pt.x - start.x) : (start.y - pt.y)) - dx));
5137 geo.width = Math.max(0, geo.width - stepSize);
5141 geo.height = Math.max(0, geo.height - stepSize);
5182 graph.model.add(parent, cell, Math.max(0, index - 1));