Home
last modified time | relevance | path

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

12345

/aosp12/art/test/123-inline-execute2/
H A Dexpected-stdout.txt10 Math.atan2(0.0, 1.0) = 0.000000000000
20 Math.atan2(0.7853981633974483, 1.7853981633974483) = 0.414423800577
29 Math.atan2(1.5707963267948966, 2.5707963267948966) = 0.548479764417
39 Math.atan2(2.356194490192345, 3.356194490192345) = 0.612096117380
49 Math.atan2(3.141592653589793, 4.141592653589793) = 0.648948780815
59 Math.atan2(3.9269908169872414, 4.926990816987241) = 0.672931229191
68 Math.atan2(4.71238898038469, 5.71238898038469) = 0.689765469251
78 Math.atan2(5.497787143782138, 6.497787143782138) = 0.702226398171
88 Math.atan2(6.283185307179586, 7.283185307179586) = 0.711819549590
159 StrictMath.atan2(0.0, 1.0) = 0.0
[all …]
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/
H A Dcatrig.c329 ry = atan2(new_y, sqrt_A2my2); in casinh()
418 rx = atan2(sqrt_A2mx2, new_x); in cacos()
420 rx = atan2(sqrt_A2mx2, -new_x); in cacos()
485 return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x))); in clog_for_large_values()
492 return (CMPLX(log(hypot(x, y)), atan2(y, x))); in clog_for_large_values()
494 return (CMPLX(log(ax * ax + ay * ay) / 2, atan2(y, x))); in clog_for_large_values()
627 ry = atan2(2, -ay) / 2; in catanh()
629 ry = atan2(2 * ay, (1 - ax) * (1 + ax)) / 2; in catanh()
631 ry = atan2(2 * ay, (1 - ax) * (1 + ax) - ay * ay) / 2; in catanh()
H A Ds_carg.c39 return (atan2(cimag(z), creal(z))); in carg()
H A De_atan2.c128 __weak_reference(atan2, atan2l);
H A Ds_clog.c55 v = atan2(y, x); in clog()
/aosp12/frameworks/base/core/java/android/hardware/
H A 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()
H A DGeomagneticField.java272 return (float) Math.toDegrees(Math.atan2(mY, mX)); in getDeclination()
280 return (float) Math.toDegrees(Math.atan2(mZ, in getInclination()
/aosp12/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java123 double angle = Math.atan2(dy, dx); in setPatternPath()
134 double angle = Math.atan2(dy, dx); in getPath()
/aosp12/bionic/libm/x86/
H A De_atan2.S94 # -- Begin atan2
95 ENTRY(atan2)
451 END(atan2)
452 # -- End atan2
455 ALIAS_SYMBOL(atan2l, atan2);
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureStrokeDrawingPoints.java143 final double m1 = Math.atan2(mInterpolator.mSlope1Y, mInterpolator.mSlope1X); in interpolateStrokeAndReturnStartIndexOfLastSegment()
144 final double m2 = Math.atan2(mInterpolator.mSlope2Y, mInterpolator.mSlope2X); in interpolateStrokeAndReturnStartIndexOfLastSegment()
H A DRoundedLine.java54 final double a = Math.atan2(dy, dx); in makePath()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
H A DOneHandedModeInputConsumer.java171 final float angle = (float) Math.toDegrees(Math.atan2(deltaY, deltaX)); in isValidStartAngle()
176 final float angle = (float) Math.toDegrees(Math.atan2(deltaY, deltaX)); in isValidExitAngle()
/aosp12/bionic/libm/x86_64/
H A De_atan2.S79 # -- Begin atan2
80 ENTRY(atan2)
411 END(atan2)
412 # -- End atan2
/aosp12/frameworks/base/core/java/com/android/internal/graphics/cam/
H A DCam.java185 float atan2 = (float) Math.atan2(b, a); in fromIntInFrame() local
186 float atanDegrees = atan2 * 180.0f / (float) Math.PI; in fromIntInFrame()
/aosp12/frameworks/base/core/java/android/util/
H A DMathUtils.java155 public static float atan2(float a, float b) { in atan2() method in MathUtils
156 return (float) Math.atan2(a, b); in atan2()
/aosp12/art/test/123-inline-execute2/src/
H A DMain.java45 + String.format(Locale.US, "%.12f", Math.atan2(d, d + 1.0))); in main()
91 + StrictMath.atan2(d, d + 1.0)); in main()
/aosp12/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
H A Dmlmath.h54 #define atan2(x,y) ml_atan2(x,y) macro
/aosp12/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
H A Dmlmath.h54 #define atan2(x,y) ml_atan2(x,y) macro
/aosp12/frameworks/base/core/java/android/gesture/
H A DInstance.java94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); in temporalSampler()
/aosp12/frameworks/base/core/java/android/view/
H A DOrientationEventListener.java128 float angle = (float)Math.atan2(-Y, X) * OneEightyOverPi; in onSensorChanged()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DAccelerometerListener.java157 double angle = Math.atan2(xy, z); in onSensorEvent()
/aosp12/bionic/libc/include/
H A Dmath.h88 double atan2(double __y, double __x);
90 long double atan2l(long double __y, long double __x) __RENAME_LDBL(atan2, 3, 21);
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DMotionEventHelper.java111 float result = (float) Math.atan2(v[0], -v[1]); in transformAngle()
/aosp12/packages/apps/Gallery2/jni/filters/
H A Dtinyplanet.cc110 float theta = angle+atan2(yf, xf); in StereographicProjection()
/aosp12/packages/apps/Camera2/jni/
H A Dtinyplanet.cc111 float theta = angle+atan2(yf, xf); in StereographicProjection()

12345