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.java1196 return (float)Math.atan2(I[5], I[4]); in getInclination()
1198 return (float)Math.atan2(I[6], I[5]); in getInclination()
1415 values[0] = (float)Math.atan2(R[1], R[4]); in getOrientation()
1417 values[2] = (float)Math.atan2(-R[6], R[8]); in getOrientation()
1419 values[0] = (float)Math.atan2(R[1], R[5]); in getOrientation()
1421 values[2] = (float)Math.atan2(-R[8], R[10]); in getOrientation()
1549 angleChange[0] = (float)Math.atan2(rd1, rd4); in getAngleChange()
1551 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.java147 public static float atan2(float a, float b) { in atan2() method in MathUtils
148 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.java358 sigma = Math.atan2(sinSigma, cosSigma); // (16) in computeDistanceAndBearing()
397 float initialBearing = (float) Math.atan2(cosU2 * sinLambda, in computeDistanceAndBearing()
401 float finalBearing = (float) Math.atan2(cosU1 * sinLambda, in computeDistanceAndBearing()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs82 TEST_FUNC_2(atan2);
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp225 double eta0 = atan2((y0p - cy), (x0p - cx)); in drawArc()
227 double eta1 = atan2((y1p - cy), (x1p - cx)); in drawArc()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DPathParser.java647 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); in drawArc()
649 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); in drawArc()
/frameworks/base/libs/hwui/
DPathTessellator.cpp275 float beginTheta = atan2( in getStrokeVerticesFromUnclosedVertices()
278 float endTheta = atan2( in getStrokeVerticesFromUnclosedVertices()
464 float theta = atan2(normal.y, normal.x); in storeCapAA()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs614 f = atan2(f, f);
615 f2 = atan2(f2, f2);
616 f3 = atan2(f3, f3);
617 f4 = atan2(f4, f4);
621 f4 = atan2(f4, f4);
Dmath.rs249 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/rs/java/tests/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/base/graphics/java/android/graphics/drawable/
DRippleForeground.java340 final double angle = Math.atan2(dY, dX); in clampStartingPosition()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java746 double eta0 = Math.atan2((y0p - cy), (x0p - cx)); in drawArc()
750 double eta1 = Math.atan2((y1p - cy), (x1p - cx)); in drawArc()
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java396 Math.atan2(crossVector.norm(), dotProduct(other)))); in angleBetween()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath_fp16.rs107 TEST_HN_FUNC_HN_HN(atan2);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs122 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/rs/api/
Drs_math.spec331 function: atan2
346 function: atan2
1992 See also @atan2().
3184 …instructions. For example, instead of computing <code>(a[i] &lt; b[i]) ? 0.f : @atan2(a[i], b[i])…
3185 …for the corresponding elements of a vector, you could instead use <code>step(a, b) * @atan2(a, b)<…
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs249 TEST_FN_FUNC_FN_FN(atan2);
/frameworks/native/services/surfaceflinger/
DDispSync.cpp571 mPhase = nsecs_t(atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak235 TEST_FN_FUNC_FN_FN(atan2);
Dmath.rs249 TEST_FN_FUNC_FN_FN(atan2);

123