/external/eigen/Eigen/src/IterativeLinearSolvers/ |
IncompleteLUT.h | 178 * abs(row(i)) >= abs(row(ncut)) if i<ncut 179 * abs(row(i)) <= abs(row(ncut)) if i>ncut 200 RealScalar abskey = std::abs(row(mid)); 202 if ( std::abs(row(j)) > abskey) { 244 using std::abs; 350 if(abs(fact) <= m_droptol) 421 if(abs(u(ii+k)) > m_droptol * rownorm )
|
/external/eigen/Eigen/src/QR/ |
ColPivHouseholderQR.h | 185 RealScalar premultiplied_threshold = internal::abs(m_maxpivot) * threshold(); 188 result += (internal::abs(m_qr.coeff(i,i)) > premultiplied_threshold); 347 return internal::abs(m_qr.diagonal().prod()); 429 if(internal::abs(beta) > m_maxpivot) m_maxpivot = internal::abs(beta);
|
/external/eigen/test/ |
geo_quaternion.cpp | 39 VERIFY(internal::abs(q.norm() - 1) < largeEps); 41 else VERIFY(internal::abs(theta/theta_tot - t) < largeEps); 85 Scalar refangle = internal::abs(AngleAxisx(q1.inverse()*q2).angle()); 91 VERIFY_IS_MUCH_SMALLER_THAN(internal::abs(q1.angularDistance(q2) - refangle), Scalar(1)); 112 if (internal::abs(aa.angle()) > 5*test_precision<Scalar>()
|
/external/opencv/cv/src/ |
cvoptflowbm.cpp | 54 int t0 = abs(vec1[i] - vec2[i]); 55 int t1 = abs(vec1[i + 1] - vec2[i + 1]); 56 int t2 = abs(vec1[i + 2] - vec2[i + 2]); 57 int t3 = abs(vec1[i + 3] - vec2[i + 3]); 64 int t0 = abs(vec1[i] - vec2[i]);
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
BouncyDroid.java | 273 mBody.v.x = (float) Math.abs(mBody.v.x) * 276 mBody.v.x = (float) Math.abs(mBody.v.x) * 280 mBody.v.y = (float) Math.abs(mBody.v.y) * 283 mBody.v.y = (float) Math.abs(mBody.v.y) * 309 (Math.abs(mBody.v.x) < 25)
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixLogarithm.h | 99 using std::abs; 101 if (abs(x) > sqrt(NumTraits<Scalar>::epsilon())) 111 using std::abs; 125 } else if ((abs(A(0,0)) < 0.5*abs(A(1,1))) || (abs(A(0,0)) > 2*abs(A(1,1)))) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 364 int dist = Math.abs(orientation - orientationHistory); 400 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; 401 if (Math.abs(size.height - targetHeight) < minDiff) { 403 minDiff = Math.abs(size.height - targetHeight); 413 if (Math.abs(size.height - targetHeight) < minDiff) { 415 minDiff = Math.abs(size.height - targetHeight); 434 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;
|
/external/doclava/src/com/google/doclava/apicheck/ |
ApiFile.java | 120 boolean abs = false; 146 abs = true; 167 pkgpriv, false/*isPrivate*/, stat, iface, abs, true/*isOrdinaryClass*/, 280 boolean abs = false; 306 abs = true; 324 stat, false/*isSynthetic*/, abs/*isAbstract*/, syn, false/*isNative*/,
|
/external/stlport/stlport/stl/ |
_cmath.h | 20 * declaration. cmath have abs overloads and cstdlib a using directive 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 424 inline double abs(double __x) function 427 _STLP_DEF_MATH_INLINE(abs, fabs) 428 # else // __MVS__ has native long double abs? 429 inline float abs(float __x) { return ::fabsf(__x); } 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 525 * problem we provide all abs overload before the 'using' call. 526 * Beware: This header inclusion has to be after all abs overload of this file [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
3d-raytrace.js | 129 if (Math.abs(normal[0]) > Math.abs(normal[1])) 130 if (Math.abs(normal[0]) > Math.abs(normal[2])) 135 if (Math.abs(normal[1]) > Math.abs(normal[2]))
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
3d-raytrace.js | 129 if (Math.abs(normal[0]) > Math.abs(normal[1])) 130 if (Math.abs(normal[0]) > Math.abs(normal[2])) 135 if (Math.abs(normal[1]) > Math.abs(normal[2]))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ExpandHelper.java | 240 float pull = Math.abs(drag) + Math.abs(span) + 1f; 241 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull; 311 float stretch = Math.abs((target - actual) / mMaximumStretch); 450 final float pull = Math.abs(ev.getY() - mInitialTouchY);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
PagedView.java | [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
eval.pass.cpp | 88 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 138 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 188 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 238 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 288 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 338 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001);
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 20 * declaration. cmath have abs overloads and cstdlib a using directive 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 424 inline double abs(double __x) function 427 _STLP_DEF_MATH_INLINE(abs, fabs) 428 # else // __MVS__ has native long double abs? 429 inline float abs(float __x) { return ::fabsf(__x); } 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 525 * problem we provide all abs overload before the 'using' call. 526 * Beware: This header inclusion has to be after all abs overload of this file [all...] |
/packages/apps/Browser/src/com/android/browser/ |
NavTabScroller.java | 281 long duration = (long) (Math.abs(distance) * 1000 / Math.abs(velocity)); 444 if (Math.abs(diff) > (mHorizontal ? downView.getHeight() : downView.getWidth()) / 2) { 457 if (mAnimator == null && Math.abs(velocity) > mFlingVelocity / 2) { 474 return 1 - (float) Math.abs(distance) / (mHorizontal ? v.getHeight() : v.getWidth()); 515 int oscroll = Math.abs(mPullValue);
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 310 if (Math.abs(dx) > mTouchSlop) { 346 if (Math.abs(dx) > mTouchSlop) { 368 if (Math.abs(velocity) > mFlingVelocity) { // TODO 390 final int allowOverhang = Math.abs(deltaX); 423 edge.onPull((float) Math.abs(deltaX) / getWidth()); 552 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity()));
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 20 * declaration. cmath have abs overloads and cstdlib a using directive 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 424 inline double abs(double __x) function 427 _STLP_DEF_MATH_INLINE(abs, fabs) 428 # else // __MVS__ has native long double abs? 429 inline float abs(float __x) { return ::fabsf(__x); } 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 525 * problem we provide all abs overload before the 'using' call. 526 * Beware: This header inclusion has to be after all abs overload of this file [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 20 * declaration. cmath have abs overloads and cstdlib a using directive 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 424 inline double abs(double __x) function 427 _STLP_DEF_MATH_INLINE(abs, fabs) 428 # else // __MVS__ has native long double abs? 429 inline float abs(float __x) { return ::fabsf(__x); } 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 525 * problem we provide all abs overload before the 'using' call. 526 * Beware: This header inclusion has to be after all abs overload of this file [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 20 * declaration. cmath have abs overloads and cstdlib a using directive 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 424 inline double abs(double __x) function 427 _STLP_DEF_MATH_INLINE(abs, fabs) 428 # else // __MVS__ has native long double abs? 429 inline float abs(float __x) { return ::fabsf(__x); } 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 525 * problem we provide all abs overload before the 'using' call. 526 * Beware: This header inclusion has to be after all abs overload of this file [all...] |
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 20 * declaration. cmath have abs overloads and cstdlib a using directive 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 424 inline double abs(double __x) function 427 _STLP_DEF_MATH_INLINE(abs, fabs) 428 # else // __MVS__ has native long double abs? 429 inline float abs(float __x) { return ::fabsf(__x); } 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 525 * problem we provide all abs overload before the 'using' call. 526 * Beware: This header inclusion has to be after all abs overload of this file [all...] |
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
ListViewItemAnimations.java | 123 float deltaXAbs = Math.abs(deltaX); 148 float deltaXAbs = Math.abs(deltaX); 239 float fraction = Math.abs(deltaX) / view.getWidth();
|
/external/eigen/Eigen/src/SparseCore/ |
AmbiVector.h | 307 while (m_currentEl>=0 && internal::abs(llElements[m_currentEl].value)<=m_epsilon) 333 } while (m_cachedIndex<m_vector.m_end && internal::abs(m_vector.m_buffer[m_cachedIndex])<m_epsilon); 344 } while (m_currentEl>=0 && internal::abs(llElements[m_currentEl].value)<m_epsilon);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderLuminance.java | 190 result[0] = oneMinusFactor * materialColor[0] + textureIntensity * Math.abs(materialColor[0] - color[0]);
191 result[1] = oneMinusFactor * materialColor[1] + textureIntensity * Math.abs(materialColor[1] - color[1]);
192 result[2] = oneMinusFactor * materialColor[2] + textureIntensity * Math.abs(materialColor[2] - color[2]);
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
AnimationFactory.java | 282 float delta = Math.max(Math.abs(x - prevRot.eulerAngles.x), Math.abs(y - prevRot.eulerAngles.y)); 283 delta = Math.max(delta, Math.abs(z - prevRot.eulerAngles.z));
|