Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/hardware/
DSensorManager.java1272 return (float) Math.atan2(I[5], I[4]); in getInclination()
1274 return (float) Math.atan2(I[6], I[5]); in getInclination()
1493 values[0] = (float) Math.atan2(R[1], R[4]); in getOrientation()
1495 values[2] = (float) Math.atan2(-R[6], R[8]); in getOrientation()
1497 values[0] = (float) Math.atan2(R[1], R[5]); in getOrientation()
1499 values[2] = (float) Math.atan2(-R[8], R[10]); in getOrientation()
1628 angleChange[0] = (float) Math.atan2(rd1, rd4); in getAngleChange()
1630 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/com/android/internal/graphics/cam/
DCam.java185 float atan2 = (float) Math.atan2(b, a); in fromIntInFrame() local
186 float atanDegrees = atan2 * 180.0f / (float) Math.PI; in fromIntInFrame()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipPinchResizingAlgorithm.java70 float angle = (float) Math.atan2(cross(mTmpDownVector, mTmpLastVector), in calculateBoundsAndAngle()
/frameworks/base/location/java/android/location/
DLocation.java365 sigma = Math.atan2(sinSigma, cosSigma); // (16) in computeDistanceAndBearing()
403 float initialBearing = (float) Math.atan2(cosU2 * sinLambda, in computeDistanceAndBearing()
407 float finalBearing = (float) Math.atan2(cosU1 * sinLambda, in computeDistanceAndBearing()
/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/packages/SystemUI/src/com/android/systemui/classifier/
DZigZagClassifier.java185 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
DFalsingDataProvider.java253 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
/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/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/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/base/graphics/java/android/graphics/drawable/
DRippleForeground.java357 final double angle = Math.atan2(dY, dX); in clampStartingPosition()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java401 Math.atan2(crossVector.norm(), dotProduct(other)))); in angleBetween()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java267 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/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak235 TEST_FN_FUNC_FN_FN(atan2);

123