HomeSort by relevance Sort by last modified time
    Searched refs:minSize (Results 51 - 75 of 135) sorted by null

1 23 4 5 6

  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/host/
InspectorFrontendHost.js 124 * @param {{width: number, height: number}} minSize
126 setContentsResizingStrategy: function(insets, minSize) { },
364 * @param {{width: number, height: number}} minSize
366 setContentsResizingStrategy: function(insets, minSize)
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
FontCacheSkiaWin.cpp 343 unsigned minSize;
355 result->setMinSizeForAntiAlias(entry.minSize);
  /external/chromium_org/third_party/flot/
jquery.flot.selection.min.js 12 minSize: number of pixels
22 "minSize" is the minimum size a selection can be in pixels. This value can
27 minute, setting "minSize" to 1 will not make the minimum selection size 1
28 minute, but rather 1 pixel. Note also that setting "minSize" to 0 will prevent
48 mouse to remove the selection. As stated above, setting "minSize" to 0 will
79 */(function(e){function t(t){function s(e){n.active&&(h(e),t.getPlaceholder().trigger("plotselecting",[a()]))}function o(t){if(t.which!=1)return;document.body.focus(),document.onselectstart!==undefined&&r.onselectstart==null&&(r.onselectstart=document.onselectstart,document.onselectstart=function(){return!1}),document.ondrag!==undefined&&r.ondrag==null&&(r.ondrag=document.ondrag,document.ondrag=function(){return!1}),c(n.first,t),n.active=!0,i=function(e){u(e)},e(document).one("mouseup",i)}function u(e){return i=null,document.onselectstart!==undefined&&(document.onselectstart=r.onselectstart),document.ondrag!==undefined&&(document.ondrag=r.ondrag),n.active=!1,h(e),m()?f():(t.getPlaceholder().trigger("plotunselected",[]),t.getPlaceholder().trigger("plotselecting",[null])),!1}function a(){if(!m())return null;if(!n.show)return null;var r={},i=n.first,s=n.second;return e.each(t.getAxes(),function(e,t){if(t.used){var n=t.c2p(i[t.direction]),o=t.c2p(s[t.direction]);r[e]={from:Math.min(n,o),to:Math.max(n,o)}}}),r}function f(){var e=a();t.getPlaceholder().trigger("plotselected",[e]),e.xaxis&&e.yaxis&&t.getPlaceholder().trigger("selected",[{x1:e.xaxis.from,y1:e.yaxis.from,x2:e.xaxis.to,y2:e.yaxis.to}])}function l(e,t,n){return t<e?e:t>n?n:t}function c(e,r){var i=t.getOptions(),s=t.getPlaceholder().offset(),o=t.getPlotOffset();e.x=l(0,r.pageX-s.left-o.left,t.width()),e.y=l(0,r.pageY-s.top-o.top,t.height()),i.selection.mode=="y"&&(e.x=e==n.first?0:t.width()),i.selection.mode=="x"&&(e.y=e==n.first?0:t.height())}function h(e){if(e.pageX==null)return;c(n.second,e),m()?(n.show=!0,t.triggerRedrawOverlay()):p(!0)}function p(e){n.show&&(n.show=!1,t.triggerRedrawOverlay(),e||t.getPlaceholder().trigger("plotunselected",[]))}function d(e,n){var r,i,s,o,u=t.getAxes();for(var a in u){r=u[a];if(r.direction==n){o=n+r.n+"axis",!e[o]&&r.n==1&&(o=n+"axis");if(e[o]){i=e[o].from,s=e[o].to;break}}}e[o]||(r=n=="x"?t.getXAxes()[0]:t.getYAxes()[0],i=e[n+"1"],s=e[n+"2"]);if(i!=null&&s!=null&&i>s){var f=i;i=s,s=f}return{from:i,to:s,axis:r}}function v(e,r){var i,s,o=t.getOptions();o.selection.mode=="y"?(n.first.x=0,n.second.x=t.width()):(s=d(e,"x"),n.first.x=s.axis.p2c(s.from),n.second.x=s.axis.p2c(s.to)),o.selection.mode=="x"?(n.first.y=0,n.second.y=t.height()):(s=d(e,"y"),n.first.y=s.axis.p2c(s.from),n.second.y=s.axis.p2c(s.to)),n.show=!0,t.triggerRedrawOverlay(),!r&&m()&&f()}function m(){var e=t.getOptions().selection.minSize;return Math.abs(n.second.x-n.first.x)>=e&&Math.abs(n.second.y-n.first.y)>=e}var n={first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},r={},i=null;t.clearSelection=p,t.setSelection=v,t.getSelection=a,t.hooks.bindEvents.push(function(e,t){var n=e.getOptions();n.selection.mode!=null&&(t.mousemove(s),t.mousedown(o))}),t.hooks.drawOverlay.push(function(t,r){if(n.show&&m()){var i=t.getPlotOffset(),s=t.getOptions();r.save(),r.translate(i.left,i.top);var o=e.color.parse(s.selection.color);r.strokeStyle=o.scale("a",.8).toString(),r.lineWidth=1,r.lineJoin=s.selection.shape,r.fillStyle=o.scale("a",.4).toString();var u=Math.min(n.first.x,n.second.x)+.5,a=Math.min(n.first.y,n.second.y)+.5,f=Math.abs(n.second.x-n.first.x)-1,l=Math.abs(n.second.y-n.first.y)-1;r.fillRect(u,a,f,l),r.strokeRect(u,a,f,l),r.restore()}}),t.hooks.shutdown.push(function(t,n){n.unbind("mousemove",s),n.unbind("mousedown",o),i&&e(document).unbind("mouseup",i)})}e.plot.plugins.push({init:t,options:{selection:{mode:null,color:"#e8cfac",shape:"round",minSize:5}},name:"selection",version:"1.1"})})(jQuery)
  /external/qemu/android/base/
