Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/hardware/
DSensorManager.java1263 return (float) Math.atan2(I[5], I[4]); in getInclination()
1265 return (float) Math.atan2(I[6], I[5]); in getInclination()
1484 values[0] = (float) Math.atan2(R[1], R[4]); in getOrientation()
1486 values[2] = (float) Math.atan2(-R[6], R[8]); in getOrientation()
1488 values[0] = (float) Math.atan2(R[1], R[5]); in getOrientation()
1490 values[2] = (float) Math.atan2(-R[8], R[10]); in getOrientation()
1619 angleChange[0] = (float) Math.atan2(rd1, rd4); in getAngleChange()
1621 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/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.java394 sigma = Math.atan2(sinSigma, cosSigma); // (16) in computeDistanceAndBearing()
433 float initialBearing = (float) Math.atan2(cosU2 * sinLambda, in computeDistanceAndBearing()
437 float finalBearing = (float) Math.atan2(cosU1 * sinLambda, in computeDistanceAndBearing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java205 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
DZigZagClassifier.java174 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/av/media/libaaudio/examples/loopback/src/analyzer/
DGlitchAnalyzer.h139 double phase = M_PI_2 - atan2(sinMean, cosMean);
/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/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/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/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/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/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java401 Math.atan2(crossVector.norm(), dotProduct(other)))); in angleBetween()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java357 final double angle = Math.atan2(dY, dX); in clampStartingPosition()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java231 float angle = (float) toPositiveDegrees(Math.atan2(x - cx, y - cy)); in onTouchEvent()
/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/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java740 -Math.atan2(-x, y) * RADIANS_TO_DEGREES); in onSensorChanged()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak235 TEST_FN_FUNC_FN_FN(atan2);

123