Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DMathUtils.java135 public static float atan2(float a, float b) { in atan2() method in MathUtils
136 return (float) Math.atan2(a, b); in atan2()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1402 return (float)Math.atan2(I[5], I[4]); in getInclination()
1404 return (float)Math.atan2(I[6], I[5]); in getInclination()
1615 values[0] = (float)Math.atan2(R[1], R[4]); in getOrientation()
1617 values[2] = (float)Math.atan2(-R[6], R[8]); in getOrientation()
1619 values[0] = (float)Math.atan2(R[1], R[5]); in getOrientation()
1621 values[2] = (float)Math.atan2(-R[8], R[10]); in getOrientation()
1962 angleChange[0] = (float)Math.atan2(rd1, rd4); in getAngleChange()
1964 angleChange[2] = (float)Math.atan2(-rd6, rd8); in getAngleChange()
DGeomagneticField.java268 return (float) Math.toDegrees(Math.atan2(mY, mX)); in getDeclination()
276 return (float) Math.toDegrees(Math.atan2(mZ, in getInclination()
/frameworks/base/core/java/android/gesture/
DInstance.java94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); in temporalSampler()
DGestureUtils.java509 angle = (float) Math.atan2(targetVector[1], targetVector[0]); in computeOrientedBoundingBox()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java128 float angle = (float)Math.atan2(-Y, X) * OneEightyOverPi; in onSensorChanged()
DWindowOrientationListener.java430 -Math.atan2(-x, y) * RADIANS_TO_DEGREES); in onSensorChanged()
/frameworks/base/location/java/android/location/
DLocation.java320 sigma = Math.atan2(sinSigma, cosSigma); // (16) in computeDistanceAndBearing()
360 float initialBearing = (float) Math.atan2(cosU2 * sinLambda, in computeDistanceAndBearing()
365 float finalBearing = (float) Math.atan2(cosU1 * sinLambda, in computeDistanceAndBearing()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs82 TEST_FUNC_2(atan2);
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_cl.c341 extern float __attribute__((overloadable)) atan2(float, float);
342 FN_FUNC_FN_FN(atan2)
354 return atan2(y, x) / M_PI; in FN_FUNC_FN()
/frameworks/base/core/java/com/android/internal/widget/
DWaveView.java187 double touchA = Math.atan2(distX, distY); in waveUpdateFrame()
DLockPatternView.java1015 final float theta = (float) Math.atan2(
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dmath.rs249 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/base/libs/rs/scriptc/
Drs_cl.rsh180 extern float __attribute__((overloadable)) atan2(float y, float x);
181 FN_FUNC_FN_FN(atan2)
/frameworks/ex/carousel/java/com/android/ex/carousel/
Dcarousel.rs1051 *angle = atan2(direction.x, direction.z);
1058 *angle = atan2(direction.x, direction.z);
/frameworks/base/core/java/android/webkit/
DWebView.java5973 return (float) Math.atan2(dy, dx); in calculateDragAngle()
7142 float deltaR = (float) (Math.abs(Math.atan2(mLastVelY, mLastVelX)
7143 - Math.atan2(vy, vx)));
/frameworks/base/api/
Dcurrent.txt29778 method public static double atan2(double, double);
30089 method public static double atan2(double, double);
D14.txt29778 method public static double atan2(double, double);
30089 method public static double atan2(double, double);