OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:rad2deg
(Results
1 - 4
of
4
) sorted by null
/frameworks/native/services/sensorservice/
OrientationSensor.cpp
44
const float
rad2deg
= 180 / M_PI;
local
46
g[0] = atan2f(-R[1][0], R[0][0]) *
rad2deg
;
47
g[1] = atan2f(-R[2][1], R[2][2]) *
rad2deg
;
48
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/webkit/Source/JavaScriptCore/wtf/
MathExtras.h
193
inline double
rad2deg
(double r) { return r * 180.0 / piDouble; }
function
202
inline float
rad2deg
(float r) { return r * 180.0f / piFloat; }
function
/hardware/invensense/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
;
Completed in 235 milliseconds