Home
last modified time | relevance | path

Searched refs:degrees (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestDegrees.rs24 return degrees(inV);
28 return degrees(inV);
32 return degrees(inV);
36 return degrees(inV);
/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java178 int expectedTrackCount, int degrees) throws IOException { in cloneMediaUsingMuxer() argument
210 if (degrees >= 0) { in cloneMediaUsingMuxer()
211 muxer.setOrientationHint(degrees); in cloneMediaUsingMuxer()
274 int expectedTrackCount, int degrees) throws IOException { in cloneAndVerify() argument
276 cloneMediaUsingMuxer(srcMedia, outputMediaFile, expectedTrackCount, degrees); in cloneAndVerify()
277 verifyAttributesMatch(srcMedia, outputMediaFile, degrees); in cloneAndVerify()
292 int degrees) { in verifyAttributesMatch() argument
305 assertEquals("Different degrees", degrees, in verifyAttributesMatch()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java521 int degrees = 0; in calculateOrientations() local
523 case Surface.ROTATION_0: degrees = 0; break; in calculateOrientations()
524 case Surface.ROTATION_90: degrees = 90; break; in calculateOrientations()
525 case Surface.ROTATION_180: degrees = 180; break; in calculateOrientations()
526 case Surface.ROTATION_270: degrees = 270; break; in calculateOrientations()
530 mJpegOrientation = (info.orientation + degrees) % 360; in calculateOrientations()
533 mJpegOrientation = (info.orientation - degrees + 360) % 360; in calculateOrientations()
DDetermineFovActivity.java133 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/
DCameraOrientationActivity.java268 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/video/
DCameraVideoActivity.java654 int degrees = 0; in setUpCamera() local
656 case Surface.ROTATION_0: degrees = 0; break; in setUpCamera()
657 case Surface.ROTATION_90: degrees = 90; break; in setUpCamera()
658 case Surface.ROTATION_180: degrees = 180; break; in setUpCamera()
659 case Surface.ROTATION_270: degrees = 270; break; in setUpCamera()
663 mVideoRotation = (info.orientation + degrees) % 360; in setUpCamera()
666 mVideoRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java396 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()