Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestAtan2.rscript26 return atan2(inNumerator, inDenominator);
31 return atan2(inNumerator, inDenominator);
36 return atan2(inNumerator, inDenominator);
41 return atan2(inNumerator, inDenominator);
46 return atan2(inNumerator, inDenominator);
51 return atan2(inNumerator, inDenominator);
56 return atan2(inNumerator, inDenominator);
61 return atan2(inNumerator, inDenominator);
/cts/libs/view/src/com/android/view/
DPosition.java64 double originToThisAngle = Math.atan2(origin.mY - mY, mX - origin.mX); in arcAngleTo()
65 double originToOtherAngle = Math.atan2(origin.mY - other.mY, other.mX - origin.mX); in arcAngleTo()
84 return Math.atan2(other.mY - mY, other.mX - mX); in angleTo()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/
DEcef2LlaConverter.java57 Math.atan2(EARTH_SEMI_MAJOR_AXIS_METERS * ecefZMeters, SEMI_MINOR_AXIS_METERS * pMeters); in convertECEFToLLACloseForm()
59 double lngRadians = Math.atan2(ecefYMeters, ecefXMeters); in convertECEFToLLACloseForm()
69 double latRadians = Math.atan2(tempY, tempX); in convertECEFToLLACloseForm()
102 lngRad = Math.atan2(ecefYMeters, ecefXMeters);
DEcefToTopocentricConverter.java64 elevationRadians = Math.atan2(upMeters, horizontalDistanceMeters); in convertCartesianToTopocentericRadMeters()
65 azimuthRadians = Math.atan2(eastMeters, northMeters); in convertCartesianToTopocentericRadMeters()
DSatellitePositionCalculator.java111 double trueAnomalyRadians = Math.atan2( in calculateSatellitePositionAndVelocity()
/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java74 Math.toDegrees(Math.atan2(field.getY(), field.getX()))); in assertMagneticField()
/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DCam.java180 float atan2 = (float) Math.atan2(b, a); in fromIntInFrame() local
181 float atanDegrees = atan2 * 180.0f / (float) Math.PI; in fromIntInFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1312 double [] rpy = {Math.atan2(2*(q[0]*q[1]+q[2]*q[3]), 1-2*(q[1]*q[1]+q[2]*q[2])), in quat2rpy()
1314 Math.atan2(2*(q[0]*q[3]+q[1]*q[2]), 1-2*(q[2]*q[2]+q[3]*q[3]))}; in quat2rpy()
1319 rpy[0] = Math.atan2(2*(q[0]*q[1]+q[2]*q[3]), 1-2*(q[1]*q[1]+q[2]*q[2])); in quat2rpy()
1321 rpy[2] = Math.atan2(2*(q[0]*q[3]+q[1]*q[2]), 1-2*(q[2]*q[2]+q[3]*q[3])); in quat2rpy()
1328 double [] rpy = {Math.atan2(2*(q[0]*q[1]+q[2]*q[3]), 1-2*(q[1]*q[1]+q[2]*q[2])), in quat2rpy()
1330 Math.atan2(2*(q[0]*q[3]+q[1]*q[2]), 1-2*(q[2]*q[2]+q[3]*q[3]))}; in quat2rpy()
DRVCVRecordActivity.java955 dz = (int)((Math.atan2(mRTemp[4], mRTemp[0])+Math.PI)*(180.0/Math.PI)); in onNewData()
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.cpp166 transformMatrix->rotate(atan2(vel->mY, vel->mX) + M_PI, 0, 0, 1); in updateSceneGraphs()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java62 static native float atan2(float x, float y); in atan2() method in CoreMathVerifier
367 static private Target.Floaty atan2(double y, double x, Target t) { in atan2() method in CoreMathVerifier
371 Math.atan2(numerator.mid(), denominator.mid()), in atan2()
372 Math.atan2(numerator.min(), denominator.min()), in atan2()
373 Math.atan2(numerator.min(), denominator.max()), in atan2()
374 Math.atan2(numerator.max(), denominator.min()), in atan2()
375 Math.atan2(numerator.max(), denominator.max())); in atan2()
378 static private Target.Floaty atan2(float y, float x, Target t) { in atan2() method in CoreMathVerifier
382 atan2(numerator.mid32(), denominator.mid32()), in atan2()
383 atan2(numerator.min32(), denominator.min32()), in atan2()
[all …]
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DGlitchAnalyzer.h139 double phase = M_PI_2 - atan2(sinMean, cosMean);
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java912 Math.toDegrees(Math.atan2(physicalDiag/(2 * totalZoomRatio), in testDefaultFov()
1039 double fov = 2 * Math.toDegrees(Math.atan2(sensorSize.getWidth() * cropRegion.width() / in validatePhysicalCamerasFov()
1058 double physicalFov = 2 * Math.toDegrees(Math.atan2( in validatePhysicalCamerasFov()
1062 double maxPhysicalFov = 2 * Math.toDegrees(Math.atan2(physicalSensorSize.getWidth() / 2, in validatePhysicalCamerasFov()
DExtendedCameraCharacteristicsTest.java3207 return 2 * Math.toDegrees(Math.atan2(physicalDiag / 2, availableFocalLengths[0]));
/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py498 rotation = -math.atan2(tform[0, 1], tform[0, 0])
500 rotation = math.atan2(tform[0, 1], tform[0, 0])