Home
last modified time | relevance | path

Searched refs:max (Results 501 – 525 of 1190) sorted by last modified time

1...<<21222324252627282930>>...48

/plugin/diagramsnet/lib/shapes/pid2/
H A DmxPidMisc.js170 h = Math.max(h, 30);
/plugin/diagramsnet/lib/js/diagramly/util/
H A DmxJsCanvas.js770 maxWidth = Math.max(maxWidth, lineWidth[i]);
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DVsdxExport.js126 var hpages = Math.max(1, Math.ceil((bounds.width / sc + x0) / availableWidth));
127 var vpages = Math.max(1, Math.ceil((bounds.height / sc + y0) / availableHeight));
/plugin/diagramsnet/lib/shapes/rack/
H A DmxRack.js70 w = Math.max(w - fontSize * 2, 0);
1158 w = Math.max(w, 20);
1159 h = Math.max(h, 20);
1218 w = Math.max(w, 20);
1219 h = Math.max(h, 20);
/plugin/diagramsnet/lib/js/
H A Dextensions.min.js44 …?.75:1,f=Math.min(f,a.x*c),w=Math.min(w,a.y*c),k=Math.max(k,(a.x+(a.width?a.width:0))*c),A=Math.ma…
322 …F<y.children.length;F++)var ka=y.children[F].geometry,w=Math.max(w,ka.x+ka.width),C=Math.max(C,ka.…
1032 …w)*w);0>f&&(f+=Math.ceil((n.y-c.y/g)/k)*k);var e=Math.max(1,Math.ceil((c.width/g+d)/w)),x=Math.max
1078 …ls.getSizeForString(d,f,w,e));b.blockElem?(U+=k.width,F=Math.min(Math.max(F,U),e),U=0,P=Math.max(P,
1079 k.height),M+=P+H,H=P,P=0):(U+=k.width,F=Math.min(Math.max(F,U),e),P=Math.max(P,k.height),M=Math.max
1085 …ize,fontFamily:A.cellState.style.fontFamily},y,D,C,k);c=k=0;q=Math.max(q,M);e=Math.max(e,F);x=e/2;…
1149 …(a.height||0)):(c=Math.min(a.x,c),g=Math.min(a.y,g),n=Math.max(a.x+(a.width||0),n),d=Math.max(a.y+…
1286max(a,Math.max(b,g)),d=Math.min(a,Math.min(b,g)),k=(n+d)/2;if(n===d)a=d=0;else var e=n-d,d=.5<k?e/…
1624max(n,parseFloat(a[d]["y:Insets"].left)+parseFloat(a[d]["y:Insets"].right)));w=parseFloat(q.colHHe…
1632 …ngth;w++)k.x=c,k.lx=g,n=this.addRow(f[w],a,w&1,n,k,d,b),m=Math.max(k.x,m)}k.x=m;e=Math.max(e,n);a.…
[all …]
H A Dshapes-14-6-5.min.js213max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));d=Math.max(0,Math.min(b,p…
1597 Math.max(0,Math.min(1,(e.y-a.y)/a.height*2)))/100})]};
1616max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1622max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));e=Math.max(0,Math.min(b…
1629max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1739max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1754max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1778max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))…
2323 …Angle",min:0,max:1,defVal:.75},{name:"endAngle",dispName:"End Angle",min:0,max:1,defVal:.25},{name…
2345 Math.max(0,Math.min(a.height/2,e.y-a.y)))/100})]};
[all …]
H A Dshapes.min.js164max(0,Math.min(b,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));d=Math.max(0,Math.min(b,p…
1548 Math.max(0,Math.min(1,(e.y-a.y)/a.height*2)))/100})]};
1567max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1573max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1))));e=Math.max(0,Math.min(b…
1580max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1690max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1705max(0,Math.min(e,parseFloat(mxUtils.getValue(this.style,"dy1",this.dy1)))),c=Math.max(0,Math.min(d…
1729max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"arrowHead",this.arrowHead)))…
2338 …Angle",min:0,max:1,defVal:.75},{name:"endAngle",dispName:"End Angle",min:0,max:1,defVal:.25},{name…
2360 Math.max(0,Math.min(a.height/2,e.y-a.y)))/100})]};
[all …]
/plugin/diagramsnet/lib/js/grapheditor/
H A DEditor.js820 var left = Math.max(1, Math.round((ds.width - w - padding) / 2));
821 var top = Math.max(1, Math.round((dh - h - editorUi.footerHeight) / 3));
947 left = Math.max(1, Math.round((ds.width - w - padding) / 2));
948 top = Math.max(1, Math.round((dh - h - editorUi.footerHeight) / 3));
1561 gridSizeInput.value = Math.max(1, (isNaN(value)) ? graph.getGridSize() : value);
2737 var xe = Math.ceil(Math.max(1, x + w) / pw);
2738 var ye = Math.ceil(Math.max(1, y + h) / ph);
H A DEditorUi.js1554 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';
1994 Math.max(0, Math.round((graph.container.offsetHeight - 34) / graph.view.scale)));
2060 dx = Math.max(dx, 0);
2061 dy = Math.max(dy, 0);
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…
3459 graph.view.setTranslate(Math.floor(Math.max(0,
5137 geo.width = Math.max(0, geo.width - stepSize);
5141 geo.height = Math.max(0, geo.height - stepSize);
[all …]
H A DShapes.js796 dx = Math.max(dx, arcSize);
2367 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size));
2434 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size));
2440 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size));
2446 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size));
2504 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size));
2511 var dx = (fixed) ? Math.max(0, Math.min(w, size)) : w * Math.max(0, Math.min(1, size));
2518 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size));
2525 var dy = (fixed) ? Math.max(0, Math.min(h, size)) : h * Math.max(0, Math.min(1, size));
5462 max = (max != null) ? max : 0.5;
[all …]
H A DSidebar.js264 var bottom = Math.max(b.clientHeight || 0, d.clientHeight);
269 Math.min(bottom - height - 20 /*status bar*/, Math.max(0, (this.editorUi.container.offsetTop +
437 w2 = Math.min(this.maxTooltipWidth, Math.max(width, this.tooltipTitle.scrollWidth + 4));
693 var max = (page + 1) * count;
719 if (i == tmp.length - 1 && results.length == max)
721 success(results.slice(page * count, max), max, true, tmp);
921 count = 4 * Math.max(1, Math.floor(this.container.clientWidth / (this.thumbWidth + 10)));
/plugin/diagramsnet/lib/js/diagramly/
H A DDialogs.js2159 listCell.geometry.width = Math.max(listCell.geometry.width, field.geometry.width);
2255 cells[i].geometry.width = Math.max(cells[i].geometry.width, size.width);
2256 cells[i].geometry.height = Math.max(cells[i].geometry.height, size.height);
4645 (w != null && h != null) ? Math.max(w / img.width, h / img.height) :
7454 x = Math.max(0, Math.min(x, iw - this.table.clientWidth));
7548 x = Math.max(0, Math.min(x, iw - this.table.clientWidth));
7646 x = Math.max(0, Math.min(x, iw - this.table.clientWidth));
8986 var s = Math.min(1, Math.min(editorUi.maxImageSize / Math.max(1, w)),
8987 editorUi.maxImageSize / Math.max(1, h));
12171 editorUi.fileNode.setAttribute('scale', Math.max(0, parseInt(zoomInput.value) / 100));
[all …]
H A DDrawioFile.js445 DrawioFile.prototype.compressReportData = function(data, limit, max) argument
449 if (max != null && data != null && data.length > max)
451 data = data.substring(0, max) + '[...]';
558 DrawioFile.prototype.sendErrorReport = function(title, details, error, max) argument
598 '\n\nData:\n' + data, max);
H A DDriveClient.js532 var left = screenX + Math.max(outerWidth - width, 0) / 2;
533 var top = screenY + Math.max(outerHeight - height, 0) / 2;
H A DDriveFile.js208 Math.max(DriveFile.prototype.autosaveDelay,
H A DEditor.js3356 var max = (mxClient.IS_FF) ? 8192 : 16384;
3358 return Math.min(scale, Math.min(max / w, max / h));
3755 ColorDialog.addRecentColor = function(color, max) argument
4201 {name: 'size', dispName: 'Indent', type: 'float', min: 0, max: 0.5, defVal: 0.1}
4231 {name: 'size', dispName: 'Size', type: 'float', defVal: 0.3, min:0, max:1}
4257 {name: 'size', dispName: 'Size', type: 'float', min:0, max:1, defVal:0.4 }
4954 if (prop.max != null)
4956 input.max = parseFloat(prop.max);
4985 else if (prop.max != null && inputVal > prop.max)
4987 inputVal = prop.max;
[all …]
H A DEditorUi.js672 status.style.left = Math.max(0, x) + 'px';
673 status.style.top = Math.max(0, y + 70) + 'px';
8038 return Math.max(size, 0.1).toFixed(1) + units[i];
9629 var w = Math.max(1, img.width);
9630 var h = Math.max(1, img.height);
9633 var s = Math.min(1, Math.min(maxSize / Math.max(1, w)), maxSize / Math.max(1, h));
9905 var w = Math.max(1, img.width);
9906 var h = Math.max(1, img.height);
9909 var s = Math.min(1, Math.min(maxSize / Math.max(1, w)), maxSize / Math.max(1, h));
11093 hl.style.width = Math.max(0, w - 3) + 'px';
[all …]
H A DGitLabClient.js336 var repoPos = Math.max(refPos - 1, 0);
385 var repoPos = Math.max(refPos - 1, 0);
535 var repoPos = Math.max(refPos - 1, 0);
H A DGraphViewer.js798 this.toolbar.style.width = Math.max(this.minToolbarWidth, container.offsetWidth) + 'px';
809 this.toolbar.style.width = Math.max(this.minToolbarWidth, container.offsetWidth) + 'px';
856 this.updateContainerHeight(container, Math.max(this.minHeight,
905 …this.updateContainerHeight(container, Math.max(this.minHeight, bounds.height + 2 * this.graph.bord…
1588 Math.max(this.minToolbarWidth, container.offsetWidth) + 'px';
/plugin/diagramsnet/lib/js/jquery/
H A Djquery-3.3.1.min.js2max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r…
/plugin/diagramsnet/lib/js/jscolor/
H A Djscolor.js502 var v = Math.max(Math.max(r,g),b);
/plugin/diagramsnet/lib/js/onedrive/
H A DOneDriveOrig.js2 …){var e=window.screenX+Math.max(window.outerWidth-1024,0)/2;return["width=1024","height=650","top=…
/plugin/diagramsnet/lib/js/rough/
H A Drough.js.modified126 …return e[0] <= Math.max(t[0], s[0]) && e[0] >= Math.min(t[0], s[0]) && e[1] <= Math.max(t[1], s[1]…
156 t < 0 && (t = 4 * e.strokeWidth), t = Math.max(t, .1);
168 ymax: Math.max(_e4[1], _n2[1]),
306 var a = Math.max(5, .1 * e(o)),
425 o < 0 && (o = 4 * s.strokeWidth), o = Math.max(o, .1);
1154 o = Math.max(s.curveStepCount, s.curveStepCount / Math.sqrt(200) * n),
1459 return o = Math.max(0, Math.min(1, o)), N(t, Q(e, s, o));
H A Drough.js.orig1max(t[0],s[0])&&e[0]>=Math.min(t[0],s[0])&&e[1]<=Math.max(t[1],s[1])&&e[1]>=Math.min(t[1],s[1])}fu…
H A Drough.min.js8 …tion(d,l,p){var h=this.length||0;0>l&&(l=Math.max(0,h+l));if(null==p||p>h)p=h;p=Number(p);0>p&&(p=…
21 …turn 1==e%2}function v(b,a,e){return a[0]<=Math.max(b[0],e[0])&&a[0]>=Math.min(b[0],e[0])&&a[1]<=M…
22 …ar b=function(){var a=e.hachureGap;0>a&&(a=4*e.strokeWidth);for(var a=Math.max(a,.1),b=[],k=0;k<c.…
23 ymax:Math.max(g[1],d[1]),x:n===g[1]?g[0]:d[0],islope:(d[0]-g[0])/(d[1]-g[1])})}}if(b.sort(function(…
36 …oncat(c)}return{type:"path",ops:e}}function aa(b,a,e){var c=2*Math.PI/Math.max(e.curveStepCount,e.…
48 l[0])+(h[1]-l[1])*(t[1]-l[1]))/p,h=(p=Math.max(0,Math.min(1,p)),Q(h,E(l,t,p))));h>g&&(g=h,n=m)}retu…
50 …1][1])/2)}},{key:"splitOnIntersections",value:function(a,e){for(var c=Math.max(5,.1*h(e)),b=[],d=0…
53 …:function(a,e){var c=[],b=e.hachureGap;0>b&&(b=4*e.strokeWidth);var b=Math.max(b,.1),d=e.fillWeigh…

1...<<21222324252627282930>>...48