Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/hardware/
DSensorManager.java1269 return (float) Math.atan2(I[5], I[4]); in getInclination()
1271 return (float) Math.atan2(I[6], I[5]); in getInclination()
1490 values[0] = (float) Math.atan2(R[1], R[4]); in getOrientation()
1492 values[2] = (float) Math.atan2(-R[6], R[8]); in getOrientation()
1494 values[0] = (float) Math.atan2(R[1], R[5]); in getOrientation()
1496 values[2] = (float) Math.atan2(-R[8], R[10]); in getOrientation()
1625 angleChange[0] = (float) Math.atan2(rd1, rd4); in getAngleChange()
1627 angleChange[2] = (float) Math.atan2(-rd6, rd8); in getAngleChange()
DGeomagneticField.java272 return (float) Math.toDegrees(Math.atan2(mY, mX)); in getDeclination()
280 return (float) Math.toDegrees(Math.atan2(mZ, in getInclination()
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java123 double angle = Math.atan2(dy, dx); in setPatternPath()
134 double angle = Math.atan2(dy, dx); in getPath()
/frameworks/base/core/java/android/util/
DMathUtils.java155 public static float atan2(float a, float b) { in atan2() method in MathUtils
156 return (float) Math.atan2(a, b); in atan2()
/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()
/frameworks/base/location/java/android/location/
DLocation.java397 sigma = Math.atan2(sinSigma, cosSigma); // (16) in computeDistanceAndBearing()
436 float initialBearing = (float) Math.atan2(cosU2 * sinLambda, in computeDistanceAndBearing()
440 float finalBearing = (float) Math.atan2(cosU1 * sinLambda, in computeDistanceAndBearing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java201 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
DZigZagClassifier.java153 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rscript82 TEST_FUNC_2(atan2);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dmandelbulb.rscript29 float phi = atan2(p.y, p.x);
/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java124 return 2 * Math.atan2(Math.sqrt(x), Math.sqrt(1 - x)) * EARTH_RADIUS_METER; in distance()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rscript612 f = atan2(f, f);
613 f2 = atan2(f2, f2);
614 f3 = atan2(f3, f3);
615 f4 = atan2(f4, f4);
619 f4 = atan2(f4, f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dapitest.rscript632 f = atan2(f, f);
633 f2 = atan2(f2, f2);
634 f3 = atan2(f3, f3);
635 f4 = atan2(f4, f4);
639 f4 = atan2(f4, f4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript630 f = atan2(f, f);
631 f2 = atan2(f2, f2);
632 f3 = atan2(f3, f3);
633 f4 = atan2(f4, f4);
637 f4 = atan2(f4, f4);
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java749 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); in drawArc()
753 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); in drawArc()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java357 final double angle = Math.atan2(dY, dX); in clampStartingPosition()
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java401 Math.atan2(crossVector.norm(), dotProduct(other)))); in angleBetween()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rscript122 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/rs/script_api/
Drs_math.spec345 function: atan2
360 function: atan2
2006 See also @atan2().
3198 …instructions. For example, instead of computing <code>(a[i] &lt; b[i]) ? 0.f : @atan2(a[i], b[i])…
3199 …for the corresponding elements of a vector, you could instead use <code>step(a, b) * @atan2(a, b)<…
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak235 TEST_FN_FUNC_FN_FN(atan2);
Dmath.rs.orig249 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java740 -Math.atan2(-x, y) * RADIANS_TO_DEGREES); in onSensorChanged()
/frameworks/rs/driver/runtime/
Drs_cl.c383 float __attribute__((overloadable)) atan2(float v1, float v2) { in atan2() function
386 FN_FUNC_FN_FN(atan2)
401 return atan2(y, x) / M_PI; in FN_FUNC_FN()
1611 THUNK_NATIVE_F_F(atan2) in THUNK_NATIVE_F()
1890 HN_FUNC_HN_HN(atan2);

123