/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 | opencv_processing_utils_tests.py | 43 for suffix, angle in test_cases: 59 valid_angles = (angle, angle+90) # try both angle & +90 due to squares
|
D | sensor_fusion_utils.py | 271 def arduino_rotate_servo_to_angle(ch, angle, serial_port, move_time): argument 280 if angle < 0 or angle > ARDUINO_ANGLE_MAX: 282 angle = 0 283 if angle > ARDUINO_ANGLE_MAX: 284 angle = ARDUINO_ANGLE_MAX 286 cmd = [struct.pack('B', i) for i in [ARDUINO_START_BYTE, int(ch), angle]] 301 for angle in angles: 302 angle_norm = int(round(angle*ARDUINO_ANGLE_MAX/HS755HB_ANGLE_MAX, 0))
|
D | opencv_processing_utils.py | 728 angle = cv2.minAreaRect(contour)[-1] 729 if angle < -45: 730 angle += 90 731 square['angle'] = angle 796 _, (width, height), angle = rect 824 _, (width, height), angle = cv2.minAreaRect(square) 825 filtered_angles.append(angle)
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | Model.h | 88 void setRotation(float angle) { in setRotation() argument 89 float rad = angle + rotationOffset_; in setRotation() 99 void setRotationOffset(float angle) { rotationOffset_ = angle; } in setRotationOffset() argument
|
D | Renderer.cpp | 312 float angle = 2 * M_PI * (static_cast<float>(rand()) / static_cast<float>(RAND_MAX)); in addHead() local 318 toAdd.setRotationOffset(angle); in addHead()
|
/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/tests/sensor/src/android/hardware/cts/accessories/ |
D | VirtualHeadTracker.java | 93 for (float angle : angularVelocity) { in angularVelocityFloatToStr() 94 int hidValue = Math.round(angle / 32 * Short.MAX_VALUE); in angularVelocityFloatToStr()
|
/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/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | shadertoy_renderer.cpp | 91 static float angle = 0.0f; in DrawFrame() local
|
/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | MediaPlayerTest.java | 1181 private void testRecordedVideoPlaybackWithAngle(int angle) throws Exception { in testRecordedVideoPlaybackWithAngle() argument 1219 checkOrientation(angle); in testRecordedVideoPlaybackWithAngle() 1220 recordVideo(width, height, angle, file, durationMs); in testRecordedVideoPlaybackWithAngle() 1221 checkDisplayedVideoSize(width, height, angle, file); in testRecordedVideoPlaybackWithAngle() 1222 checkVideoRotationAngle(angle, file); in testRecordedVideoPlaybackWithAngle() 1225 private void checkOrientation(int angle) throws Exception { in checkOrientation() argument 1226 assertTrue(angle >= 0); in checkOrientation() 1227 assertTrue(angle < 360); in checkOrientation() 1228 assertEquals(0, (angle % 90)); in checkOrientation() 1232 int w, int h, int angle, String file, long durationMs) throws Exception { [all …]
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleDeveloperOptionHostTest.java | 16 package android.angle.cts; 18 import static android.angle.cts.CtsAngleCommon.*;
|
D | CtsAngleCommon.java | 16 package android.angle.cts;
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 757 final float angle = (float) (i * ARC * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local 760 c.x = (float) (Math.sin(angle) * RADIUS + 3); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 761 c.y = (float) (- Math.cos(angle) * RADIUS + 2); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 762 c.orientation = angle; in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 797 final float angle = (float) ((i * ARC + ROTATION) * PI_180); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() local 798 assertEquals(Math.sin(angle) * RADIUS, c.x, RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 799 assertEquals(-Math.cos(angle) * RADIUS, c.y, RAW_COORD_TOLERANCE); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition() 800 assertEquals(Math.tan(angle), Math.tan(c.orientation), 0.1); in testTransformShouldApplyMatrixToPointsAndPreserveRawPosition()
|
/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/ ... |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 4104 double angle = Math.acos(dot / (mag_a * mag_b)); 4114 angle >= Math.PI / 4); 4122 angle <= Math.PI * 3 / 4);
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 480 field public static final int angle = 16843168; // 0x10101a0
|