HomeSort by relevance Sort by last modified time
    Searched refs:abs (Results 276 - 300 of 1796) sorted by null

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
pow_scalar_complex.pass.cpp 27 assert(std::abs(imag(c)) < 1.e-6);
  /packages/apps/Email/src/com/android/email/
ResourceHelper.java 61 // Use abs so that it'd work for -1 as well.
62 return Math.abs((int) ((accountId - 1) % mAccountColors.length));
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
SSLUtilsTest.java 61 sb.append(RANDOM_DICT[Math.abs(r.nextInt()) % RANDOM_DICT.length]);
  /packages/apps/UnifiedEmail/src/com/android/bitmap/
BitmapUtils.java 86 .round(Math.abs(srcH - srcCroppedSliceH) * vertSliceFrac + srcHalfSliceH);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
InputSmoother.java 92 totalDistancePx += Math.abs(s.pos - prevPos);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
MatrixUtilsTests.java 35 assertTrue(Math.abs(f0 - f1) < error);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/
NameDistanceTest.java 75 Math.abs(actual - expected) < 0.001);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_long_future.py 27 a, b = abs(a), abs(b)
103 if skip_small and max(abs(a), abs(b)) < 2**DBL_MANT_DIG:
test_timeout.py 125 _delta = abs(_t1 - _t2)
142 _delta = abs(_t1 - _t2)
159 _delta = abs(_t1 - _t2)
176 _delta = abs(_t1 - _t2)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_long_future.py 27 a, b = abs(a), abs(b)
103 if skip_small and max(abs(a), abs(b)) < 2**DBL_MANT_DIG:
test_timeout.py 125 _delta = abs(_t1 - _t2)
142 _delta = abs(_t1 - _t2)
159 _delta = abs(_t1 - _t2)
176 _delta = abs(_t1 - _t2)
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridDropHandler.java 30 import static java.lang.Math.abs;
217 int centerDistance = Math.abs(cellWidth / 2 - leftDistance);
227 int centerDistance = Math.abs(cellHeight / 2 - topDistance);
264 int distance = abs(columnX - x1);
297 int distance = abs((x1 + x2) / 2 - matchedLine);
341 int distance = abs(dragBaselineY - rowBaselineY);
357 int distance = abs(matchedLine - x1);
365 int distance = abs(matchedLine - x2);
376 int distance = abs(matchedLine - x1);
387 distance = abs(matchedLine - x1)
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
Dummy83BufferGenerator.java 138 int randomNumber = Math.abs(mRandom.nextInt());
161 randomNumber = Math.abs(mRandom.nextInt());
  /external/chromium_org/cc/trees/
layer_sorter.cc 74 float abs_dif = std::abs(b - a);
75 float abs_max = std::max(std::abs(b), std::abs(a));
162 std::abs(max_positive) > std::abs(max_negative) ?
173 *weight = std::abs(max_diff);
297 z_range_ = std::abs(max_z - min_z);
  /packages/apps/Gallery/src/com/android/camera/
