Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/psedorange/
DSatellitePositionCalculator.java114 Math.cos(eccentricAnomalyRadians) - ephemerisProto.e); in calculateSatellitePositionAndVelocity()
121 * (1.0 - ephemerisProto.e * Math.cos(eccentricAnomalyRadians)); in calculateSatellitePositionAndVelocity()
125 * Math.cos(2.0 * argumentOfLatitudeRadians) + ephemerisProto.crs in calculateSatellitePositionAndVelocity()
129 * Math.cos(2.0 * argumentOfLatitudeRadians) + ephemerisProto.cus in calculateSatellitePositionAndVelocity()
133 * Math.cos(2.0 * argumentOfLatitudeRadians) + ephemerisProto.cis in calculateSatellitePositionAndVelocity()
145 double xPositionMeters = radiusOfSatelliteOrbitMeters * Math.cos(argumentOfLatitudeRadians); in calculateSatellitePositionAndVelocity()
156 double satPosXMeters = xPositionMeters * Math.cos(omegaKRadians) - yPositionMeters in calculateSatellitePositionAndVelocity()
157 * Math.cos(inclinationRadians) * Math.sin(omegaKRadians); in calculateSatellitePositionAndVelocity()
159 * Math.cos(inclinationRadians) * Math.cos(omegaKRadians); in calculateSatellitePositionAndVelocity()
175 meanAnomalyDotRadPerSec / (1.0 - ephemerisProto.e * Math.cos(eccentricAnomalyRadians)); in calculateSatellitePositionAndVelocity()
[all …]
DEcef2EnuConverter.java78 rotationMatrix.setEntry(1, 0, -1 * Math.cos(refLng) * Math.sin(refLat)); in getRotationMatrix()
79 rotationMatrix.setEntry(2, 0, Math.cos(refLng) * Math.cos(refLat)); in getRotationMatrix()
80 rotationMatrix.setEntry(0, 1, Math.cos(refLng)); in getRotationMatrix()
82 rotationMatrix.setEntry(2, 1, Math.cos(refLat) * Math.sin(refLng)); in getRotationMatrix()
84 rotationMatrix.setEntry(1, 2, Math.cos(refLat)); in getRotationMatrix()
DEcef2LlaConverter.java64 final double cosTheta = Math.cos(thetaRadians); in convertECEFToLLACloseForm()
73 double altMeters = (pMeters / Math.cos(latRadians)) - curvatureRadius; in convertECEFToLLACloseForm()
132 pResidual = xyLengthMeters - (ni + altMeters) * Math.cos(latRad);
138 altMeters += Math.sin(latRad) * ecefZMetersResidual + Math.cos(latRad) * pResidual;
139 latRad += (Math.cos(latRad) * ecefZMetersResidual - Math.sin(latRad) * pResidual)
DIonosphericModel.java77 latitudeUSemiCircle + earthCentredAngleSemiCirle * Math.cos(azimuthSemiCircle * Math.PI); in ionoKloboucharCorrectionSeconds()
87 * Math.sin(azimuthSemiCircle * Math.PI) / Math.cos(latitudeISemiCircle * Math.PI); in ionoKloboucharCorrectionSeconds()
91 * Math.cos(longitudeISemiCircle * Math.PI - NORTH_GEOMAGNETIC_POLE_LONGITUDE_RADIANS); in ionoKloboucharCorrectionSeconds()
DTroposphericModelEgnos.java145 * Math.cos(userLatitudeRadians)) / 1000.0; in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
157 * Math.cos(userLatitudeRadians)) / 1000.0; in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
200 double amplitudeScalefactor = Math.cos((2 * Math.PI * (dayOfyear1To366 - dmin)) in calculateZenithDryAndWetDelaysSec()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestCos.rscript24 return cos(inV);
28 return cos(inV);
32 return cos(inV);
36 return cos(inV);
40 return cos(inV);
44 return cos(inV);
48 return cos(inV);
52 return cos(inV);
/cts/tests/tests/libcorelegacy22/src/android/util/cts/
DFloatMathTest.java46 assertEquals(1.0f, FloatMath.cos(0), 0); in testCos()
47 assertEquals(0.5403023058681398f, FloatMath.cos(1), 0); in testCos()
48 assertEquals(0.964966f, FloatMath.cos(50)); in testCos()
49 assertEquals(0.69925081f, FloatMath.cos(150)); in testCos()
50 assertEquals(0.964966f, FloatMath.cos(-50)); in testCos()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspWindow.java146 value = 0.54 - 0.46 * Math.cos(TWOPI * i / (twoOverlap - 1)); in fillHamming()
161 value = 0.54 - 0.46 * Math.cos(TWOPI * k / (twoOverlap - 1)); in fillHamming()
181 value = 0.5 * (1.0 - Math.cos(TWOPI * i / (twoOverlap - 1))); in fillHanning()
195 value = 0.5 * (1.0 - Math.cos(TWOPI * k / (twoOverlap - 1))); in fillHanning()
DDspFftServer.java40 mCos.mData[i] = Math.cos(-2 * Math.PI * i / mN); in init()
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java221 c = (float) Math.cos(xyzth[3]); in testGetQuaternionFromVector()
280 gm[4] = magStrength * (float) Math.cos(-incline); // positive means rotate downwards in testGetRotationMatrix()
371 c = (float) Math.cos(xyzth[3]); in testGetRotationMatrixFromVector()
422 c = (float) Math.cos(halfTheta); in testGetRotationMatrixFromVector()
452 if ( (float) Math.cos(theta / 2.f) < 0.f) { in testGetRotationMatrixFromVector()
682 m[4] = m[8] = (float) Math.cos(angle); in mat9Rot()
687 m[0] = m[8] = (float) Math.cos(angle); in mat9Rot()
692 m[0] = m[4] = (float) Math.cos(angle); in mat9Rot()
/cts/tests/openglperf2/test/
DMatrixTest.cpp219 float cos = cosf(radians); in TEST() local
221 cos, 0.0f, -sin, 0.0f, in TEST()
223 sin, 0.0f, cos, 0.0f, in TEST()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DSphere.java88 float cosi = (float) Math.cos(angleStepI * i); in Sphere()
89 float cosj = (float) Math.cos(angleStepJ * j); in Sphere()
DPlanetsRenderer.java125 RADIUS_ORBIT * (float) Math.cos(((float) i) / (mNumSpheres - 1) * 2 * Math.PI), in PlanetsRenderer()
/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java68 Math.cos(Math.toRadians(inc)) * strength); in assertMagneticField()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java66 static native float cos(float x); in cos() method in CoreMathVerifier
421 static private Target.Floaty cos(double d, Target t) { in cos() method in CoreMathVerifier
424 Math.cos(in.mid()), in cos()
425 Math.cos(in.min()), in cos()
426 Math.cos(in.max())); in cos()
429 static private Target.Floaty cos(float f, Target t) { in cos() method in CoreMathVerifier
432 cos(in.mid32()), in cos()
433 cos(in.min32()), in cos()
434 cos(in.max32())); in cos()
456 Math.cos(in.mid()), in cospi()
[all …]
DMatrix2fTest.java184 float cosTheta = (float)Math.cos((float)theta); in testRotateLoadRotate()
DMatrixTest.rscript706 const float co = cos(inRadians);
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java105 int x = CENTER + (int)(Math.cos(rad) * RADIUS); in verifyColors()
282 double dx = Math.cos(angle) * radius; in testColorLong()
DRadialGradientTest.java108 double dx = Math.cos(angle) * radius; in testColorLong()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java55 * (1 - Math.cos(2 * Math.PI * i / windowWidth)); in hann()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java282 a[1] = -2.0f * alpha * (float)Math.cos(omega); in Biquad()
284 b[1] = -2.0f * (float)Math.cos(omega); in Biquad()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1322 double [] quat = {Math.cos(t/2), Math.sin(t/2)*r[0]/t,Math.sin(t/2)*r[1]/t, in rodr2quat()
1329 quat[0] = Math.cos(t/2); in rodr2quat()
1340 double [] quat = {Math.cos(t/2), Math.sin(t/2)*r[0]/t,Math.sin(t/2)*r[1]/t, in rodr2quat()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java649 c.y = (float) (- Math.cos(angle) * RADIUS + 2); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
686 assertEquals(-Math.cos(angle) * RADIUS, c.y, RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1310 double y = (1 - Math.cos(frameCount / (10. + (runId & ~1)))) in getOrigin()
/cts/tests/tests/media/assets/hls_variant/1676816/
D03.ts3178 wI ���U�'j��,o�V�S5U,�u;M�J�ꥀ�,N�:��܏*�{� �<���7�Ma±����5�=cos?,�����r��mJ‰w�|�.�=�y@6jojA >…