Searched defs:mRotation (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
H A DRotateBitmap.java25 private int mRotation; field in class:RotateBitmap
29 mRotation = 0;
34 mRotation = rotation % 360;
38 mRotation = rotation;
42 return mRotation;
56 if (mRotation != 0) {
63 matrix.postRotate(mRotation);
70 return (mRotation / 90) % 2 != 0;
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureLayoutHelper.java53 private int mRotation = 0; field in class:CaptureLayoutHelper
109 mRotation);
180 if (mRotation >= 180) {
193 if (mRotation >= 180) {
227 mRotation = rotation;
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImage.java43 private int mRotation; field in class:Image
51 mRotation = rotation;
56 return mRotation;
60 if (mRotation == degrees) return;
61 mRotation = degrees;
63 values.put(ImageColumns.ORIENTATION, mRotation);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterRotateRepresentation.java34 Rotation mRotation; field in class:FilterRotateRepresentation
86 return mRotation;
90 switch(mRotation) {
92 mRotation = Rotation.NINETY;
95 mRotation = Rotation.ONE_EIGHTY;
98 mRotation = Rotation.TWO_SEVENTY;
101 mRotation = Rotation.ZERO;
107 mRotation = r.mRotation;
114 mRotation
[all...]
/packages/apps/Gallery2/src/com/android/photos/
H A DBitmapRegionTileSource.java59 private final int mRotation; field in class:BitmapRegionTileSource
69 mRotation = rotation;
121 return mRotation;
/packages/apps/Gallery2/src/com/android/photos/shims/
H A DBitmapJobDrawable.java43 private int mRotation = 0; field in class:BitmapJobDrawable
63 mRotation = mItem.getRotation();
90 canvas.rotate(mRotation, bounds.centerX(), bounds.centerY());
/packages/apps/Camera2/src/com/android/camera/widget/
H A DVideoRecordingHints.java53 private float mRotation = INITIAL_ROTATION; field in class:VideoRecordingHints
72 mRotationAnimation = ValueAnimator.ofFloat(mRotation, mRotation + ROTATION_DEGREES);
78 mRotation = (Float) animation.getAnimatedValue();
92 mRotation = ((int) mRotation) % 360;
128 mRotation = 0;
153 mRotationAnimation.setFloatValues(mRotation, mRotation + ROTATION_DEGREES);
164 mRotation
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriImage.java57 private int mRotation; field in class:UriImage
102 mRotation = Exif.getOrientation(is);
124 mRotation = Exif.getOrientation(is);
296 return mRotation;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropObject.java29 private float mRotation = 0; field in class:CropObject
86 mRotation = angle % 360;
87 mBoundedRect.setRotation(mRotation);
H A DCropView.java54 private int mRotation = 0; field in class:CropView
119 || mRotation != rotation) {
120 mRotation = rotation;
125 mRotation = rotation;
192 mRotation = 0;
233 if (((mRotation < 0) ? -mRotation : mRotation) % 180 == 90) {
314 mRotation)) {
374 mScreenCropBounds, mCropObj.isFixedAspect(), decode(mCropObj.getSelectState(), mRotation));
[all...]
H A DCropActivity.java368 int mRotation = 0; field in class:CropActivity.BitmapIOTask
397 mRotation = (rotation < 0) ? -rotation : rotation;
398 mRotation %= 360;
399 mRotation = 90 * (int) (mRotation / 90); // now mRotation is a multiple of 90
429 m.setRotate(mRotation);
449 if (mRotation > 0) {
451 m.setRotate(mRotation);
519 if (mRotation >
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
H A DBitmapRegionTileSource.java162 private int mRotation; field in class:BitmapRegionTileSource.BitmapSource
173 mRotation = ExifInterface.getRotationForOrientationValue(ori.shortValue());
216 return mRotation;
371 private final int mRotation; field in class:BitmapRegionTileSource
381 mRotation = source.getRotation();
432 return mRotation;
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DWallpaperCropActivity.java467 int mRotation; field in class:WallpaperCropActivity.BitmapCropTask
516 mRotation = rotation;
610 if (mRotation > 0) {
611 rotateMatrix.setRotate(mRotation);
612 inverseRotateMatrix.setRotate(-mRotation);
731 if (mOutWidth > 0 && mOutHeight > 0 || mRotation > 0) {
746 if (mRotation == 0) {
752 m2.setRotate(mRotation);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DTileImageView.java114 protected int mRotation; field in class:TileImageView
188 layoutTiles(mCenterX, mCenterY, mScale, mRotation);
196 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation);
341 if (mRotation % 180 == 0) {
357 && mScale == scale && mRotation == rotation) return false;
361 mRotation = rotation;
401 layoutTiles(mCenterX, mCenterY, mScale, mRotation);
413 int rotation = mRotation;
H A DPhotoView.java593 private int mRotation; field in class:PhotoView.FullPicture
630 mRotation = getPanoramaRotation();
632 mRotation = getCameraRotation();
634 mRotation = mModel.getImageRotation(0);
639 mSize.width = getRotated(mRotation, w, h);
640 mSize.height = getRotated(mRotation, h, w);
759 switch (mRotation) {
765 throw new RuntimeException(String.valueOf(mRotation));
767 mTileView.setPosition(x, y, scale, mRotation);
773 private int mRotation; field in class:PhotoView.ScreenNailPicture
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DTiledImageRenderer.java111 protected int mRotation; field in class:TiledImageRenderer
196 if (mRotation != rotation) {
197 mRotation = rotation;
277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation);
293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation);
297 if (mRotation % 90 != 0) {
421 int rotation = mRotation;
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
H A DTiledImageRenderer.java111 protected int mRotation; field in class:TiledImageRenderer
196 if (mRotation != rotation) {
197 mRotation = rotation;
277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation);
293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation);
297 if (mRotation % 90 != 0) {
421 int rotation = mRotation;

Completed in 370 milliseconds