Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DRobustnessPath.java166 … double angle = Math.acos(MathsUtils.dotProduct(values, adjustedXAxis, MathsUtils.VECTOR_3D)); in calculateRotation() local
169 angle = Math.toDegrees(angle) - MathsUtils.ORIENTATION_90_ANTI_CLOCKWISE; in calculateRotation()
170 angle *= -1; in calculateRotation()
172 return (float) angle; in calculateRotation()
/cts/tests/sensor/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/apps/CtsVerifier/include/colorchecker/
Dimagetesthandler.h43 void drawLine(int angle, int radius, const Vec3i &color);
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java931 private void testRecordedVideoPlaybackWithAngle(int angle) throws Exception {
963 checkOrientation(angle);
964 recordVideo(width, height, angle, file, durationMs);
965 checkDisplayedVideoSize(width, height, angle, file);
966 checkVideoRotationAngle(angle, file);
969 private void checkOrientation(int angle) throws Exception {
970 assertTrue(angle >= 0);
971 assertTrue(angle < 360);
972 assertTrue((angle % 90) == 0);
976 int w, int h, int angle, String file, long durationMs) throws Exception {
[all …]
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java602 final float angle = (float) (i * ARC * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local
605 c.x = (float) (Math.sin(angle) * RADIUS + 3); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
606 c.y = (float) (- Math.cos(angle) * RADIUS + 2); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
607 c.orientation = angle; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
638 final float angle = (float) ((i * ARC + ROTATION) * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local
639 assertEquals(Math.sin(angle) * RADIUS, c.x, 0.001); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
640 assertEquals(- Math.cos(angle) * RADIUS, c.y, 0.001); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
641 assertEquals(Math.tan(angle), Math.tan(c.orientation), 0.1); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
/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.java157 float angle = 0.090f * ((int) (currentTime % 4000L)); in onDrawFrame() local
158 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