/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestCos.rs | 24 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/ |
D | FloatMathTest.java | 46 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/ |
D | DspWindow.java | 146 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()
|
D | DspFftServer.java | 40 mCos.mData[i] = Math.cos(-2 * Math.PI * i / mN); in init()
|
/cts/tests/openglperf2/test/ |
D | MatrixTest.cpp | 219 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/ |
D | SensorManagerStaticTest.java | 221 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/ |
D | Sphere.java | 88 float cosi = (float) Math.cos(angleStepI * i); in Sphere() 89 float cosj = (float) Math.cos(angleStepJ * j); in Sphere()
|
D | PlanetsRenderer.java | 124 RADIUS_ORBIT * (float) Math.cos(((float) i) / (mNumSpheres - 1) * 2 * Math.PI), in PlanetsRenderer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Common.java | 55 * (1 - Math.cos(2 * Math.PI * i / windowWidth)); in hann()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestAacDrc.java | 230 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/ |
D | CoreMathVerifier.java | 66 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 …]
|
D | Matrix2fTest.java | 184 float cosTheta = (float)Math.cos((float)theta); in testRotateLoadRotate()
|
D | MatrixTest.rs | 706 const float co = cos(inRadians);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 100 int x = CENTER + (int)(Math.cos(rad) * RADIUS); in verifyColors()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 1300 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/ |
D | MotionEventTest.java | 606 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/ |
D | VideoEncoderDecoderTest.java | 1183 double y = (1 - Math.cos(frameCount / (10. + (runId & ~1)))) in getOrigin()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 16741 public static native double cos( 17968 public static native double cos(
|
D | classes.out.dex | 81103 public static native float cos(
|