HomeSort by relevance Sort by last modified time
    Searched refs:round (Results 326 - 350 of 804) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/test/java/libcore/sqlite/
OldDatabaseTest.java 340 System.out.println("Round 2 Error: "+s);
371 // System.out.println("Round 2 Error"+s);
454 System.out.println("Round 2 Error"+s);
570 assertTrue(Math.round(funcVal) == Math.round(sinusVal));
629 assertSame(Math.round(Math.sin(input)), Math.round(Double.parseDouble(val)));
642 assertSame(Math.round(Math.sin(input)), Math.round(Double.parseDouble(val)));
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/js/
background.js 272 defaultLeft: Math.round(window.screen.availWidth * 0.1),
273 defaultTop: Math.round(window.screen.availHeight * 0.1),
274 defaultWidth: Math.round(window.screen.availWidth * 0.8),
275 defaultHeight: Math.round(window.screen.availHeight * 0.8),
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
bisect-builds 252 my ($nightlies, $revision, $round) = @_;
271 return ($round eq "floor") ? $lowIndex : $highIndex;
  /external/chromium_org/third_party/flot/
jquery.flot.selection.min.js 1 (function(a){function b(k){var p={first:{x:-1,y:-1},second:{x:-1,y:-1},show:false,active:false};var m={};var r=null;function e(s){if(p.active){l(s);k.getPlaceholder().trigger("plotselecting",[g()])}}function n(s){if(s.which!=1){return}document.body.focus();if(document.onselectstart!==undefined&&m.onselectstart==null){m.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(document.ondrag!==undefined&&m.ondrag==null){m.ondrag=document.ondrag;document.ondrag=function(){return false}}d(p.first,s);p.active=true;r=function(t){j(t)};a(document).one("mouseup",r)}function j(s){r=null;if(document.onselectstart!==undefined){document.onselectstart=m.onselectstart}if(document.ondrag!==undefined){document.ondrag=m.ondrag}p.active=false;l(s);if(f()){i()}else{k.getPlaceholder().trigger("plotunselected",[]);k.getPlaceholder().trigger("plotselecting",[null])}return false}function g(){if(!f()){return null}var u={},t=p.first,s=p.second;a.each(k.getAxes(),function(v,w){if(w.used){var y=w.c2p(t[w.direction]),x=w.c2p(s[w.direction]);u[v]={from:Math.min(y,x),to:Math.max(y,x)}}});return u}function i(){var s=g();k.getPlaceholder().trigger("plotselected",[s]);if(s.xaxis&&s.yaxis){k.getPlaceholder().trigger("selected",[{x1:s.xaxis.from,y1:s.yaxis.from,x2:s.xaxis.to,y2:s.yaxis.to}])}}function h(t,u,s){return u<t?t:(u>s?s:u)}function d(w,t){var v=k.getOptions();var u=k.getPlaceholder().offset();var s=k.getPlotOffset();w.x=h(0,t.pageX-u.left-s.left,k.width());w.y=h(0,t.pageY-u.top-s.top,k.height());if(v.selection.mode=="y"){w.x=w==p.first?0:k.width()}if(v.selection.mode=="x"){w.y=w==p.first?0:k.height()}}function l(s){if(s.pageX==null){return}d(p.second,s);if(f()){p.show=true;k.triggerRedrawOverlay()}else{q(true)}}function q(s){if(p.show){p.show=false;k.triggerRedrawOverlay();if(!s){k.getPlaceholder().trigger("plotunselected",[])}}}function c(s,w){var t,y,z,A,x=k.getAxes();for(var u in x){t=x[u];if(t.direction==w){A=w+t.n+"axis";if(!s[A]&&t.n==1){A=w+"axis"}if(s[A]){y=s[A].from;z=s[A].to;break}}}if(!s[A]){t=w=="x"?k.getXAxes()[0]:k.getYAxes()[0];y=s[w+"1"];z=s[w+"2"]}if(y!=null&&z!=null&&y>z){var v=y;y=z;z=v}return{from:y,to:z,axis:t}}function o(t,s){var v,u,w=k.getOptions();if(w.selection.mode=="y"){p.first.x=0;p.second.x=k.width()}else{u=c(t,"x");p.first.x=u.axis.p2c(u.from);p.second.x=u.axis.p2c(u.to)}if(w.selection.mode=="x"){p.first.y=0;p.second.y=k.height()}else{u=c(t,"y");p.first.y=u.axis.p2c(u.from);p.second.y=u.axis.p2c(u.to)}p.show=true;k.triggerRedrawOverlay();if(!s&&f()){i()}}function f(){var s=5;return Math.abs(p.second.x-p.first.x)>=s&&Math.abs(p.second.y-p.first.y)>=s}k.clearSelection=q;k.setSelection=o;k.getSelection=g;k.hooks.bindEvents.push(function(t,s){var u=t.getOptions();if(u.selection.mode!=null){s.mousemove(e);s.mousedown(n)}});k.hooks.drawOverlay.push(function(v,D){if(p.show&&f()){var t=v.getPlotOffset();var s=v.getOptions();D.save();D.translate(t.left,t.top);var z=a.color.parse(s.selection.color);D.strokeStyle=z.scale("a",0.8).toString();D.lineWidth=1;D.lineJoin="round";D.fillStyle=z.scale("a",0.4).toString();var B=Math.min(p.first.x,p.second.x),A=Math.min(p.first.y (…)
  /external/chromium_org/third_party/jinja2/
filters.py 558 just the other way round. It returns a list of lists with the
588 """Round the number to a given precision. The first
600 {{ 42.55|round }}
602 {{ 42.55|round(1, 'floor') }}
610 {{ 42.55|round|int }}
616 return round(value, precision)
715 way round.
797 'round': do_round,
  /external/chromium_org/v8/test/webkit/fast/js/
number-tofixed.js 26 '<a href="https://bugs.webkit.org/show_bug.cgi?id=5307">5307: Number.toFixed does not round 0.5 up</a>' +
  /external/chromium_org/v8/test/webkit/
toString-elision-trailing-comma.js 25 "This test checks that toString() round-trip on a function that has a array with elision does not remove a comma."
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
TerrainGrid.java 292 gridOffset[0] = Math.round(camCell.x * (size / 2));
293 gridOffset[1] = Math.round(camCell.z * (size / 2));
  /external/libvpx/libvpx/vp8/common/x86/
subpixel_ssse3.asm 942 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value
945 paddw xmm4, [GLOBAL(rd)] ; xmm4 += round value
966 paddw xmm6, [GLOBAL(rd)] ; xmm6 += round value
969 paddw xmm4, [GLOBAL(rd)] ; xmm4 += round value
981 paddw xmm5, [GLOBAL(rd)] ; xmm5 += round value
984 paddw xmm7, [GLOBAL(rd)] ; xmm7 += round value
    [all...]
  /external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
entropy_coding.c 177 WebRtc_Word16 round, shftVal = 0, sh; local
188 round = 32;
192 round = 256;
201 CorrQ11[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, tmpGain) + round, shftVal);
249 WebRtc_Word16 round, shftVal = 0, sh; local
261 round = 32;
265 round = 256;
274 CorrQ11[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, tmpGain) + round, shftVal);
    [all...]
  /frameworks/base/core/java/android/widget/
AbsSeekBar.java 196 setKeyProgressIncrement(Math.max(1, Math.round((float) getMax() / 20)));
538 final int increment = Math.max(1, Math.round((float) getMax() / 5));
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 185 int w = Math.round(scale * width);
186 int h = Math.round(scale * height);
254 * request is 3. So we round up the sample size to avoid OOM.
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiDevice.java 137 p.x = Math.round(dpx);
138 p.y = Math.round(dpy);
  /frameworks/uiautomator/src/com/android/uiautomator/core/
UiDevice.java 137 p.x = Math.round(dpx);
138 p.y = Math.round(dpy);
  /libcore/luni/src/main/java/java/lang/
Math.java 349 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)}
660 * <li>{@code round(+0.0) = +0.0}</li>
661 * <li>{@code round(-0.0) = +0.0}</li>
662 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li>
663 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li>
664 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li>
665 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li>
666 * <li>{@code round(NaN) = +0.0}</li>
673 public static long round(double d) method in class:Math
700 public static int round(float f) { method in class:Math
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
GalleryUtils.java 113 return Math.round(dpToPixel((float) dp));
118 return Math.round(dpToPixel(meter * 39.37f * 160));
  /packages/apps/LegacyCamera/src/com/android/camera/
FocusManager.java 254 int x = Math.round(e.getX());
255 int y = Math.round(e.getY());
  /packages/apps/Mms/src/com/android/mms/util/
ThumbnailManager.java 404 int width = Math.round(bitmap.getWidth() * scale);
405 int height = Math.round(bitmap.getHeight() * scale);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/
mathcalls.h 304 /* Round X to integral value in floating-point format using current
308 /* Round X to nearest integral value, rounding halfway cases away from
310 __MATHCALLX (round,, (_Mdouble_ __x), (__const__));
312 /* Round X to the integral value in floating-point format nearest but
324 /* Round X to nearest integral value according to current rounding
329 /* Round X to nearest integral value, rounding halfway cases away from
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
tgmath.h 347 /* Round X to integral valuein floating-point format using current
351 /* Round X to nearest integral value, rounding halfway cases away from
353 #define round(Val) __TGMATH_UNARY_REAL_ONLY (Val, round) macro
355 /* Round X to the integral value in floating-point format nearest but
365 /* Round X to nearest integral value according to current rounding
370 /* Round X to nearest integral value, rounding halfway cases away from
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/lib/gcc/i686-linux/4.6.x-google/include-fixed/
tgmath.h 356 /* Round X to integral valuein floating-point format using current
360 /* Round X to nearest integral value, rounding halfway cases away from
362 #define round(Val) __TGMATH_UNARY_REAL_ONLY (Val, round) macro
364 /* Round X to the integral value in floating-point format nearest but
374 /* Round X to nearest integral value according to current rounding
379 /* Round X to nearest integral value, rounding halfway cases away from
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/
mathcalls.h 304 /* Round X to integral value in floating-point format using current
308 /* Round X to nearest integral value, rounding halfway cases away from
310 __MATHCALLX (round,, (_Mdouble_ __x), (__const__));
312 /* Round X to the integral value in floating-point format nearest but
324 /* Round X to nearest integral value according to current rounding
329 /* Round X to nearest integral value, rounding halfway cases away from
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
tgmath.h 347 /* Round X to integral valuein floating-point format using current
351 /* Round X to nearest integral value, rounding halfway cases away from
353 #define round(Val) __TGMATH_UNARY_REAL_ONLY (Val, round) macro
355 /* Round X to the integral value in floating-point format nearest but
365 /* Round X to nearest integral value according to current rounding
370 /* Round X to nearest integral value, rounding halfway cases away from
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/lib/gcc/x86_64-linux/4.6.x-google/include-fixed/
tgmath.h 356 /* Round X to integral valuein floating-point format using current
360 /* Round X to nearest integral value, rounding halfway cases away from
362 #define round(Val) __TGMATH_UNARY_REAL_ONLY (Val, round) macro
364 /* Round X to the integral value in floating-point format nearest but
374 /* Round X to nearest integral value according to current rounding
379 /* Round X to nearest integral value, rounding halfway cases away from
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/
mathcalls.h 304 /* Round X to integral value in floating-point format using current
308 /* Round X to nearest integral value, rounding halfway cases away from
310 __MATHCALLX (round,, (_Mdouble_ __x), (__const__));
312 /* Round X to the integral value in floating-point format nearest but
324 /* Round X to nearest integral value according to current rounding
329 /* Round X to nearest integral value, rounding halfway cases away from

Completed in 788 milliseconds

<<11121314151617181920>>