/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
VUMeter.java | 79 float cos = (float) Math.cos(mCurrentAngle); local 80 float x0 = pivotX - l*cos;
|
/cts/apps/CtsVerifier/jni/audioquality/ |
Window.cpp | 35 mWindowWeights[i] = 0.5 - (0.5 * cos((i + 0.5) * arg));
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
FloatAnim.java | 74 ratio = 0.5f - 0.5f * FloatMath.cos(ratio * 3.14159265f); // CR:
|
LocationMediaFilter.java | 65 double a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(Math.toRadians(lat1)) * Math.cos(Math.toRadians(lat2))
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
math-partial-sums.js | 15 ck = Math.cos(k);
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
math-partial-sums.js | 15 ck = Math.cos(k);
|
/frameworks/base/services/java/com/android/server/ |
TwilightCalculator.java | 96 * Math.sin(solarDec)) / (Math.cos(latRad) * Math.cos(solarDec));
|
/external/stlport/test/unit/ |
valarray_test.cpp | 45 tmp = cos(darray); 71 tmp = cos(farray); 98 tmp = cos(ldarray);
|
/ndk/tests/device/test-gnustl-full/unit/ |
valarray_test.cpp | 45 tmp = cos(darray); 71 tmp = cos(farray); 98 tmp = cos(ldarray);
|
/ndk/tests/device/test-stlport/unit/ |
valarray_test.cpp | 45 tmp = cos(darray); 71 tmp = cos(farray); 98 tmp = cos(ldarray);
|
/external/skia/src/core/ |
SkCordic.cpp | 66 SkFixed cos = kFixedInvGain1; local 67 SkCircularRotation(&cos, &sin, &scaledRadians); 71 scaled.setMul(cos, 0x6488d); 80 int32_t cos; local 81 int32_t sin = SkCordicSinCos(a, &cos); 82 return SkFixedDiv(sin, cos); 231 SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle, cosine, cosine2);
|
/external/v8/test/mjsunit/ |
sin-cos.js | 28 // Test Math.sin and Math.cos. 34 var output_cos = input_cos.map(Math.cos); 45 assertTrue(Math.sin(x) != Math.cos(x));
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
LatLongSphere.java | 52 float cosTheta = (float) Math.cos(theta); 59 float cosPhi = (float) Math.cos(phi);
|
/external/chromium/third_party/icu/source/i18n/ |
astro.cpp | 467 double cosE = cos(obliq); 470 double cosL = cos(eclipLong); 473 double cosB = cos(eclipLat); 507 double cosH = cos(H); 509 double cosD = cos(equatorial.declination); 511 double cosL = cos(fLatitude); 603 E = E - delta / (1 - eccentricity * ::cos(E)); 831 // double psi = ::acos(sin(fLatitude) / cos(dec)); 834 // double delta_t = 240 * y / cos(dec) / 3600; // hours 941 // double E = M + e*(180/PI) * ::sin(M*DEG_RAD) * ( 1.0 + e*cos(M*DEG_RAD) ) [all...] |
/external/icu4c/i18n/ |
astro.cpp | 467 double cosE = cos(obliq); 470 double cosL = cos(eclipLong); 473 double cosB = cos(eclipLat); 507 double cosH = cos(H); 509 double cosD = cos(equatorial.declination); 511 double cosL = cos(fLatitude); 603 E = E - delta / (1 - eccentricity * ::cos(E)); 831 // double psi = ::acos(sin(fLatitude) / cos(dec)); 834 // double delta_t = 240 * y / cos(dec) / 3600; // hours 941 // double E = M + e*(180/PI) * ::sin(M*DEG_RAD) * ( 1.0 + e*cos(M*DEG_RAD) ) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 440 float cos = (float)Math.cos(rad); local 442 d.preTransform(getRotate(sin, cos)); 1058 float cos = (float)Math.cos(rad); local 1060 return getRotate(sin, cos); 1063 /*package*/ static float[] getRotate(float sin, float cos) { 1064 return setRotate(new float[9], sin, cos); 1070 float cos = (float)Math.cos(rad); local 1099 float cos = (float)Math.cos(rad); local [all...] |
/bionic/libm/include/ |
math.h | 207 double cos(double); 485 void sincos(double x, double *sin, double *cos); 486 void sincosf(float x, float *sin, float *cos); 487 void sincosl(long double x, long double *sin, long double *cos);
|
/development/ndk/platforms/android-9/include/ |
math.h | 207 double cos(double); 485 void sincos(double x, double *sin, double *cos); 486 void sincosf(float x, float *sin, float *cos); 487 void sincosl(long double x, long double *sin, long double *cos);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 261 float newy = (float)(Math.sin(xrot) * z + Math.cos(xrot) * y); 262 float newz = (float)(Math.cos(xrot) * z - Math.sin(xrot) * y); 265 float newx = (float)(Math.sin(yrot) * newz + Math.cos(yrot) * x); 266 newz = (float)(Math.cos(yrot) * newz - Math.sin(yrot) * x);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Statements/ |
switch-001.js | 61 actual = match(1, 1, Math.sin, Math.cos);
|
/external/stlport/src/ |
complex.cpp | 71 { return complex<float>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 74 { return complex<double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 79 { return complex<long double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 204 return complex<_Tp>(expx * ::cos(z._M_im), 272 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 292 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 302 return complex<_Tp>(x * ::cos(y), x * ::sin(y));
|
/ndk/sources/cxx-stl/stlport/src/ |
complex.cpp | 71 { return complex<float>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 74 { return complex<double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 79 { return complex<long double>(__rho * ::cos(__phi), __rho * ::sin(__phi)); } 204 return complex<_Tp>(expx * ::cos(z._M_im), 272 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 292 return complex<_Tp>(x * ::cos(y), x * ::sin(y)); 302 return complex<_Tp>(x * ::cos(y), x * ::sin(y));
|
/external/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 366 _STLP_DMATH_INLINE(cos) 395 # if defined (cos) 396 inline double __stlp_cos(double __x) { return cos(__x); } 397 # undef cos macro 398 inline double cos(double __x) { return __stlp_cos(__x); } function 437 _STLP_DEF_MATH_INLINE(cos, cos) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 559 using ::cos; [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
MathPerformanceTest.java | 92 result = Math.cos(sDouble1); 93 result = Math.cos(sDouble1); 94 result = Math.cos(sDouble1); 95 result = Math.cos(sDouble1); 96 result = Math.cos(sDouble1); 97 result = Math.cos(sDouble1); 98 result = Math.cos(sDouble1); 99 result = Math.cos(sDouble1); 100 result = Math.cos(sDouble1); 101 result = Math.cos(sDouble1) [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 366 _STLP_DMATH_INLINE(cos) 395 # if defined (cos) 396 inline double __stlp_cos(double __x) { return cos(__x); } 397 # undef cos macro 398 inline double cos(double __x) { return __stlp_cos(__x); } function 437 _STLP_DEF_MATH_INLINE(cos, cos) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 559 using ::cos; [all...] |