Searched defs:mOrientation (Results 26 - 39 of 39) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/crop/
H A DCropActivity.java252 int mOrientation; field in class:CropActivity.LoadBitmapTask
258 mOrientation = 0;
266 mOrientation = ImageLoader.getMetadataRotation(mContext, uri);
272 doneLoadBitmap(result, new RectF(mOriginalBounds), mOrientation);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropActivity.java255 int mOrientation; field in class:CropActivity.LoadBitmapTask
261 mOrientation = 0;
269 mOrientation = ImageLoader.getMetadataRotation(mContext, uri);
275 doneLoadBitmap(result, new RectF(mOriginalBounds), mOrientation);
/packages/apps/Calendar/src/com/android/calendar/
H A DAllInOneActivity.java161 int mOrientation; field in class:AllInOneActivity
365 mOrientation = res.getConfiguration().orientation;
366 if (mOrientation == Configuration.ORIENTATION_LANDSCAPE) {
415 if (mIsTabletConfig && mOrientation == Configuration.ORIENTATION_PORTRAIT) {
818 if (mOrientation == Configuration.ORIENTATION_LANDSCAPE) {
1102 int animationSize = (mOrientation == Configuration.ORIENTATION_LANDSCAPE) ?
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java111 protected int mOrientation = Configuration.ORIENTATION_LANDSCAPE; field in class:MonthWeekEventsView
494 mOrientation = params.get(VIEW_PARAMS_ORIENTATION);
735 if (mOrientation == Configuration.ORIENTATION_PORTRAIT) {
/packages/apps/Camera2/src/com/android/camera/
H A DPhotoUI.java141 private int mOrientation; field in class:PhotoUI.DecodeTask
146 mOrientation = orientation;
154 if (mOrientation != 0 || mMirror) {
156 m.preRotate(mOrientation);
H A DPhotoModule.java150 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:PhotoModule
891 orientation = mOrientation;
963 mOrientation = CameraUtil.roundOrientation(orientation, mOrientation);
H A DVideoModule.java171 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:VideoModule
396 int rotation = CameraUtil.getJpegRotation(mCameraId, mOrientation);
434 int newOrientation = CameraUtil.roundOrientation(orientation, mOrientation);
436 if (mOrientation != newOrientation) {
437 mOrientation = newOrientation;
1011 // Note that mOrientation here is the device orientation, which is the opposite of
1015 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) {
1018 rotation = (info.orientation - mOrientation + 360) % 360;
1020 rotation = (info.orientation + mOrientation) % 360;
/packages/apps/Camera2/src/com/android/camera/data/
H A DLocalMediaData.java336 private final int mOrientation; field in class:LocalMediaData.PhotoData
344 mOrientation = orientation;
394 return mOrientation;
400 + "," + mWidth + "x" + mHeight + ",orientation=" + mOrientation
436 mediaDetails.addDetail(MediaDetails.INDEX_ORIENTATION, mOrientation);
541 if (mOrientation != 0 && b != null) {
546 m.setRotate(mOrientation);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DMasterImage.java75 private int mOrientation; field in class:MasterImage
154 return mOrientation;
201 mOrientation = ImageLoader.getMetadataOrientation(mActivity, uri);
205 mOrientation, originalBounds);
214 mZoomOrientation = mOrientation;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnJAJP.java368 private int mOrientation = Configuration.ORIENTATION_UNDEFINED; field in class:OpenWnnJAJP
671 if (mOrientation != newConfig.orientation) {
672 mOrientation = newConfig.orientation;
/packages/apps/Camera/src/com/android/camera/
H A DPhotoModule.java165 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:PhotoModule
1134 mJpegRotation = Util.getJpegRotation(mCameraId, mOrientation);
1299 mOrientation = Util.roundOrientation(orientation, mOrientation);
H A DVideoModule.java232 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:VideoModule
557 int newOrientation = Util.roundOrientation(orientation, mOrientation);
559 if (mOrientation != newOrientation) {
560 mOrientation = newOrientation;
567 mEffectsRecorder.setOrientationHint(mOrientation);
1235 // Note that mOrientation here is the device orientation, which is the opposite of
1239 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) {
1242 rotation = (info.orientation - mOrientation + 360) % 360;
1244 rotation = (info.orientation + mOrientation) % 360;
1305 if (mOrientation !
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCamera.java135 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:Camera
1050 Util.setRotationParameter(mParameters, mCameraId, mOrientation);
1298 mOrientation = Util.roundOrientation(orientation, mOrientation);
1301 int orientationCompensation = mOrientation
2304 new RotateTextToast(this, R.string.tap_to_focus, mOrientation).show();
H A DVideoCamera.java251 private int mOrientation = OrientationEventListener.ORIENTATION_UNKNOWN; field in class:VideoCamera
552 mOrientation = Util.roundOrientation(orientation, mOrientation);
555 int orientationCompensation = mOrientation
1245 // Note that mOrientation here is the device orientation, which is the opposite of
1249 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) {
1252 rotation = (info.orientation - mOrientation + 360) % 360;
1254 rotation = (info.orientation + mOrientation) % 360;
1299 if (mOrientation != OrientationEventListener.ORIENTATION_UNKNOWN) {
2370 mOrientation)
[all...]

Completed in 359 milliseconds

12