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()
472 mCamera.setDisplayOrientation(mPreviewRotation); in setUpCamera()
514 if (mPreviewRotation == 90 || mPreviewRotation == 270) { in concatPreviewTransform()
651 int rotation = mPreviewRotation; in onPostExecute()
778 if (mPreviewRotation == 180) { in convertFromUnknown()
784 if (mPreviewRotation == 180) { in convertFromUnknown()
807 if (mPreviewRotation == 180) { in convertFromNV21()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java75 private int mPreviewRotation; field in CameraVideoActivity
864 mPreviewRotation = (360 - mVideoRotation) % 360; // compensate the mirror in setUpCamera()
867 mPreviewRotation = mVideoRotation; in setUpCamera()
870 mCamera.setDisplayOrientation(mPreviewRotation); in setUpCamera()
920 if (mPreviewRotation == 90 || mPreviewRotation == 270) { in startPreview()