Home
last modified time | relevance | path

Searched refs:mPreviewRotation (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java69 private int mPreviewRotation; field in CameraFormatsActivity
405 mPreviewRotation = (info.orientation + degrees) % 360; in setUpCamera()
406 mPreviewRotation = (360 - mPreviewRotation) % 360; // compensate the mirror in setUpCamera()
408 mPreviewRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
410 if (mPreviewRotation != 0 && mPreviewRotation != 180) { in setUpCamera()
415 mCamera.setDisplayOrientation(mPreviewRotation); in setUpCamera()
671 if (mPreviewRotation == 180) { in convertFromUnknown()
677 if (mPreviewRotation == 180) { in convertFromUnknown()
700 if (mPreviewRotation == 180) { in convertFromNV21()
743 if (mPreviewRotation == 180) { in convertFromYV12()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java72 private int mPreviewRotation; field in CameraVideoActivity
664 mPreviewRotation = (360 - mVideoRotation) % 360; // compensate the mirror in setUpCamera()
667 mPreviewRotation = mVideoRotation; in setUpCamera()
669 if (mPreviewRotation != 0 && mPreviewRotation != 180) { in setUpCamera()
674 mCamera.setDisplayOrientation(mPreviewRotation); in setUpCamera()