Searched refs:mPreviewRotation (Results 1 – 2 of 2) sorted by relevance
71 private int mPreviewRotation; field in CameraFormatsActivity466 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 …]
79 private int mPreviewRotation; field in CameraVideoActivity858 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()