Searched refs:mPreviewRotation (Results 1 – 2 of 2) sorted by relevance
69 private int mPreviewRotation; field in CameraFormatsActivity405 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 …]
72 private int mPreviewRotation; field in CameraVideoActivity664 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()