HomeSort by relevance Sort by last modified time
    Searched refs:rad2deg (Results 1 - 5 of 5) sorted by null

  /frameworks/native/services/sensorservice/
OrientationSensor.cpp 53 const float rad2deg = 180 / M_PI; local
55 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg;
56 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg;
57 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/autotest/client/deps/webgl_mpd/src/resources/
J3DIMath.js 887 var rad2deg = 180 / Math.PI;
888 rotate[0] *= rad2deg;
889 rotate[1] *= rad2deg;
890 rotate[2] *= rad2deg;
    [all...]

Completed in 293 milliseconds