Home
last modified time | relevance | path

Searched refs:atan2 (Results 1 – 25 of 56) 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.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/
DZigZagClassifier.java153 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
DFalsingDataProvider.java201 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs82 TEST_FUNC_2(atan2);
/frameworks/av/media/libstagefright/
DVideoFrameScheduler2.cpp160 mPhase = (long) (atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs612 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.rs632 f = atan2(f, f);
633 f2 = atan2(f2, f2);
634 f3 = atan2(f3, f3);
635 f4 = atan2(f4, f4);
639 f4 = atan2(f4, f4);
Dmath.rs274 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rs630 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/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rs123 TEST_HN_FUNC_HN_HN(atan2);
Dmath.rs272 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rs122 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);
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java740 -Math.atan2(-x, y) * RADIANS_TO_DEGREES); in onSensorChanged()

123