Searched refs:constrain (Results 1 - 11 of 11) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DDialog.js163 positionX = Number.constrain(positionX, 0, window.innerWidth - element.offsetWidth);
166 positionY = Number.constrain(positionY, 0, window.innerHeight - element.offsetHeight);
H A DSidebarView.js125 return Number.constrain(size, minSidebarSize, this.totalSize() * (100 - minMainSizePercent) / 100);
H A DSidebarOverlay.js103 var width = Number.constrain(newWidth, this._minimalWidth, this._totalWidth);
H A DDrawer.js67 return Number.constrain(height, Preferences.minConsoleHeight, window.innerHeight - this._mainElement.totalOffsetTop() - Preferences.minConsoleHeight);
218 height = Number.constrain(height, Preferences.minConsoleHeight, window.innerHeight - this._mainElement.totalOffsetTop() - Preferences.minConsoleHeight);
H A DSuggestBox.js221 index = Number.constrain(index, 0, this._length - 1);
H A DFlameChart.js535 anchorBox.width = Number.constrain(anchorBox.width, 0, this._canvas.width - anchorBox.x);
H A Dutilities.js186 Number.constrain = function(num, min, max)
H A DHeapSnapshotView.js685 height = Number.constrain(height, Preferences.minConsoleHeight, this.element.clientHeight - Preferences.minConsoleHeight);
H A DDataGrid.js1030 dragPoint = Number.constrain(dragPoint, leftMinimum, rightMaximum);
H A DTimelinePanel.js210 top = Number.constrain(top, overviewHeight + sectionMinHeight, this.element.offsetHeight - sectionMinHeight);
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tkextlib/vu/
H A Ddial.rb42 def constrain(val = None) method in class:Tk
43 num_or_str(tk_call(@path, 'constrain', val))
72 tk_call(@path, 'label', '-constrain', val, str, *args)
94 tk_call(@path, 'tag', '-constrain', val, str, *args)

Completed in 702 milliseconds