/frameworks/native/services/sensorservice/ |
OrientationSensor.cpp | 47 const float rad2deg = 180 / M_PI; local 49 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; 50 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; 51 g[2] = asinf ( R[2][0]) * rad2deg;
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 232 final float rad2deg = (float)(180.0f/Math.PI); local 234 Log.d("Compass", "yaw: " + (int)(mOrientation[0]*rad2deg) + 235 " pitch: " + (int)(mOrientation[1]*rad2deg) + 236 " roll: " + (int)(mOrientation[2]*rad2deg) + 237 " incl: " + (int)(incl*rad2deg)
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
MathExtras.h | 190 inline double rad2deg(double r) { return r * 180.0 / piDouble; } function 199 inline float rad2deg(float r) { return r * 180.0f / piFloat; } function
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 274 float rad2deg = (float)(180.0 / M_PI);
local 279 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
280 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg;
281 g[2] = asinf ( R[2][0]) * rad2deg;
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 387 float rad2deg = (float)(180.0 / M_PI);
local 390 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
391 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg;
392 g[2] = asinf ( R[2][0]) * rad2deg;
417 float rad2deg = (float)(180.0 / M_PI);
local 422 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
423 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg;
424 g[2] = asinf ( R[2][0]) * rad2deg;
448 float rad2deg = (float)(180.0 / M_PI);
local 453 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
[all...] |