String.cpp 226 size_t minSize = (newSize < kMinCapacity) ? kMinCapacity : newSize;
231 if (minSize == kMinCapacity) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
AccordionControl.java 275 Point minSize = content.computeSize(r.width, SWT.DEFAULT);
276 scrolledComposite.setMinSize(minSize);
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebSettingsTest.java 359 int minSize = mSettings.getDefaultFontSize();
360 assertTrue(minSize > 0);
361 assertTrue(minSize < maxSize);
380 int minSize = mSettings.getDefaultFixedFontSize();
381 assertTrue(minSize > 0);
382 assertTrue(minSize < maxSize);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/heap/
Heap.cpp 644 bool ThreadHeap<Header>::allocateFromFreeList(size_t minSize)
649 if (bucketSize < minSize)
656 ASSERT(currentAllocationPoint() && remainingAllocationSize() >= minSize);
665 void ThreadHeap<Header>::ensureCurrentAllocation(size_t minSize, const GCInfo* gcInfo)
667 ASSERT(minSize >= allocationGranularity);
668 if (remainingAllocationSize() >= minSize)
675 if (allocateFromFreeList(minSize))
677 if (coalesce(minSize) && allocateFromFreeList(minSize))
680 bool success = allocateFromFreeList(minSize);
    [all...]
  /external/chromium_org/third_party/icu/source/test/cintltst/
