/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
shell.js | 151 if ( Math.abs(actual-expect) < 0.0000001 ) { 674 if ( Math.abs( t ) > 8.64e15 ) { 693 return ( sign * Math.floor( Math.abs( t ) ) );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
shell.js | 141 if ( Math.abs(actual-expect) < 0.0000001 ) {passed = true;} 628 if ( Math.abs( t ) > 8.64e15 ) {return ( Number.NaN);} 649 return ( sign * Math.floor( Math.abs( t ) ) );
|
/external/webkit/Source/WebKit/chromium/tests/ |
KURLTest.cpp | 334 const char abs[] = "http://www.google.com/"; local 335 WebCore::KURL resolveAbs(emptyBase, abs); 337 EXPECT_STREQ(abs, resolveAbs.string().utf8().data());
|
/frameworks/base/core/java/android/gesture/ |
GestureOverlayView.java | 607 final float dx = Math.abs(x - previousX); 608 final float dy = Math.abs(y - previousY); 643 float angle = Math.abs(box.orientation);
|
/frameworks/base/core/java/android/widget/ |
Switch.java | 565 if (Math.abs(x - mTouchX) > mTouchSlop || 566 Math.abs(y - mTouchY) > mTouchSlop) { 630 if (Math.abs(xvel) > mMinFlingVelocity) {
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
StaggeredGridView.java | 309 if (Math.abs(dy) > mTouchSlop) { 345 if (Math.abs(dy) > mTouchSlop) { 367 if (Math.abs(velocity) > mFlingVelocity) { // TODO 389 final int allowOverhang = Math.abs(deltaY); 422 edge.onPull((float) Math.abs(deltaY) / getHeight()); 561 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity())); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 278 assertTrue(Math.abs(leftDelta - rightDelta) <= 1); 279 assertTrue(Math.abs(topDelta - bottomDelta) <= 1);
|
RelativeLayoutTest.java | 169 assertTrue(Math.abs(bottomSpace - topSpace) <= 1); 247 assertTrue(Math.abs(bottomSpace - topSpace) <= 1);
|
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerCompareTest.java | 28 * Methods: abs, compareTo, equals, max, min, negate, signum 32 * abs() for a positive number 39 BigInteger result = aNumber.abs(); 49 * abs() for a negative number 56 BigInteger result = aNumber.abs();
|
/external/clang/utils/ |
FindSpecRefs | 640 dist = abs(line - target) 725 return abs(a-b) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
Utils.java | 314 deviation = Math.abs(deviation)<0.001 ? 0 : -deviation; 322 buffer.append(STDERR_FORMAT.format(Math.abs(stderr)));
|
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
FilterPostProcessor.java | 385 width = (int) (w * (Math.abs(right - left)));
386 height = (int) (h * (Math.abs(bottom - top)));
|
/external/libvpx/libvpx/vp8/common/ |
mfqe.c | 267 abs(mode_info_context->mbmi.mv.as_mv.row) <= 2 && 268 abs(mode_info_context->mbmi.mv.as_mv.col) <= 2);
|
/external/opencv/cvaux/src/ |
cvfindhandregion.cpp | 516 j_left = abs( j_left - jc ); 517 j_right = abs( j_right - jc );
|
/external/opencv/cxcore/src/ |
_cxcore.h | 161 inline double abs(CvComplex32f a) function 229 inline double abs(CvComplex64f a) function
|
/external/replicaisland/src/com/replica/replicaisland/ |
MainMenuActivity.java | 245 if (Math.abs(lastVersion) < Math.abs(AndouKun.VERSION)) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_1/ |
jsref.js | 96 if ( Math.abs(actual-expect) < 0.0000001 ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/ |
shell.js | 100 if ( Math.abs(actual-expect) < 0.0000001 ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_4/ |
jsref.js | 94 if ( Math.abs(actual-expect) < 0.0000001 ) {
|
/external/webkit/Source/WebCore/platform/graphics/ |
TiledBackingStore.cpp | 196 return abs(centerCoordinate.y() - tileCoordinate.y()) + horizontalBias * abs(centerCoordinate.x() - tileCoordinate.x());
|
/external/webkit/Source/WebKit/android/jni/ |
PicturePile.cpp | 151 size.width(), std::abs(oldSize.height() - size.height())); 156 std::abs(oldSize.width() - size.width()), size.height());
|
/external/webkit/Source/WebKit/chromium/src/gtk/ |
WebInputEventFactory.cpp | 69 || abs(x - gLastClickX) > doubleClickDistance 70 || abs(y - gLastClickY) > doubleClickDistance;
|
/external/webkit/Source/WebKit/chromium/src/win/ |
WebInputEventFactory.cpp | 263 (abs(lastClickPositionX - result.x) > (GetSystemMetrics(SM_CXDOUBLECLK) / 2)) 264 || (abs(lastClickPositionY - result.y) > (GetSystemMetrics(SM_CYDOUBLECLK) / 2))
|
/external/webkit/Source/WebKit/wince/ |
WebView.cpp | 291 bool insideThreshold = abs(globalPrevPoint.x() - mouseEvent.pos().x()) < ::GetSystemMetrics(SM_CXDOUBLECLK) 292 && abs(globalPrevPoint.y() - mouseEvent.pos().y()) < ::GetSystemMetrics(SM_CYDOUBLECLK);
|
/external/webkit/Source/WebKit2/Shared/win/ |
WebEventFactory.cpp | 79 bool cancelPreviousClick = (abs(lastClickPosition.x - position.x) > (::GetSystemMetrics(SM_CXDOUBLECLK) / 2)) 80 || (abs(lastClickPosition.y - position.y) > (::GetSystemMetrics(SM_CYDOUBLECLK) / 2))
|