Home
last modified time | relevance | path

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

12

/cts/tests/tests/location/src/android/location/cts/psedorange/
DSatellitePositionCalculator.java113 * Math.sin(eccentricAnomalyRadians), in calculateSatellitePositionAndVelocity()
126 * Math.sin(2.0 * argumentOfLatitudeRadians); in calculateSatellitePositionAndVelocity()
130 * Math.sin(2.0 * argumentOfLatitudeRadians); in calculateSatellitePositionAndVelocity()
134 * Math.sin(2.0 * argumentOfLatitudeRadians); in calculateSatellitePositionAndVelocity()
146 double yPositionMeters = radiusOfSatelliteOrbitMeters * Math.sin(argumentOfLatitudeRadians); in calculateSatellitePositionAndVelocity()
157 * Math.cos(inclinationRadians) * Math.sin(omegaKRadians); in calculateSatellitePositionAndVelocity()
158 double satPosYMeters = xPositionMeters * Math.sin(omegaKRadians) + yPositionMeters in calculateSatellitePositionAndVelocity()
160 double satPosZMeters = yPositionMeters * Math.sin(inclinationRadians); in calculateSatellitePositionAndVelocity()
177 double trueAnomalydotRadPerSec = Math.sin(eccentricAnomalyRadians) in calculateSatellitePositionAndVelocity()
180 Math.sin(trueAnomalyRadians) in calculateSatellitePositionAndVelocity()
[all …]
DEcef2EnuConverter.java77 rotationMatrix.setEntry(0, 0, -1 * Math.sin(refLng)); in getRotationMatrix()
78 rotationMatrix.setEntry(1, 0, -1 * Math.cos(refLng) * Math.sin(refLat)); in getRotationMatrix()
81 rotationMatrix.setEntry(1, 1, -1 * Math.sin(refLat) * Math.sin(refLng)); in getRotationMatrix()
82 rotationMatrix.setEntry(2, 1, Math.cos(refLat) * Math.sin(refLng)); in getRotationMatrix()
85 rotationMatrix.setEntry(2, 2, Math.sin(refLat)); in getRotationMatrix()
DEcef2LlaConverter.java63 final double sinTheta = Math.sin(thetaRadians); in convertECEFToLLACloseForm()
72 / Math.sqrt(1 - Math.pow(ECCENTRICITY, 2) * (Math.pow(Math.sin(latRadians), 2))); in convertECEFToLLACloseForm()
125 sinPhi = Math.sin(latRad);
129 / INVERSE_FLATENNING * Math.sin(latRad) * Math.sin(latRad));
135 * Math.sin(latRad);
138 altMeters += Math.sin(latRad) * ecefZMetersResidual + Math.cos(latRad) * pResidual;
139 latRad += (Math.cos(latRad) * ecefZMetersResidual - Math.sin(latRad) * pResidual)
DTroposphericModelEgnos.java149 double denominatorDry = Math.sin(satElevationRadians) + (aHidrostatic / ( in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
150 Math.sin(satElevationRadians) in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
151 + (B_HYDROSTATIC / (Math.sin(satElevationRadians) + C_HYDROSTATIC)))); in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
162 double denominatorWet = Math.sin(satElevationRadians) + (aNonHydrostatic / ( in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
163 Math.sin(satElevationRadians) in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
164 + (B_NON_HYDROSTATIC / (Math.sin(satElevationRadians) + C_NON_HYDROSTATIC)))); in computeDryAndWetMappingValuesUsingUNBabcMappingFunction()
DSatelliteClockCorrectionCalculator.java93 meanAnomalyRad + ephemerisProto.e * Math.sin(eccentricAnomalyRad); in calculateSatClockCorrAndEccAnomAndTkIteratively()
102 * ephemerisProto.rootOfA * Math.sin(eccentricAnomalyRad); in calculateSatClockCorrAndEccAnomAndTkIteratively()
DIonosphericModel.java87 * Math.sin(azimuthSemiCircle * Math.PI) / Math.cos(latitudeISemiCircle * Math.PI); in ionoKloboucharCorrectionSeconds()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestSin.rscript24 return sin(inV);
28 return sin(inV);
32 return sin(inV);
36 return sin(inV);
40 return sin(inV);
44 return sin(inV);
48 return sin(inV);
52 return sin(inV);
/cts/tests/tests/libcorelegacy22/src/android/util/cts/
DFloatMathTest.java54 assertEquals(0.0, FloatMath.sin(0), 0); in testSin()
55 assertEquals(0.8414709848078965f, FloatMath.sin(1), 0); in testSin()
56 assertEquals(-0.26237485f, FloatMath.sin(50)); in testSin()
57 assertEquals(-0.71487643f, FloatMath.sin(150)); in testSin()
58 assertEquals(0.26237485f, FloatMath.sin(-50)); in testSin()
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java222 s = (float) Math.sin(xyzth[3]); in testGetQuaternionFromVector()
281 gm[7] = magStrength * (float) Math.sin(-incline); in testGetRotationMatrix()
372 s = (float) Math.sin(xyzth[3]); in testGetRotationMatrixFromVector()
423 s = (float) Math.sin(halfTheta); in testGetRotationMatrixFromVector()
451 v[axis - 1] = (float) Math.sin(theta / 2.f); in testGetRotationMatrixFromVector()
683 m[5] = - (m[7] = (float) Math.sin(angle)); in mat9Rot()
688 m[6] = - (m[2] = (float) Math.sin(angle)); in mat9Rot()
693 m[1] = - (m[3] = (float) Math.sin(angle)); in mat9Rot()
/cts/tests/openglperf2/test/
DMatrixTest.cpp218 float sin = sinf(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.java86 float sini = (float) Math.sin(angleStepI * i); in Sphere()
87 float sinj = (float) Math.sin(angleStepJ * j); in Sphere()
/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()
1323 Math.sin(t/2)*r[2]/t}; in rodr2quat()
1330 quat[1] = Math.sin(t/2)*r[0]/t; in rodr2quat()
1331 quat[2] = Math.sin(t/2)*r[1]/t; in rodr2quat()
1332 quat[3] = Math.sin(t/2)*r[2]/t; 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()
1341 Math.sin(t/2)*r[2]/t}; in rodr2quat()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DSignalGenerator.java36 buffer[index] = (float)Math.sin(index * incr); in fillFloatSine()
/cts/tests/tests/media/libndkaudio/
DWaveTableGenerator.cpp37 tbl[index] = (float) sin(val) * maxValue; in genSinWave()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java70 int unsigned = (int)(Math.sin(j * (rad + j * sweep)) * Byte.MAX_VALUE) in createSoundDataInByteArray()
83 vai[j] = (short)(Math.sin(j * (rad + j * sweep)) * Short.MAX_VALUE); in createSoundDataInShortArray()
94 vaf[j] = (float)(Math.sin(j * (rad + j * sweep))); in createSoundDataInFloatArray()
108 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE); in createSineWavesShort()
/cts/suite/audio_quality/test_description/processing/
Dcalc_thd.py56 data = np.sin(index * multiplier)
Dcalc_delay.py71 data0 = np.sin(index * multiplier)
/cts/tests/tests/hardware/src/android/hardware/cts/
DGeomagneticFieldTest.java71 float verticalFieldStrengthNanoTesla = (float) (Math.sin(Math.toRadians(inc)) * strength); in assertMagneticField()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundGenerator.java63 pipArray[i] = window[i] * Math.sin(i * radPerSample); in getPip()
/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp34 double val = sin(multiplier * i) * maxPositive; in generateSineWave()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java106 static native float sin(float x); in sin() method in CoreMathVerifier
943 static private Target.Floaty sin(double d, Target t) { in sin() method in CoreMathVerifier
946 Math.sin(in.mid()), in sin()
947 Math.sin(in.min()), in sin()
948 Math.sin(in.max())); in sin()
951 static private Target.Floaty sin(float f, Target t) { in sin() method in CoreMathVerifier
954 sin(in.mid32()), in sin()
955 sin(in.min32()), in sin()
956 sin(in.max32())); in sin()
978 Math.sin(in.mid()), in sinpi()
[all …]
DMatrix2fTest.java185 float sinTheta = (float)Math.sin((float)theta); in testRotateLoadRotate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspFftServer.java41 mSin.mData[i] = Math.sin(-2 * Math.PI * i / mN); in init()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java106 int y = CENTER + (int)(Math.sin(rad) * RADIUS); in verifyColors()
283 double dy = Math.sin(angle) * radius; in testColorLong()
DRadialGradientTest.java109 double dy = Math.sin(angle) * radius; in testColorLong()

12