Home
last modified time | relevance | path

Searched refs:angle (Results 1 – 11 of 11) 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/CameraITS/pymodules/its/
Dcv2image.py262 _, (width, height), angle = rect
296 _, (width, height), angle = cv2.minAreaRect(square)
297 filtered_angles.append(angle)
365 for suffix, angle in test_cases:
380 abs(get_angle(normal_img)), angle, 2.0)
382 abs(get_angle(wide_img)), angle, 2.0)
/cts/apps/CtsVerifier/include/colorchecker/
Dimagetesthandler.h43 void drawLine(int angle, int radius, const Vec3i &color);
/cts/tests/tests/location/protos/
Dephemeris.proto61 // Inclination angle (radian).
64 // Rate of inclination angle (radians/sec).
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/
Dshadertoy_renderer.cpp91 static float angle = 0.0f; in DrawFrame() local
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayer2Test.java831 private void testRecordedVideoPlaybackWithAngle(int angle) throws Exception {
863 checkOrientation(angle);
864 recordVideo(width, height, angle, file, durationMs);
865 checkDisplayedVideoSize(width, height, angle, file);
866 checkVideoRotationAngle(angle, file);
869 private void checkOrientation(int angle) throws Exception {
870 assertTrue(angle >= 0);
871 assertTrue(angle < 360);
872 assertTrue((angle % 90) == 0);
876 int w, int h, int angle, String file, long durationMs) throws Exception {
[all …]
DMediaPlayerTest.java1015 private void testRecordedVideoPlaybackWithAngle(int angle) throws Exception { in testRecordedVideoPlaybackWithAngle() argument
1047 checkOrientation(angle); in testRecordedVideoPlaybackWithAngle()
1048 recordVideo(width, height, angle, file, durationMs); in testRecordedVideoPlaybackWithAngle()
1049 checkDisplayedVideoSize(width, height, angle, file); in testRecordedVideoPlaybackWithAngle()
1050 checkVideoRotationAngle(angle, file); in testRecordedVideoPlaybackWithAngle()
1053 private void checkOrientation(int angle) throws Exception { in checkOrientation() argument
1054 assertTrue(angle >= 0); in checkOrientation()
1055 assertTrue(angle < 360); in checkOrientation()
1056 assertTrue((angle % 90) == 0); in checkOrientation()
1060 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/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java159 float angle = 0.090f * ((int) (currentTime % 4000L)); in onDrawFrame() local
160 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/ ...