/external/chromium_org/third_party/WebKit/Source/wtf/ |
MathExtras.h | 43 const double piDouble = M_PI; 44 const float piFloat = static_cast<float>(M_PI);
|
/external/chromium_org/ui/gfx/ |
interpolated_transform.cc | 9 #ifndef M_PI 10 #define M_PI 3.14159265358979323846
|
/frameworks/rs/driver/runtime/ |
rs_cl.c | 345 return acos(v) / M_PI; 356 return asin(v) / M_PI; 370 return atan(v) / M_PI; 376 return atan2(y, x) / M_PI; 396 return cos(v * M_PI); 625 return sin(v * M_PI); 636 return tan(v * M_PI); 781 return radians * (180.f / M_PI); 784 return radians * (180.f / M_PI); 787 return radians * (180.f / M_PI); [all...] |
/frameworks/base/libs/hwui/ |
SpotShadow.cpp | 40 // For the whole polygon, the sum of all the deltas b/t normals is 2 * M_PI, 45 #define SPOT_CORNER_RADIANS_DIVISOR (M_PI / SPOT_EXTRA_CORNER_VERTEX_PER_PI) 371 float angle = 2 * i * M_PI / points; [all...] |
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixPower.h | 242 int unwindingNumber = std::ceil((numext::imag(logCurr - logPrev) - M_PI) / (2*M_PI)); 243 ComplexScalar w = numext::atanh2(curr - prev, curr + prev) + ComplexScalar(0, M_PI*unwindingNumber);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 443 float rad2deg = (float)(180.0 / M_PI); 474 float rad2deg = (float)(180.0 / M_PI); 505 float rad2deg = (float)(180.0 / M_PI);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 397 float rad2deg = (float)(180.0 / M_PI);
428 float rad2deg = (float)(180.0 / M_PI);
459 float rad2deg = (float)(180.0 / M_PI);
|
/external/chromium_org/third_party/speex/libspeex/ |
resample.c | 81 #ifndef M_PI 82 #define M_PI 3.14159263 281 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); 294 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); [all...] |
/external/speex/libspeex/ |
resample.c | 81 #ifndef M_PI 82 #define M_PI 3.14159263 285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); 298 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); [all...] |
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
MoreTeapotsRenderer.cpp | 132 vec_current_rotations_.push_back( ndk_helper::Vec2( fX * M_PI, fY * M_PI ) );
|
/external/chromium_org/ppapi/examples/compositor/ |
compositor.cc | 5 // Needed on Windows to get |M_PI| from math.h. 288 float factor_sin = sin(M_PI / 180 * frame); 289 float factor_cos = cos(M_PI / 180 * frame);
|
/external/chromium_org/skia/ext/ |
image_operations.cc | 58 float xpi = x * static_cast<float>(M_PI); 84 const float xpi = x * static_cast<float>(M_PI);
|
/external/libvorbis/lib/ |
envelope.c | 48 e->mdct_win[i]=sin(i/(n-1.)*M_PI); 65 e->band[j].window[i]=sin((i+.5)/n*M_PI);
|
/frameworks/rs/ |
rsMatrix4x4.cpp | 209 rot *= float(M_PI / 180.0f); 299 float top = near * tan((float) (fovy * M_PI / 360.0f));
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/ |
rs_types.rsh | 50 #define M_PI 3.141592653589793238462643383279502884f /* pi */
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/ |
rs_types.rsh | 50 #define M_PI 3.141592653589793238462643383279502884f /* pi */
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/ |
rs_types.rsh | 50 #define M_PI 3.141592653589793238462643383279502884f /* pi */
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
colorcheckertest.cpp | 159 / (M_PI / 4); 298 * M_PI / 180.0f; 522 ang1 = static_cast<float>(line1[0]) / 180.0f * M_PI; 523 ang2 = static_cast<float>(line2[0]) / 180.0f * M_PI; [all...] |
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
FlockingScene.cpp | 166 transformMatrix->rotate(atan2(vel->mY, vel->mX) + M_PI, 0, 0, 1);
|
/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 217 float radians = 45.0f * (M_PI / 180.0f);
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
TeapotRenderer.cpp | 90 ndk_helper::Mat4 mat = ndk_helper::Mat4::RotationX( M_PI / 3 );
|
/external/chromium_org/chrome/browser/download/ |
download_shelf.cc | 5 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first. 50 double temp = animation_progress * kCompleteAnimationCycles * M_PI + M_PI_2;
|
/external/chromium_org/media/filters/ |
wsola_internals.cc | 5 // MSVC++ requires this to be set before any other includes to get M_PI. 262 const float scale = 2.0f * M_PI / window_length;
|
/external/chromium_org/native_client_sdk/src/examples/api/graphics_3d/ |
matrix.cc | 13 #define deg_to_rad(x) (x * (M_PI / 180.0f))
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/cube/ |
matrix.cc | 13 #define deg_to_rad(x) (x * (M_PI / 180.0f))
|