/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 250 private String toString(double angle) { in toString() argument 251 double factor = angle * Math.PI; in toString() 252 return String.format("%.2f", angle) + "(pi)"; in toString() 277 for (double angle = Math.PI / 8.0; angle < Math.PI * 2.0; angle += Math.PI / 8.0) { in testColorLong() 282 double dx = Math.cos(angle) * radius; in testColorLong() 283 double dy = Math.sin(angle) * radius; in testColorLong() 292 ColorUtils.verifyColor("First color (at angle " + toString(angle) in testColorLong() 296 lastAngle = angle; in testColorLong() 298 assertTrue("Angle " + toString(angle) in testColorLong() 301 assertTrue("Angle " + toString(angle) in testColorLong() [all …]
|
D | RadialGradientTest.java | 107 for (double angle = 0; angle <= Math.PI / 2.0; angle += Math.PI / 8.0) { in testColorLong() 108 double dx = Math.cos(angle) * radius; in testColorLong() 109 double dy = Math.sin(angle) * radius; in testColorLong()
|
/cts/apps/CameraITS/utils/ |
D | sensor_fusion_utils.py | 175 def arduino_rotate_servo_to_angle(ch, angle, serial_port, delay=0): argument 184 if angle < 0 or angle > ARDUINO_ANGLE_MAX: 186 angle = 0 187 if angle > ARDUINO_ANGLE_MAX: 188 angle = ARDUINO_ANGLE_MAX 190 cmd = [struct.pack('B', i) for i in [ARDUINO_START_BYTE, int(ch), angle]] 202 for angle in ARDUINO_ANGLES: 203 angle_norm = int(round(angle*ARDUINO_ANGLE_MAX/HS755HB_ANGLE_MAX, 0))
|
D | opencv_processing_utils.py | 517 _, (width, height), angle = rect 545 _, (width, height), angle = cv2.minAreaRect(square) 546 filtered_angles.append(angle) 585 for suffix, angle in test_cases: 601 numpy.isclose(abs(normal_angle), angle, ANGLE_CHECK_TOL), e_msg) 603 numpy.isclose(abs(wide_angle), angle, ANGLE_CHECK_TOL), e_msg)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | RobustnessPath.java | 166 … 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/ |
D | SensorManagerStaticTest.java | 156 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/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleRulesFileTest.java | 16 package android.angle.cts; 18 import static android.angle.cts.CtsAngleCommon.*;
|
D | CtsAngleCommon.java | 16 package android.angle.cts;
|
D | CtsAngleDeveloperOptionHostTest.java | 16 package android.angle.cts; 18 import static android.angle.cts.CtsAngleCommon.*;
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | imagetesthandler.h | 43 void drawLine(int angle, int radius, const Vec3i &color);
|
/cts/tests/location/location_gnss/protos/ |
D | ephemeris.proto | 61 // Inclination angle (radian). 64 // Rate of inclination angle (radians/sec).
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTest.java | 1051 private void testRecordedVideoPlaybackWithAngle(int angle) throws Exception { in testRecordedVideoPlaybackWithAngle() argument 1090 checkOrientation(angle); in testRecordedVideoPlaybackWithAngle() 1091 recordVideo(width, height, angle, file, durationMs); in testRecordedVideoPlaybackWithAngle() 1092 checkDisplayedVideoSize(width, height, angle, file); in testRecordedVideoPlaybackWithAngle() 1093 checkVideoRotationAngle(angle, file); in testRecordedVideoPlaybackWithAngle() 1096 private void checkOrientation(int angle) throws Exception { in checkOrientation() argument 1097 assertTrue(angle >= 0); in checkOrientation() 1098 assertTrue(angle < 360); in checkOrientation() 1099 assertTrue((angle % 90) == 0); in checkOrientation() 1103 int w, int h, int angle, String file, long durationMs) throws Exception { [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 651 final float angle = (float) (i * ARC * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local 654 c.x = (float) (Math.sin(angle) * RADIUS + 3); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 655 c.y = (float) (- Math.cos(angle) * RADIUS + 2); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 656 c.orientation = angle; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 690 final float angle = (float) ((i * ARC + ROTATION) * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local 691 assertEquals(Math.sin(angle) * RADIUS, c.x, RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 692 assertEquals(-Math.cos(angle) * RADIUS, c.y, RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 693 assertEquals(Math.tan(angle), Math.tan(c.orientation), 0.1); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | shadertoy_renderer.cpp | 91 static float angle = 0.0f; in DrawFrame() local
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 159 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/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |