Searched refs:atan2 (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/hardware/
H A DSensorManager.java865 return (float)Math.atan2(I[5], I[4]);
867 return (float)Math.atan2(I[6], I[5]);
1078 values[0] = (float)Math.atan2(R[1], R[4]);
1080 values[2] = (float)Math.atan2(-R[6], R[8]);
1082 values[0] = (float)Math.atan2(R[1], R[5]);
1084 values[2] = (float)Math.atan2(-R[8], R[10]);
1207 angleChange[0] = (float)Math.atan2(rd1, rd4);
1209 angleChange[2] = (float)Math.atan2(-rd6, rd8);
H A DGeomagneticField.java268 return (float) Math.toDegrees(Math.atan2(mY, mX));
276 return (float) Math.toDegrees(Math.atan2(mZ,
/frameworks/base/core/java/android/util/
H A DMathUtils.java139 public static float atan2(float a, float b) { method in class:MathUtils
140 return (float) Math.atan2(a, b);
/frameworks/base/core/java/android/gesture/
H A DInstance.java94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]);
H A DGestureUtils.java509 angle = (float) Math.atan2(targetVector[1], targetVector[0]);
/frameworks/base/core/java/android/view/
H A DOrientationEventListener.java128 float angle = (float)Math.atan2(-Y, X) * OneEightyOverPi;
H A DWindowOrientationListener.java475 -Math.atan2(-x, y) * RADIANS_TO_DEGREES);
477 // atan2 returns [-180, 180]; normalize to [0, 360]
/frameworks/base/location/java/android/location/
H A DLocation.java332 sigma = Math.atan2(sinSigma, cosSigma); // (16)
372 float initialBearing = (float) Math.atan2(cosU2 * sinLambda,
377 float finalBearing = (float) Math.atan2(cosU1 * sinLambda,
/frameworks/rs/scriptc/
H A Drs_cl.rsh247 extern float __attribute__((overloadable)) atan2(float y, float x);
248 FN_FUNC_FN_FN(atan2)
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_cl.rsh247 extern float __attribute__((overloadable)) atan2(float y, float x);
248 FN_FUNC_FN_FN(atan2)
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_cl.c348 extern float __attribute__((overloadable)) atan2(float, float);
349 FN_FUNC_FN_FN(atan2)
361 return atan2(y, x) / M_PI;
/frameworks/base/core/java/com/android/internal/widget/
H A DWaveView.java204 double touchA = Math.atan2(distX, distY);
H A DLockPatternView.java1012 final float theta = (float) Math.atan2(
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeMath.cpp401 float atan2(float y, float x) { function
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs1079 *angle = atan2(direction.x, direction.z);
1086 *angle = atan2(direction.x, direction.z);
1099 // Handle singularity where atan2 switches between +- PI
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java864 double angleRad = Math.atan2(-ty, tx);
H A DMultiWaveView.java839 double angleRad = Math.atan2(-ty, tx);
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java5836 return (float) Math.atan2(dy, dx);
6831 float deltaR = (float) (Math.abs(Math.atan2(mLastVelY, mLastVelX)
6832 - Math.atan2(vy, vx)));

Completed in 331 milliseconds