Home
last modified time | relevance | path

Searched refs:mPreviewRotation (Results 1 – 3 of 3) 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/orientation/
DCameraOrientationActivity.java84 private int mPreviewRotation; field in CameraOrientationActivity
307 mPreviewRotation = (360 - mPictureRotation) % 360; // compensate the mirror in startPreview()
310 mPreviewRotation = mPictureRotation; in startPreview()
313 mCamera.setDisplayOrientation(mPreviewRotation); in startPreview()
517 if (mPreviewRotation == 0 || mPreviewRotation == 180) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java75 private int mPreviewRotation; field in CameraVideoActivity
884 mPreviewRotation = (360 - mVideoRotation) % 360; // compensate the mirror in setUpCamera()
887 mPreviewRotation = mVideoRotation; in setUpCamera()
890 mCamera.setDisplayOrientation(mPreviewRotation); in setUpCamera()
940 if (mPreviewRotation == 90 || mPreviewRotation == 270) { in startPreview()