/frameworks/base/core/java/android/hardware/ |
D | SensorManager.java | 1272 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()
|
D | GeomagneticField.java | 272 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/ |
D | PatternPathMotion.java | 123 double angle = Math.atan2(dy, dx); in setPatternPath() 134 double angle = Math.atan2(dy, dx); in getPath()
|
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 155 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/ |
D | Cam.java | 185 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/ |
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()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipPinchResizingAlgorithm.java | 70 float angle = (float) Math.atan2(cross(mTmpDownVector, mTmpLastVector), in calculateBoundsAndAngle()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 365 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/ |
D | math_fp.rscript | 82 TEST_FUNC_2(atan2);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | mandelbulb.rscript | 29 float phi = atan2(p.y, p.x);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | ZigZagClassifier.java | 185 return (float) Math.atan2(lastY, lastX); in getAtan2LastPoint()
|
D | FalsingDataProvider.java | 253 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CbGeoUtils.java | 124 return 2 * Math.atan2(Math.sqrt(x), Math.sqrt(1 - x)) * EARTH_RADIUS_METER; in distance()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | PathParser_Delegate.java | 749 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/ |
D | apitest.rscript | 632 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/ |
D | apitest.rscript | 630 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/ |
D | apitest.rscript | 612 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/ |
D | RippleForeground.java | 357 final double angle = Math.atan2(dY, dX); in clampStartingPosition()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AnyMotionDetector.java | 401 Math.atan2(crossVector.norm(), dotProduct(other)))); in angleBetween()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 267 float angle = (float) toPositiveDegrees(Math.atan2(x - cx, y - cy)); in onTouchEvent()
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 122 TEST_FN_FUNC_FN_FN(atan2);
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 345 function: atan2 360 function: atan2 2006 See also @atan2(). 3198 …instructions. For example, instead of computing <code>(a[i] < 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/ |
D | math.rs.bak | 235 TEST_FN_FUNC_FN_FN(atan2);
|