HighlightView.java 191 if (Math.abs(delta) <= hysteresis) {
192 if (Math.abs(distY) > Math.abs(distX)) {
219 if ((Math.abs(r.left - x) < hysteresis) && verticalCheck) {
222 if ((Math.abs(r.right - x) < hysteresis) && verticalCheck) {
225 if ((Math.abs(r.top - y) < hysteresis) && horizCheck) {
228 if ((Math.abs(r.bottom - y) < hysteresis) && horizCheck) {
  /external/eigen/Eigen/src/Jacobi/
Jacobi.h 93 RealScalar tau = (x-z)/(RealScalar(2)*internal::abs(y));
106 m_s = - sign_t * (internal::conj(y) / internal::abs(y)) * internal::abs(t) * n;
164 m_s = -q/internal::abs(q);
165 if(r) *r = internal::abs(q);
197 p1 = internal::abs(p);
215 if(r) *r = internal::abs(p);
221 if(r) *r = internal::abs(q);
223 else if(internal::abs(p) > internal::abs(q)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
LineSegment.java 144 float determinant = FastMath.abs(1.0f - negativeDirectionDot
416 return FastMath.abs(squareDistance);
425 float fDet = FastMath.abs(1.0f - fA01 * fA01);
535 return FastMath.abs(fSqrDist);
619 if (FastMath.abs(point.x - origin.x) > FastMath.abs(direction.x * extent) + error) {
622 if (FastMath.abs(point.y - origin.y) > FastMath.abs(direction.y * extent) + error) {
625 if (FastMath.abs(point.z - origin.z) > FastMath.abs(direction.z * extent) + error) {
    [all...]
  /external/libvpx/libvpx/vp8/common/ppc/
sad_altivec.asm 46 ;# v6 = abs (v4 - v5)
51 ;# v8 += abs (v4 - v5)
79 ;# perform abs() of difference
263 ;# v6 = abs (v4 - v5)
268 ;# v8 += abs (v4 - v5)
  /frameworks/base/core/java/android/widget/
OverScroller.java 616 if (Math.abs(tx - alpha) < 1E-5) break;
628 if (Math.abs(dy - alpha) < 1E-5) break;
668 final float x = Math.abs((float) newDistance / oldDistance);
742 mOver = Math.abs(delta);
783 return Math.log(INFLEXION * Math.abs(velocity) / (mFlingFriction * mPhysicalCoeff));
802 final float distanceToApex = velocity * velocity / 2.0f / Math.abs(mDeceleration);
803 final float distanceToEdge = Math.abs(end - start);
805 2.0 * (distanceToApex + distanceToEdge) / Math.abs(mDeceleration));
832 if (totalDistance > Math.abs(overDistance)) {
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
OverScroller.java 618 if (Math.abs(tx - alpha) < 1E-5) break;
630 if (Math.abs(dy - alpha) < 1E-5) break;
673 final float x = Math.abs((float) newDistance / oldDistance);
747 mOver = Math.abs(delta);
788 return Math.log(INFLEXION * Math.abs(velocity) / (mFlingFriction * PHYSICAL_COEF));
807 final float distanceToApex = velocity * velocity / 2.0f / Math.abs(mDeceleration);
808 final float distanceToEdge = Math.abs(end - start);
810 2.0 * (distanceToApex + distanceToEdge) / Math.abs(mDeceleration));
837 if (totalDistance > Math.abs(overDistance)) {
    [all...]
  /build/tools/droiddoc/templates-pdk/assets/
carousel.js 185 animation.origin = Math.abs(origin);
188 var motions = Math.abs(animation.goal - animation.origin);
195 var left = (ease(current_frame/animation.frames) * Math.abs(animation.goal - animation.origin)) - cp;
298 var originpoint = Math.abs(currentStripPosition);
302 var motionValue = Math.abs(originPosition[slideName]-originpoint);
  /external/replicaisland/src/com/replica/replicaisland/
NPCAnimationComponent.java 149 if (Math.abs(velocity.x) >= RUN_SPEED_THRESHOLD) {
199 } else if (Math.abs(velocity.x) > 0.0f && shouldMove(parentObject)) {
225 } else if (Math.abs(velocity.x) > 0.0f) {
262 } else if (Math.abs(velocity.x) > 0.0f) {
324 if (Math.abs(velocity.x) > 0.0f) {
  /external/stlport/test/unit/
cmath_test.cpp 48 CPPUNIT_CHECK( are_equals(std::abs(int_val), -int_val) );
49 CPPUNIT_CHECK( are_equals(std::abs(long_val), -long_val) );
51 CPPUNIT_CHECK( are_equals(std::abs(float_val), -float_val) );
52 CPPUNIT_CHECK( are_equals(std::abs(double_val), -double_val) );
54 CPPUNIT_CHECK( are_equals(std::abs(long_double_val), -long_double_val) );
  /ndk/tests/device/test-gnustl-full/unit/
cmath_test.cpp 48 CPPUNIT_CHECK( are_equals(std::abs(int_val), -int_val) );
49 CPPUNIT_CHECK( are_equals(std::abs(long_val), -long_val) );
51 CPPUNIT_CHECK( are_equals(std::abs(float_val), -float_val) );
52 CPPUNIT_CHECK( are_equals(std::abs(double_val), -double_val) );
54 CPPUNIT_CHECK( are_equals(std::abs(long_double_val), -long_double_val) );
  /ndk/tests/device/test-stlport/unit/
cmath_test.cpp 48 CPPUNIT_CHECK( are_equals(std::abs(int_val), -int_val) );
49 CPPUNIT_CHECK( are_equals(std::abs(long_val), -long_val) );
51 CPPUNIT_CHECK( are_equals(std::abs(float_val), -float_val) );
52 CPPUNIT_CHECK( are_equals(std::abs(double_val), -double_val) );
54 CPPUNIT_CHECK( are_equals(std::abs(long_double_val), -long_double_val) );

Completed in 1508 milliseconds

<<11121314151617181920>>