/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestDegrees.rscript | 24 return degrees(inV); 28 return degrees(inV); 32 return degrees(inV); 36 return degrees(inV); 40 return degrees(inV); 44 return degrees(inV); 48 return degrees(inV); 52 return degrees(inV);
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayWithCompositionTest.java | 167 private void testRendering800x480Rotated(int degrees) throws Throwable { in testRendering800x480Rotated() argument 168 Log.i(TAG, "testRendering800x480Rotated " + degrees); in testRendering800x480Rotated() 170 runTestRenderingInSeparateThread(800, 480, false, false, degrees); in testRendering800x480Rotated() 172 Log.i(TAG, "SKIPPING testRendering800x480Rotated" + degrees + ":codec not supported"); in testRendering800x480Rotated() 238 final boolean runRemotely, final boolean multipleWindows, final int degrees) in runTestRenderingInSeparateThread() argument 244 doTestRenderingOutput(w, h, runRemotely, multipleWindows, degrees); in runTestRenderingInSeparateThread() 260 int degrees) throws Throwable { in doTestRenderingOutput() argument 268 if (degrees != 0) { in doTestRenderingOutput() 269 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput() 344 mLocalPresentation = (degrees == 0) in doTestRenderingOutput() [all …]
|
D | MediaMuxerTest.java | 460 int expectedTrackCount, int degrees, int fmt) throws IOException { in cloneAndVerify() argument 463 degrees, fmt); in cloneAndVerify() 466 verifyAttributesMatch(srcMedia, outputMediaFile, degrees); in cloneAndVerify() 480 int expectedTrackCount, int degrees, int fmt) in cloneMediaUsingMuxer() argument 513 if (degrees >= 0) { in cloneMediaUsingMuxer() 514 muxer.setOrientationHint(degrees); in cloneMediaUsingMuxer() 581 int degrees) throws IOException { in verifyAttributesMatch() argument 594 assertEquals("Different degrees", degrees, in verifyAttributesMatch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 561 int degrees = 0; in calculateOrientations() local 563 case Surface.ROTATION_0: degrees = 0; break; in calculateOrientations() 564 case Surface.ROTATION_90: degrees = 90; break; in calculateOrientations() 565 case Surface.ROTATION_180: degrees = 180; break; in calculateOrientations() 566 case Surface.ROTATION_270: degrees = 270; break; in calculateOrientations() 570 mJpegOrientation = (info.orientation + degrees) % 360; in calculateOrientations() 573 mJpegOrientation = (info.orientation - degrees + 360) % 360; in calculateOrientations()
|
D | DetermineFovActivity.java | 133 float degrees = mFovMinDegrees + (float) progress / SEEKBAR_MAX_VALUE in seekBarProgressToFovDegrees() local 136 return (int) (degrees * 100) / 100.0f; in seekBarProgressToFovDegrees()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 268 int degrees = mPreviewOrientations.get(mNextPreviewOrientation); in startPreview() local 269 mCamera.setDisplayOrientation(degrees); in startPreview() 502 int degrees = mPreviewOrientations.get(mNextPreviewOrientation); 510 degrees = (360 - degrees) % 360; // compensate the mirror 520 mat.postRotate(degrees);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 457 int degrees = 0; in setUpCamera() local 459 case Surface.ROTATION_0: degrees = 0; break; in setUpCamera() 460 case Surface.ROTATION_90: degrees = 90; break; in setUpCamera() 461 case Surface.ROTATION_180: degrees = 180; break; in setUpCamera() 462 case Surface.ROTATION_270: degrees = 270; break; in setUpCamera() 466 mPreviewRotation = (info.orientation + degrees) % 360; in setUpCamera() 469 mPreviewRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 848 int degrees = 0; in setUpCamera() local 850 case Surface.ROTATION_0: degrees = 0; break; in setUpCamera() 851 case Surface.ROTATION_90: degrees = 90; break; in setUpCamera() 852 case Surface.ROTATION_180: degrees = 180; break; in setUpCamera() 853 case Surface.ROTATION_270: degrees = 270; break; in setUpCamera() 857 mVideoRotation = (info.orientation + degrees) % 360; in setUpCamera() 860 mVideoRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_metadata.py | 102 fov = 2 * math.degrees(math.atan(diag / (2 * fl)))
|
/cts/tests/media/jni/ |
D | NativeMuxerTest.cpp | 451 for (int degrees : badRotation) { in nativeTestSetOrientationHint() local 452 status = AMediaMuxer_setOrientationHint(muxer, degrees); in nativeTestSetOrientationHint() 455 ALOGE("setOrientationHint succeeds on bad args: %d", degrees); in nativeTestSetOrientationHint()
|
/cts/apps/CameraITS/tools/ |
D | run_all_tests.py | 152 fov = str(round(2 * math.degrees(math.atan(diag / (2 * focal_l))), 2))
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | MatrixTest.rscript | 697 const float rotation = 90.f; // Rotation is in degrees.
|
D | CoreMathVerifier.java | 508 static private Target.Floaty degrees(double d, Target t) { in degrees() method in CoreMathVerifier 1777 args.out = degrees(args.inVDouble, t); in computeDegrees()
|