Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestCos.rs24 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/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/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/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.java124 RADIUS_ORBIT * (float) Math.cos(((float) i) / (mNumSpheres - 1) * 2 * Math.PI), in PlanetsRenderer()
/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.java230 a[1] = -2.0f * alpha * (float)Math.cos(omega); in Biquad()
232 b[1] = -2.0f * (float)Math.cos(omega); in Biquad()
/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.rs706 const float co = cos(inRadians);
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java100 int x = CENTER + (int)(Math.cos(rad) * RADIUS); in verifyColors()
/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()
1307 quat[0] = Math.cos(t/2); 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()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java606 c.y = (float) (- Math.cos(angle) * RADIUS + 2); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
640 assertEquals(- Math.cos(angle) * RADIUS, c.y, 0.001); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1183 double y = (1 - Math.cos(frameCount / (10. + (runId & ~1)))) in getOrigin()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex16741 public static native double cos(
17968 public static native double cos(
Dclasses.out.dex81103 public static native float cos(