Home | History | Annotate | Download | only in camera

Lines Matching refs:orientation

149     // The degrees of the device rotated clockwise from its natural orientation.
263 // Set the display orientation if display rotation has changed.
583 // Delay the toast for one second to wait for orientation.
715 int orientation = Exif.getOrientation(exif);
721 if ((mJpegRotation + orientation) % 180 == 0) {
760 orientation, exif, mOnMediaSavedListener, mContentResolver);
763 mUI.animateCapture(jpegData, orientation, mMirror);
767 mUI.showCapturedImageForReview(jpegData, orientation, mMirror);
885 int orientation;
886 // We need to be consistent with the framework orientation (i.e. the
887 // orientation of the UI.) when the auto-rotate screen setting is on.
889 orientation = (360 - mDisplayRotation) % 360;
891 orientation = mOrientation;
893 mJpegRotation = CameraUtil.getJpegRotation(mCameraId, orientation);
958 public void onOrientationChanged(int orientation) {
959 // We keep the last known orientation. So if the user first orient
961 // the correct orientation.
962 if (orientation == OrientationEventListener.ORIENTATION_UNKNOWN) return;
963 mOrientation = CameraUtil.roundOrientation(orientation, mOrientation);
965 // Show the toast after getting the first orientation changed.
1023 int orientation = Exif.getOrientation(exif);
1025 bitmap = CameraUtil.rotate(bitmap, orientation);
1452 // Change the camera display orientation
1938 float[] orientation = new float[3];
1940 SensorManager.getOrientation(mR, orientation);
1941 mHeading = (int) (orientation[0] * 180f / Math.PI) % 360;