Home
last modified time | relevance | path

Searched refs:angle (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java156 float angle; in testGetInclination() local
157 angle = (data.nextFloat()-0.5f) * FLOAT_PI; in testGetInclination()
158 R = mat9Rot(SensorManager.AXIS_X, -angle); in testGetInclination()
165 i, angle, angler), in testGetInclination()
166 angle, angler, 1e-4f); in testGetInclination()
677 private static float [] mat9Rot(int axis, float angle) { in mat9Rot() argument
682 m[4] = m[8] = (float) Math.cos(angle); in mat9Rot()
683 m[5] = - (m[7] = (float) Math.sin(angle)); in mat9Rot()
687 m[0] = m[8] = (float) Math.cos(angle); in mat9Rot()
688 m[6] = - (m[2] = (float) Math.sin(angle)); in mat9Rot()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java384 final float angle = (float) (i * ARC * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local
387 c.x = (float) (Math.sin(angle) * RADIUS + 3); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
388 c.y = (float) (- Math.cos(angle) * RADIUS + 2); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
389 c.orientation = angle; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
420 final float angle = (float) ((i * ARC + ROTATION) * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local
421 assertEquals(Math.sin(angle) * RADIUS, c.x, 0.001); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
422 assertEquals(- Math.cos(angle) * RADIUS, c.y, 0.001); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
423 assertEquals(Math.tan(angle), Math.tan(c.orientation), 0.1); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
/cts/apps/CtsVerifier/include/colorchecker/
Dimagetesthandler.h43 void drawLine(int angle, int radius, const Vec3i &color);
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java893 private void testRecordedVideoPlaybackWithAngle(int angle) throws Exception {
925 checkOrientation(angle);
926 recordVideo(width, height, angle, file, durationMs);
927 checkDisplayedVideoSize(width, height, angle, file);
928 checkVideoRotationAngle(angle, file);
931 private void checkOrientation(int angle) throws Exception {
932 assertTrue(angle >= 0);
933 assertTrue(angle < 360);
934 assertTrue((angle % 90) == 0);
938 int w, int h, int angle, String file, long durationMs) throws Exception {
[all …]
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/
Dshadertoy_renderer.cpp91 static float angle = 0.0f; in DrawFrame() local
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java156 float angle = 0.090f * ((int) (currentTime % 4000L)); in onDrawFrame() local
157 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); in onDrawFrame()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/dex-tools/dex/
Dclasses.out.dex302 public static final int angle
109542 public static final int angle