/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestDegrees.rs | 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 | MediaMuxerTest.java | 264 int expectedTrackCount, int degrees, int fmt) throws IOException { in cloneMediaUsingMuxer() argument 296 if (degrees >= 0) { in cloneMediaUsingMuxer() 297 muxer.setOrientationHint(degrees); in cloneMediaUsingMuxer() 363 int expectedTrackCount, int degrees, int fmt) throws IOException { in cloneAndVerify() argument 366 degrees, fmt); in cloneAndVerify() 369 verifyAttributesMatch(srcMedia, outputMediaFile, degrees); in cloneAndVerify() 385 int degrees) { in verifyAttributesMatch() argument 398 assertEquals("Different degrees", degrees, in verifyAttributesMatch()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 174 private void testRendering800x480Rotated(int degrees) throws Throwable { in testRendering800x480Rotated() argument 175 Log.i(TAG, "testRendering800x480Rotated " + degrees); in testRendering800x480Rotated() 177 runTestRenderingInSeparateThread(800, 480, false, false, degrees); in testRendering800x480Rotated() 179 Log.i(TAG, "SKIPPING testRendering800x480Rotated" + degrees + ":codec not supported"); in testRendering800x480Rotated() 245 final boolean runRemotely, final boolean multipleWindows, final int degrees) in runTestRenderingInSeparateThread() argument 251 doTestRenderingOutput(w, h, runRemotely, multipleWindows, degrees); in runTestRenderingInSeparateThread() 267 int degrees) throws Throwable { in doTestRenderingOutput() argument 275 if (degrees != 0) { in doTestRenderingOutput() 276 decoderFormat.setInteger(MediaFormat.KEY_ROTATION, degrees); in doTestRenderingOutput() 349 mLocalPresentation = (degrees == 0) in doTestRenderingOutput() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 552 int degrees = 0; in calculateOrientations() local 554 case Surface.ROTATION_0: degrees = 0; break; in calculateOrientations() 555 case Surface.ROTATION_90: degrees = 90; break; in calculateOrientations() 556 case Surface.ROTATION_180: degrees = 180; break; in calculateOrientations() 557 case Surface.ROTATION_270: degrees = 270; break; in calculateOrientations() 561 mJpegOrientation = (info.orientation + degrees) % 360; in calculateOrientations() 564 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() 498 int degrees = mPreviewOrientations.get(mNextPreviewOrientation); 506 degrees = (360 - degrees) % 360; // compensate the mirror 516 mat.postRotate(degrees);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 396 int degrees = 0; in setUpCamera() local 398 case Surface.ROTATION_0: degrees = 0; break; in setUpCamera() 399 case Surface.ROTATION_90: degrees = 90; break; in setUpCamera() 400 case Surface.ROTATION_180: degrees = 180; break; in setUpCamera() 401 case Surface.ROTATION_270: degrees = 270; break; in setUpCamera() 405 mPreviewRotation = (info.orientation + degrees) % 360; in setUpCamera() 408 mPreviewRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 758 int degrees = 0; in setUpCamera() local 760 case Surface.ROTATION_0: degrees = 0; break; in setUpCamera() 761 case Surface.ROTATION_90: degrees = 90; break; in setUpCamera() 762 case Surface.ROTATION_180: degrees = 180; break; in setUpCamera() 763 case Surface.ROTATION_270: degrees = 270; break; in setUpCamera() 767 mVideoRotation = (info.orientation + degrees) % 360; in setUpCamera() 770 mVideoRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_metadata.py | 100 fov = 2 * math.degrees(math.atan(diag / (2 * fl)))
|
/cts/apps/CameraITS/tools/ |
D | run_all_tests.py | 87 fov = str(round(2 * math.degrees(math.atan(diag / (2 * focal_l))), 2))
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
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()
|