/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/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...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGMarkerData.h | 88 double inAngle = rad2deg(inSlope.slopeAngleRadians()); 89 double outAngle = rad2deg(outSlope.slopeAngleRadians());
|
SVGTextQuery.cpp | 436 data->rotation = narrowPrecisionToFloat(rad2deg(atan2(fragmentTransform.b(), fragmentTransform.a())));
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAngle.cpp | 45 return rad2deg(m_valueInSpecifiedUnits); 205 m_valueInSpecifiedUnits = rad2deg(m_valueInSpecifiedUnits);
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
RotateTransformOperation.cpp | 87 angle = rad2deg(acos(decomp.quaternionW) * 2);
|
AffineTransform.cpp | 181 return rotate(rad2deg(atan2(y, x))); 375 m.rotate(rad2deg(-angle)); 399 this->rotate(rad2deg(decomp.angle));
|
TransformationMatrix.cpp | 534 return rotate(rad2deg(atan2(y, x))); [all...] |
/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/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
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
PathTraversalState.cpp | 216 m_normalAngle = rad2deg(slope);
|
Path.cpp | 191 normal = rad2deg(SkScalarToFloat(SkScalarATan2(tangent.fY, tangent.fX))); 339 AffineTransform ellipseTransform = AffineTransform::translation(p.x(), p.y()).rotate(rad2deg(rotation));
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasPathMethods.cpp | 235 rotationMatrix.rotate(rad2deg(rotation));
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSPrimitiveValue.cpp | 509 return rad2deg(getDoubleValue()); [all...] |
CSSGradientValue.cpp | 677 float angle = 90 - rad2deg(atan2(rise, run)); [all...] |