/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
TransformOperations.cpp | 206 // t = atan2(v2.x, v1.x) + n*M_PI; 209 candidates[1] = candidates[0] + M_PI; 211 candidates[3] = candidates[2] + M_PI; 213 candidates[5] = candidates[4] + M_PI; 227 radians += 2.0 * M_PI; 229 radians -= 2.0 * M_PI;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
arc.c | 38 #ifndef M_PI 39 #define M_PI 3.14159265358979323846 44 static const VGfloat two_pi = M_PI * 2; 140 rot *= M_PI/180.0; 208 return (sina>=0 ? acos(cosa) : 2*M_PI - acos(cosa)); 279 angle = 2*M_PI - vector_angles(vec0, vec1); 284 angle = M_PI; 308 if ((lambda2 - lambda1 > M_PI) && (arc->eta2 - arc->eta1 < M_PI)) { 309 arc->eta2 += 2 * M_PI; [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
arc.c | 38 #ifndef M_PI 39 #define M_PI 3.14159265358979323846 44 static const VGfloat two_pi = M_PI * 2; 140 rot *= M_PI/180.0; 208 return (sina>=0 ? acos(cosa) : 2*M_PI - acos(cosa)); 279 angle = 2*M_PI - vector_angles(vec0, vec1); 284 angle = M_PI; 308 if ((lambda2 - lambda1 > M_PI) && (arc->eta2 - arc->eta1 < M_PI)) { 309 arc->eta2 += 2 * M_PI; [all...] |
/external/chromium_org/cc/animation/ |
transform_operation.cc | 5 // Needed on Windows to get |M_PI| from <cmath> 224 return (180.f * radians) / M_PI; 228 return (M_PI * degrees) / 180.f; 334 // t = atan2(v2.x, v1.x) + n*M_PI; 336 candidates[1] = candidates[0] + M_PI; 338 candidates[3] = candidates[2] + M_PI; 340 candidates[5] = candidates[4] + M_PI; 349 radians += 2.0 * M_PI; 351 radians -= 2.0 * M_PI;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.cpp | 111 da = (float)(2.0 * M_PI / (teeth * segs * divs)); 271 view_rotx = (float)(M_PI / 9.0); 272 view_roty = (float)(M_PI / 6.0); 304 float mod_speed = M_PI * 70.0f / 180.0f * speed; 523 gears[0].t0 = 0.0 * M_PI / 180.0f; 528 gears[1].t0 = -9.0f * (float)M_PI / 180.0f; 533 gears[2].t0 = -25.0f * (float)M_PI / 180.0f;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
d3d11gears.cpp | 111 da = (float)(2.0 * M_PI / (teeth * segs * divs)); 271 view_rotx = (float)(M_PI / 9.0); 272 view_roty = (float)(M_PI / 6.0); 304 float mod_speed = M_PI * 70.0f / 180.0f * speed; 523 gears[0].t0 = 0.0 * M_PI / 180.0f; 528 gears[1].t0 = -9.0f * (float)M_PI / 180.0f; 533 gears[2].t0 = -25.0f * (float)M_PI / 180.0f;
|
/external/libvorbis/lib/ |
mdct.c | 66 T[i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i))); 67 T[i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i))); 68 T[n2+i*2]=FLOAT_CONV(cos((M_PI/(2*n))*(2*i+1))); 69 T[n2+i*2+1]=FLOAT_CONV(sin((M_PI/(2*n))*(2*i+1))); 72 T[n+i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i+2))*.5); 73 T[n+i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i+2))*.5);
|
/frameworks/rs/scriptc/ |
rs_quaternion.rsh | 91 rot *= (float)(M_PI / 180.0f) * 0.5f; 215 scale = sin(M_PI * (0.5f - t)); 216 invScale = sin(M_PI * t);
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/ |
rs_quaternion.rsh | 91 rot *= (float)(M_PI / 180.0f) * 0.5f; 215 scale = sin(M_PI * (0.5f - t)); 216 invScale = sin(M_PI * t);
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/ |
rs_quaternion.rsh | 91 rot *= (float)(M_PI / 180.0f) * 0.5f; 215 scale = sin(M_PI * (0.5f - t)); 216 invScale = sin(M_PI * t);
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/ |
rs_quaternion.rsh | 91 rot *= (float)(M_PI / 180.0f) * 0.5f; 215 scale = sin(M_PI * (0.5f - t)); 216 invScale = sin(M_PI * t);
|
/prebuilts/sdk/renderscript/include/ |
rs_quaternion.rsh | 91 rot *= (float)(M_PI / 180.0f) * 0.5f; 215 scale = sin(M_PI * (0.5f - t)); 216 invScale = sin(M_PI * t);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testpalette.c | 14 #ifndef M_PI 15 #define M_PI 3.14159265358979323846 326 cmap[red].r = (int)(255 * sin(redphase * M_PI / 63));
|
/cts/suite/audio_quality/lib/src/audio/ |
AudioSignalFactory.cpp | 32 double multiplier = 2.0 * M_PI * (double)signalFreq / samplingRate;
|
/external/chromium_org/third_party/opus/src/src/ |
analysis.c | 44 #ifndef M_PI 45 #define M_PI 3.141592653 117 #define cE ((float)M_PI/2) 212 const float pi4 = (float)(M_PI*M_PI*M_PI*M_PI); 278 angle = (float)(.5f/M_PI)*fast_atan2f(X1i, X1r); 282 angle2 = (float)(.5f/M_PI)*fast_atan2f(X2i, X2r);
|
/external/eigen/test/eigen2/ |
eigen2_geometry.cpp | 46 Scalar a = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); 71 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0); 82 if (refangle>Scalar(M_PI)) 83 refangle = Scalar(2)*Scalar(M_PI) - refangle; 136 a = ei_random<Scalar>(-Scalar(0.4)*Scalar(M_PI), Scalar(0.4)*Scalar(M_PI)); 192 Scalar a3 = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
|
eigen2_geometry_with_eigen2_prefix.cpp | 48 Scalar a = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); 73 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0); 84 if (refangle>Scalar(M_PI)) 85 refangle = Scalar(2)*Scalar(M_PI) - refangle; 138 a = ei_random<Scalar>(-Scalar(0.4)*Scalar(M_PI), Scalar(0.4)*Scalar(M_PI)); 194 Scalar a3 = ei_random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
|
/external/eigen/test/ |
geo_transformations.cpp | 32 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); 100 Scalar a = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI)); 104 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0); 146 a = internal::random<Scalar>(-Scalar(0.4)*Scalar(M_PI), Scalar(0.4)*Scalar(M_PI)); 192 Scalar a3 = internal::random<Scalar>(-Scalar(M_PI), Scalar(M_PI));
|
/external/fio/ |
cairo_text_helpers.c | 80 cairo_rotate(cr, -90.0 * M_PI / 180.0);
|
/external/libopus/src/ |
analysis.c | 44 #ifndef M_PI 45 #define M_PI 3.141592653 117 #define cE ((float)M_PI/2) 212 const float pi4 = (float)(M_PI*M_PI*M_PI*M_PI); 278 angle = (float)(.5f/M_PI)*fast_atan2f(X1i, X1r); 282 angle2 = (float)(.5f/M_PI)*fast_atan2f(X2i, X2r);
|
/frameworks/av/services/audioflinger/ |
AudioResamplerFirGen.h | 523 double wstart = fstart*(2.*M_PI); 524 double wend = fend*(2.*M_PI); 667 const double xstep = (2. * M_PI) * fcr / L; 669 const double yscale = atten * L / (I0(beta) * M_PI);
|
/frameworks/base/media/tests/audiotests/ |
shared_mem_test.cpp | 178 double dPhi = 2 * M_PI / SIN_SZ;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 242 return acos(quat0)*2*180/M_PI; 508 /** Wraps angle from (-M_PI,M_PI] 510 * @return Wrapped angle from (-M_PI,M_PI] 514 if (ang > M_PI) 515 return ang - 2 * (float)M_PI; 516 else if (ang <= -(float)M_PI) 517 return ang + 2 * (float)M_PI; 523 * is between [-M_PI,M_PI [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
ml_math_func.c | 242 return acos(quat0)*2*180/M_PI; 508 /** Wraps angle from (-M_PI,M_PI] 510 * @return Wrapped angle from (-M_PI,M_PI] 514 if (ang > M_PI) 515 return ang - 2 * (float)M_PI; 516 else if (ang <= -(float)M_PI) 517 return ang + 2 * (float)M_PI; 523 * is between [-M_PI,M_PI [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_blur.rs | 54 const float pi = M_PI;
|