Searched refs:atan2 (Results 1 – 18 of 18) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 135 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/ |
D | SensorManager.java | 1402 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()
|
D | GeomagneticField.java | 268 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/ |
D | Instance.java | 94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); in temporalSampler()
|
D | GestureUtils.java | 509 angle = (float) Math.atan2(targetVector[1], targetVector[0]); in computeOrientedBoundingBox()
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 128 float angle = (float)Math.atan2(-Y, X) * OneEightyOverPi; in onSensorChanged()
|
D | WindowOrientationListener.java | 430 -Math.atan2(-x, y) * RADIANS_TO_DEGREES); in onSensorChanged()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 320 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/ |
D | math_fp.rs | 82 TEST_FUNC_2(atan2);
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
D | rs_cl.c | 341 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/ |
D | WaveView.java | 187 double touchA = Math.atan2(distX, distY); in waveUpdateFrame()
|
D | LockPatternView.java | 1015 final float theta = (float) Math.atan2(
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | math.rs | 249 TEST_FN_FUNC_FN_FN(atan2);
|
/frameworks/base/libs/rs/scriptc/ |
D | rs_cl.rsh | 180 extern float __attribute__((overloadable)) atan2(float y, float x); 181 FN_FUNC_FN_FN(atan2)
|
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
D | carousel.rs | 1051 *angle = atan2(direction.x, direction.z); 1058 *angle = atan2(direction.x, direction.z);
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 5973 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/ |
D | current.txt | 29778 method public static double atan2(double, double); 30089 method public static double atan2(double, double);
|
D | 14.txt | 29778 method public static double atan2(double, double); 30089 method public static double atan2(double, double);
|