/cts/tests/tests/location/src/android/location/cts/psedorange/ |
D | SatellitePositionCalculator.java | 113 * 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 …]
|
D | Ecef2EnuConverter.java | 77 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()
|
D | Ecef2LlaConverter.java | 63 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)
|
D | TroposphericModelEgnos.java | 149 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()
|
D | SatelliteClockCorrectionCalculator.java | 93 meanAnomalyRad + ephemerisProto.e * Math.sin(eccentricAnomalyRad); in calculateSatClockCorrAndEccAnomAndTkIteratively() 102 * ephemerisProto.rootOfA * Math.sin(eccentricAnomalyRad); in calculateSatClockCorrAndEccAnomAndTkIteratively()
|
D | IonosphericModel.java | 87 * Math.sin(azimuthSemiCircle * Math.PI) / Math.cos(latitudeISemiCircle * Math.PI); in ionoKloboucharCorrectionSeconds()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestSin.rscript | 24 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/ |
D | FloatMathTest.java | 54 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/ |
D | SensorManagerStaticTest.java | 222 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/ |
D | MatrixTest.cpp | 218 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/ |
D | Sphere.java | 86 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/ |
D | RVCVXCheckAnalyzer.java | 1322 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/ |
D | SignalGenerator.java | 36 buffer[index] = (float)Math.sin(index * incr); in fillFloatSine()
|
/cts/tests/tests/media/libndkaudio/ |
D | WaveTableGenerator.cpp | 37 tbl[index] = (float) sin(val) * maxValue; in genSinWave()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 70 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/ |
D | calc_thd.py | 56 data = np.sin(index * multiplier)
|
D | calc_delay.py | 71 data0 = np.sin(index * multiplier)
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 71 float verticalFieldStrengthNanoTesla = (float) (Math.sin(Math.toRadians(inc)) * strength); in assertMagneticField()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundGenerator.java | 63 pipArray[i] = window[i] * Math.sin(i * radPerSample); in getPip()
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioSignalFactory.cpp | 34 double val = sin(multiplier * i) * maxPositive; in generateSineWave()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | CoreMathVerifier.java | 106 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 …]
|
D | Matrix2fTest.java | 185 float sinTheta = (float)Math.sin((float)theta); in testRotateLoadRotate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | DspFftServer.java | 41 mSin.mData[i] = Math.sin(-2 * Math.PI * i / mN); in init()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 106 int y = CENTER + (int)(Math.sin(rad) * RADIUS); in verifyColors() 283 double dy = Math.sin(angle) * radius; in testColorLong()
|
D | RadialGradientTest.java | 109 double dy = Math.sin(angle) * radius; in testColorLong()
|