Home
last modified time | relevance | path

Searched refs:constrain (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/pexpect/
Dscreen.py46 def constrain (n, min, max): function
107 rs = constrain (rs, 1, self.rows)
108 re = constrain (re, 1, self.rows)
109 cs = constrain (cs, 1, self.cols)
110 ce = constrain (ce, 1, self.cols)
157 r = constrain (r, 1, self.rows)
158 c = constrain (c, 1, self.cols)
176 r = constrain (r, 1, self.rows)
177 c = constrain (c, 1, self.cols)
188 r = constrain (r, 1, self.rows)
[all …]
/external/lldb/test/pexpect-2.4/
Dscreen.py30 def constrain (n, min, max): function
91 rs = constrain (rs, 1, self.rows)
92 re = constrain (re, 1, self.rows)
93 cs = constrain (cs, 1, self.cols)
94 ce = constrain (ce, 1, self.cols)
141 r = constrain (r, 1, self.rows)
142 c = constrain (c, 1, self.cols)
160 r = constrain (r, 1, self.rows)
161 c = constrain (c, 1, self.cols)
172 r = constrain (r, 1, self.rows)
[all …]
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DPopupZoomer.java161 private static float constrain(float amount, float low, float high) { in constrain() method in PopupZoomer
165 private static int constrain(int amount, int low, int high) { in constrain() method in PopupZoomer
269 mPopupScrollX = constrain(mPopupScrollX - x, mMinScrollX, mMaxScrollX); in scroll()
270 mPopupScrollY = constrain(mPopupScrollY - y, mMinScrollY, mMaxScrollY); in scroll()
406 mPopupScrollX = constrain(mPopupScrollX, mMinScrollX, mMaxScrollX); in initDimensions()
407 mPopupScrollY = constrain(mPopupScrollY, mMinScrollY, mMaxScrollY); in initDimensions()
434 time = constrain(time, 0, 1); in onDraw()
493 int alpha = constrain((int) (fractionAnimation * 255), 0, 255); in onDraw()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DDialog.js171 positionX = Number.constrain(positionX, 0, container.offsetWidth - element.offsetWidth);
174 positionY = Number.constrain(positionY, 0, container.offsetHeight - element.offsetHeight);
DSuggestBox.js223 index = Number.constrain(index, 0, this._length - 1);
DSplitView.js606 … return Number.constrain(sidebarSize, preferredSidebarSize, totalSize - preferredMainSize);
613 return Number.constrain(sidebarSize, minSidebarSize, totalSize - minMainSize);
DUIUtils.js966 values[i] = Number.constrain(values[i] + deltas[i], params[i].from, params[i].to);
968 values[i] = Number.constrain(values[i] + deltas[i], params[i].to, params[i].from);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
DTimelinePowerOverview.js47 var start = Number.constrain(times.upperBound(minTime) - 1, 0, last);
50 var end = Number.constrain(times.lowerBound(maxTime), 0, last);
DCountersGraph.js339 … this._minimumIndex = Number.constrain(this.times.upperBound(start) - 1, 0, this.times.length - 1);
342 this._maximumIndex = Number.constrain(this.times.lowerBound(end), 0, this.times.length - 1);
DPaintProfilerView.js218 var stepLeft = Number.constrain(barLeft * this._samplesPerBar, 0, this._log.length - 1);
219 var stepRight = Number.constrain(barRight * this._samplesPerBar, 0, this._log.length - 1);
/external/chromium_org/chrome/browser/resources/chromeos/
Dproxy_settings.css5 /* These additional styles constrain the size of the proxy page to the height of
/external/arduino/hardware/arduino/cores/arduino/
Dwiring.h78 #define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt))) macro
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
DOverviewGrid.js438 left = Number.constrain(left, 0, 1 - newWindowSize);
441 right = Number.constrain(right, newWindowSize, 1);
DFlameChart.js632 …shift = Number.constrain(shift, this._minimumBoundary - bounds.left, this._totalTime + this._minim…
653 …bounds.left = Number.constrain(bounds.left, this._minimumBoundary, this._totalTime + this._minimum…
654 …bounds.right = Number.constrain(bounds.right, this._minimumBoundary, this._totalTime + this._minim…
/external/llvm/test/MC/ARM/
Delf-reloc-02.ll7 ;; The args to llc are there to constrain the codegen only.
Delf-reloc-01.ll7 ;; The args to llc are there to constrain the codegen only.
Delf-reloc-03.ll7 ;; The args to llc are there to constrain the codegen only.
/external/jemalloc/include/jemalloc/internal/
Dsize_classes.sh241 * cannot support more than 256 small size classes. Further constrain NBINS to
/external/checkpolicy/
Dpolicy_scan.l72 constrain { return(CONSTRAIN); }
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DThemeMac.mm409 // Buttons really only constrain height. They respect width.
466 …zoomedSize.setWidth(zoomedRect.width()); // Buttons don't ever constrain width, so the zoomed widt…
704 …zoomedSize.setWidth(zoomedRect.width()); // Buttons don't ever constrain width, so the zoomed widt…
/external/valgrind/main/helgrind/
DREADME_MSMProp2.txt138 The effect of a state Read(VTS,LS) is to constrain all later-observed
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
DCodeMirrorTextEditor.js402 columnNumber = Number.constrain(charNumber, 0, lineLength);
466 columnNumber: Number.constrain(columnNumber, 0, lineLength)
1093 lineNumber = Number.constrain(lineNumber, 0, this._codeMirror.lineCount() - 1);
1096 … columnNumber = Number.constrain(columnNumber, 0, this._codeMirror.getLine(lineNumber).length);
/external/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf1638 constrain process transition
1642 constrain process transition
1646 constrain process dyntransition
1648 constrain { dir file lnk_file sock_file fifo_file chr_file blk_file } { create relabelto relabelfro…
1650 constrain { tcp_socket udp_socket rawip_socket netlink_socket packet_socket unix_stream_socket unix…
/external/llvm/docs/TableGen/
DLangIntro.rst43 help interface designers constrain the input that they allow. Every `value
73 the ``list`` type, for example, to constrain the elements of the list to a
/external/qemu/distrib/jpeg-6b/
Dwizard.doc25 wide compatibility of low-quality files, you can constrain the scaled

12