Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestSin.rs24 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/tests/media/libndkaudio/
DWaveTableGenerator.cpp37 tbl[index] = (float) sin(val) * maxValue; in genSinWave()
/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/hardware/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/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()
DPlanetsRenderer.java122 RADIUS_ORBIT * (float) Math.sin(((float) i) / (mNumSpheres - 1) * 2 * Math.PI), in PlanetsRenderer()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java41 int unsigned = (int)(Math.sin(j * (rad + j * sweep)) * Byte.MAX_VALUE) in createSoundDataInByteArray()
54 vai[j] = (short)(Math.sin(j * (rad + j * sweep)) * Short.MAX_VALUE); in createSoundDataInShortArray()
65 vaf[j] = (float)(Math.sin(j * (rad + j * sweep))); in createSoundDataInFloatArray()
79 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE); in createSineWavesShort()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1300 double [] quat = {Math.cos(t/2), Math.sin(t/2)*r[0]/t,Math.sin(t/2)*r[1]/t, in rodr2quat()
1301 Math.sin(t/2)*r[2]/t}; in rodr2quat()
1308 quat[1] = Math.sin(t/2)*r[0]/t; in rodr2quat()
1309 quat[2] = Math.sin(t/2)*r[1]/t; in rodr2quat()
1310 quat[3] = Math.sin(t/2)*r[2]/t; in rodr2quat()
1318 double [] quat = {Math.cos(t/2), Math.sin(t/2)*r[0]/t,Math.sin(t/2)*r[1]/t, in rodr2quat()
1319 Math.sin(t/2)*r[2]/t}; in rodr2quat()
/cts/suite/audio_quality/test_description/processing/
Dcalc_delay.py71 data0 = np.sin(index * multiplier)
Dcalc_thd.py56 data = np.sin(index * multiplier)
/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/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/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()
DMatrixTest.rs707 const float si = sin(inRadians);
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java89 int y = CENTER + (int)(Math.sin(rad) * RADIUS); in checkColors()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java387 c.x = (float) (Math.sin(angle) * RADIUS + 3); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
421 assertEquals(Math.sin(angle) * RADIUS, c.x, 0.001); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1182 double x = (1 - Math.sin(frameCount / (7. + (runId % 2)))) * 0.1 + frameCount * 0.005; in getOrigin()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex16830 public static native double sin(
18057 public static native double sin(
Dclasses.out.dex81109 public static native float sin(