cldrtest.c 117 int32_t minSize;
121 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode);
124 if (minSize > subBundleSize) {
125 minSize = subBundleSize;
132 for (idx = 0; idx < minSize && sameArray; idx++) {
167 int32_t minSize = ures_getSize(subRootBundle);
171 if (minSize > ures_getSize(subBundle)) {
172 minSize = ures_getSize(subBundle);
196 for (idx = 0; idx < minSize; idx++) {
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cldrtest.c 117 int32_t minSize;
121 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode);
124 if (minSize > subBundleSize) {
125 minSize = subBundleSize;
132 for (idx = 0; idx < minSize && sameArray; idx++) {
167 int32_t minSize = ures_getSize(subRootBundle);
171 if (minSize > ures_getSize(subBundle)) {
172 minSize = ures_getSize(subBundle);
196 for (idx = 0; idx < minSize; idx++) {
    [all...]
  /external/deqp/modules/gles2/functional/
es2fBufferWriteTests.cpp 432 const int minSize = 12;
469 const int size = rnd.getInt(minSize, maxSize);
488 const int size = de::clamp(deRoundFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.7f), 3.0f)), minSize, m_curSize);
664 const int minSize = 12;
677 spec->size = rnd.getInt(minSize, maxSize);
es2fUniformApiTests.cpp 831 // \note minSize and maxSize are for arrays and can be distinct since implementations are allowed, but not required, to trim the inactive end indices of arrays.
832 int minSize;
838 : name(name_), minSize(minS), maxSize(maxS), type(type_), isUsedInShader(used) { DE_ASSERT(minSize <= maxSize); }
840 : name(name_), minSize(1), maxSize(1), type(type_), isUsedInShader(used) {}
    [all...]
  /external/deqp/modules/gles3/functional/
es3fBufferWriteTests.cpp 432 const int minSize = 12;
481 const int size = rnd.getInt(minSize, maxSize);
500 const int size = de::clamp(deRoundFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.7f), 3.0f)), minSize, m_curSize);
664 const int minSize = 12;
677 spec->size = rnd.getInt(minSize, maxSize);
es3fFragmentOutputTests.cpp 321 IVec2 minSize(0x7fffffff, 0x7fffffff);
324 minSize.x() = de::min(minSize.x(), i->width);
325 minSize.y() = de::min(minSize.y(), i->height);
327 return minSize;
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPSerializerRDF.java 143 int minSize = outputStream.getBytesWritten() + tailLength * unicodeSize;
144 if (minSize > padding)
149 padding -= minSize; // Now the actual amount of padding to add.
    [all...]
  /frameworks/native/services/sensorservice/
vec.h 51 const size_t minSize = min(SIZE, S);
53 for (size_t i=0 ; i<minSize ; i++)
55 for (size_t i=minSize ; i<maxSize ; i++)
  /hardware/libhardware/tests/camera2/
CameraMultiStreamTests.cpp 127 int32_t minSize = INT_MAX, tempSize;
130 if (minSize > tempSize) {
131 minSize = tempSize;
  /external/deqp/modules/glshared/
glsTextureBufferCase.cpp 448 const size_t minSize = 4*16;
449 const size_t size = de::max<size_t>(minSize, size_t((texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7 + 0.3 * rng.getFloat())));
471 const size_t minSize = 4*16;
472 const size_t size = de::max<size_t>(minSize, size_t((texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7 + 0.3 * rng.getFloat())));
505 const size_t minSize = 4*16;
506 const size_t size = de::max<size_t>(minSize, size_t((texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7 + 0.3 * rng.getFloat())));
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkPictureFlat.h 577 SkChunkFlatController(size_t minSize)
578 : fHeap(minSize)
  /external/skia/src/core/
SkPictureFlat.h 574 SkChunkFlatController(size_t minSize)
575 : fHeap(minSize)
  /external/deqp/modules/gles31/functional/
es31fProgramUniformTests.cpp 886 // \note minSize and maxSize are for arrays and can be distinct since implementations are allowed, but not required, to trim the inactive end indices of arrays.
887 int minSize;
893 : name(name_), minSize(minS), maxSize(maxS), type(type_), isUsedInShader(used) { DE_ASSERT(minSize <= maxSize); }
895 : name(name_), minSize(1), maxSize(1), type(type_), isUsedInShader(used) {}
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderThemeChromiumMac.h 131 void setControlSize(NSCell*, const IntSize* sizes, const IntSize& minSize, float zoomLevel = 1.0f);
  /external/chromium_org/third_party/skia/src/ports/
SkFontConfigParser_android.cpp 500 static const size_t minSize = strlen(LOCALE_FALLBACK_FONTS_PREFIX) +
504 if (fileName.size() >= minSize &&
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CachingPipeline.java 360 float minSize = Math.min(source.getWidth(), source.getHeight());
362 float scale = maxSize / minSize;
  /packages/apps/Settings/src/com/android/settings/widget/
ChartSweepView.java 241 public void setLabelMinSize(int minSize) {
242 mLabelMinSize = minSize;
  /art/runtime/hprof/
hprof.cc 352 size_t minSize = length_ + nmore;
353 if (minSize > alloc_length_) {
355 if (newAllocLen < minSize) {
    [all...]

Completed in 6514 milliseconds

1 23 4 5 6