OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPreviewRotation
(Results
1 - 2
of
2
) sorted by null
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java
69
private int
mPreviewRotation
;
405
mPreviewRotation
= (info.orientation + degrees) % 360;
406
mPreviewRotation
= (360 -
mPreviewRotation
) % 360; // compensate the mirror
408
mPreviewRotation
= (info.orientation - degrees + 360) % 360;
410
if (
mPreviewRotation
!= 0 &&
mPreviewRotation
!= 180) {
415
mCamera.setDisplayOrientation(
mPreviewRotation
);
671
if (
mPreviewRotation
== 180) {
677
if (
mPreviewRotation
== 180)
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
CameraVideoActivity.java
72
private int
mPreviewRotation
;
664
mPreviewRotation
= (360 - mVideoRotation) % 360; // compensate the mirror
667
mPreviewRotation
= mVideoRotation;
669
if (
mPreviewRotation
!= 0 &&
mPreviewRotation
!= 180) {
674
mCamera.setDisplayOrientation(
mPreviewRotation
);
Completed in 40 milliseconds