/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 184 return Math.round(self.getTime()/1000);
|
/frameworks/base/tests/CoreTests/android/core/ |
MathTest.java | 542 assertEquals("Failed to round properly - up to odd", 544 assertTrue("Failed to round properly - NaN", Double.isNaN(Math 546 assertEquals("Failed to round properly down to even", 548 assertTrue("Failed to round properly " + 2.5 + " to even", Math 553 * @tests java.lang.Math#round(double) 557 // Test for method long java.lang.Math.round(double) 558 assertEquals("Incorrect rounding of a float", -91, Math.round(-90.89d)); 562 * @tests java.lang.Math#round(float) 566 // Test for method int java.lang.Math.round(float) 567 assertEquals("Incorrect rounding of a float", -91, Math.round(-90.89f)) [all...] |
StrictMathTest.java | 557 assertEquals("Failed to round properly - up to odd", 559 assertTrue("Failed to round properly - NaN", Double.isNaN(StrictMath 561 assertEquals("Failed to round properly down to even", 2.0, StrictMath 563 assertTrue("Failed to round properly " + 2.5 + " to even", StrictMath 568 * @tests java.lang.StrictMath#round(double) 572 // Test for method long java.lang.StrictMath.round(double) 574 -91, StrictMath.round(-90.89d)); 578 * @tests java.lang.StrictMath#round(float) 582 // Test for method int java.lang.StrictMath.round(float) 584 -91, StrictMath.round(-90.89f)) [all...] |
/external/libvpx/vp8/common/x86/ |
postproc_sse2.asm | 119 paddusw xmm3, RD42 ; mm3 += round value 209 paddusw xmm3, RD42 ; mm3 += round value
|
/external/webkit/WebCore/platform/graphics/mac/ |
ComplexTextController.cpp | 47 return static_cast<CGFloat>(round(f)); 477 // First, we round spaces to an adjusted width in all fonts.
|
/frameworks/base/core/java/android/inputmethodservice/ |
Keyboard.java | 655 // Round-up so we don't have any pixels outside the grid 811 // Round it to avoid values like 47.9999 from getting truncated 812 return Math.round(a.getFraction(index, base, base, defValue));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
GcSnapshot.java | 287 rect2.round(mLayerBounds);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
Archive.java | 348 Math.round(getSize() / (1024*1024)),
[all...] |
/external/libvpx/vp8/common/arm/armv6/ |
loopfilter_v6.asm | 408 ;save bottom 3 bits so that we round one side +4 and the other +3 426 ;save bottom 3 bits so that we round one side +4 and the other +3 [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | [all...] |
/external/webkit/SunSpider/tests/parse-only/ |
mootools-1.2.2-core-nc.js | 654 Contains Number Prototypes like limit, round, times, and ceil. 666 round: function(precision){ 668 return Math.round(this * precision) / precision; [all...] |
/external/skia/src/core/ |
SkDraw.cpp | 954 r.round(&mask.fBounds); [all...] |
SkCanvas.cpp | 839 r.round(&ir); [all...] |
/external/webkit/WebKit/android/nav/ |
CachedRoot.cpp | [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/ |
run_chromium_webkit_tests.py | 295 # some tests, we round to the next value that fits exactly [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
StrictMathTest.java | [all...] |
MathTest.java | [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RectFTest.java | 659 method = "round", 666 mRectF.round(rect);
|
/external/protobuf/python/ |
mox.py | 840 places: The number of decimal places to round to. 857 return round(rhs-self._float_value, self._places) == 0 [all...] |
/external/skia/src/gl/ |
SkGLDevice.cpp | 502 bounds.round(&ibounds);
|
/external/webkit/WebCore/inspector/front-end/ |
DataGrid.js | 321 var width = Math.round(100 * widths[columnIdentifier] / totalColumnWidths); [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
GridViewSpecial.java | 555 scrollTo(0, Math.round(scrollPosition * mMaxScrollY)); [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
AvdSelector.java | [all...] |
/external/v8/benchmarks/ |
earley-boyer.js | 420 var f = Math.round(arguments[i] / sc_euclid_gcd(arguments[i], lcm)); 430 // var rounded = Math.round(x * SC_MAX_DECIMALS); 431 // return Math.round(rounded / sc_euclid_gcd(rounded, SC_MAX_DECIMALS)); 435 // var rounded = Math.round(x * SC_MAX_DECIMALS); 436 // return Math.round(SC_MAX_DECIMALS / sc_euclid_gcd(rounded, SC_MAX_DECIMALS)); 446 var sc_round = Math.round; 1306 // every round doubles the size of fill. [all...] |
/external/webkit/SunSpider/tests/v8-v4/ |
v8-earley-boyer.js | 414 var f = Math.round(arguments[i] / sc_euclid_gcd(arguments[i], lcm)); 424 // var rounded = Math.round(x * SC_MAX_DECIMALS); 425 // return Math.round(rounded / sc_euclid_gcd(rounded, SC_MAX_DECIMALS)); 429 // var rounded = Math.round(x * SC_MAX_DECIMALS); 430 // return Math.round(SC_MAX_DECIMALS / sc_euclid_gcd(rounded, SC_MAX_DECIMALS)); 440 var sc_round = Math.round; 1300 // every round doubles the size of fill. [all...] |