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.java71 private int mPreviewRotation; field in CameraFormatsActivity
466 mPreviewRotation = (info.orientation + degrees) % 360; in setUpCamera()
467 mPreviewRotation = (360 - mPreviewRotation) % 360; // compensate the mirror in setUpCamera()
469 mPreviewRotation = (info.orientation - degrees + 360) % 360; in setUpCamera()
471 if (mPreviewRotation != 0 && mPreviewRotation != 180) { in setUpCamera()
476 mCamera.setDisplayOrientation(mPreviewRotation); in setUpCamera()
739 if (mPreviewRotation == 180) { in convertFromUnknown()
745 if (mPreviewRotation == 180) { in convertFromUnknown()
768 if (mPreviewRotation == 180) { in convertFromNV21()
811 if (mPreviewRotation == 180) { in convertFromYV12()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java79 private int mPreviewRotation; field in CameraVideoActivity
858 mPreviewRotation = (360 - mVideoRotation) % 360; // compensate the mirror in setUpCamera()
861 mPreviewRotation = mVideoRotation; in setUpCamera()
863 if (mPreviewRotation != 0 && mPreviewRotation != 180) { in setUpCamera()
868 mCamera.setDisplayOrientation(mPreviewRotation); in setUpCamera()