/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)
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 443 float rad2deg = (float)(180.0 / M_PI); local 446 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; 447 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; 448 g[2] = asinf ( R[2][0]) * rad2deg; 474 float rad2deg = (float)(180.0 / M_PI); local 479 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; 480 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; 481 g[2] = asinf ( R[2][0]) * rad2deg; 505 float rad2deg = (float)(180.0 / M_PI); local 510 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 397 float rad2deg = (float)(180.0 / M_PI);
local 400 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
401 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg;
402 g[2] = asinf ( R[2][0]) * rad2deg;
428 float rad2deg = (float)(180.0 / M_PI);
local 433 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
434 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg;
435 g[2] = asinf ( R[2][0]) * rad2deg;
459 float rad2deg = (float)(180.0 / M_PI);
local 464 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
[all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGMarkerData.h | 86 double inAngle = rad2deg(inSlope.slopeAngleRadians()); 87 double outAngle = rad2deg(outSlope.slopeAngleRadians());
|
SVGTextQuery.cpp | 433 data->rotation = narrowPrecisionToFloat(rad2deg(atan2(fragmentTransform.b(), fragmentTransform.a())));
|
/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;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAngle.cpp | 119 return rad2deg(m_valueInSpecifiedUnits); 302 m_valueInSpecifiedUnits = rad2deg(m_valueInSpecifiedUnits); 305 m_valueInSpecifiedUnits = deg2turn(rad2deg(m_valueInSpecifiedUnits));
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
RotateTransformOperation.cpp | 145 angle = rad2deg(acos(decomp.quaternionW) * 2);
|
TransformOperations.cpp | 236 rotation.rotate3d(axis.x(), axis.y(), axis.z(), rad2deg(radians));
|
TransformationMatrix.cpp | 535 return rotate(rad2deg(atan2(y, x))); [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
MathExtras.h | 204 inline double rad2deg(double r) { return r * 180.0 / piDouble; } function 215 inline float rad2deg(float r) { return r * 180.0f / piFloat; } function
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
PathTraversalState.cpp | 226 m_normalAngle = rad2deg(slope);
|
Path.cpp | 188 normalAngle = rad2deg(SkScalarToFloat(SkScalarATan2(tangent.fY, tangent.fX)));
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSPrimitiveValue.cpp | 543 return rad2deg(getDoubleValue()); [all...] |
CSSGradientValue.cpp | 686 float angle = 90 - rad2deg(atan2(rise, run)); [all...] |