/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterRotateRepresentation.java | 34 Rotation mRotation; field in FilterRotateRepresentation 86 return mRotation; in getRotation() 90 switch(mRotation) { in rotateCW() 92 mRotation = Rotation.NINETY; in rotateCW() 95 mRotation = Rotation.ONE_EIGHTY; in rotateCW() 98 mRotation = Rotation.TWO_SEVENTY; in rotateCW() 101 mRotation = Rotation.ZERO; in rotateCW() 107 mRotation = r.mRotation; in set() 114 mRotation = rotation; in setRotation() 146 return mRotation == getNil(); in isNil() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | RotateBitmap.java | 25 private int mRotation; field in RotateBitmap 29 mRotation = 0; in RotateBitmap() 34 mRotation = rotation % 360; in RotateBitmap() 38 mRotation = rotation; in setRotation() 42 return mRotation; in getRotation() 56 if (mRotation != 0) { in getRotateMatrix() 63 matrix.postRotate(mRotation); in getRotateMatrix() 70 return (mRotation / 90) % 2 != 0; in isOrientationChanged()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropView.java | 54 private int mRotation = 0; field in CropView 119 || mRotation != rotation) { in initialize() 120 mRotation = rotation; in initialize() 125 mRotation = rotation; in initialize() 192 mRotation = 0; in reset() 233 if (((mRotation < 0) ? -mRotation : mRotation) % 180 == 90) { in applyAspect() 314 mDisplayMatrix, mImageBounds, mScreenBounds, mRotation)) { in onDraw() 375 decode(mCropObj.getSelectState(), mRotation)); in onDraw()
|
D | CropActivity.java | 368 int mRotation = 0; field in CropActivity.BitmapIOTask 397 mRotation = (rotation < 0) ? -rotation : rotation; in BitmapIOTask() 398 mRotation %= 360; in BitmapIOTask() 399 mRotation = 90 * (int) (mRotation / 90); // now mRotation is a multiple of 90 in BitmapIOTask() 429 m.setRotate(mRotation); in doInBackground() 449 if (mRotation > 0) { in doInBackground() 451 m.setRotate(mRotation); in doInBackground() 519 if (mRotation > 0) { in doInBackground() 520 m.setRotate(mRotation); in doInBackground() 525 m.preRotate(mRotation); in doInBackground() [all …]
|
D | CropObject.java | 29 private float mRotation = 0; field in CropObject 86 mRotation = angle % 360; in rotateOuter() 87 mBoundedRect.setRotation(mRotation); in rotateOuter()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | Image.java | 43 private int mRotation; field in Image 51 mRotation = rotation; in Image() 56 return mRotation; in getDegreesRotated() 60 if (mRotation == degrees) return; in setDegreesRotated() 61 mRotation = degrees; in setDegreesRotated() 63 values.put(ImageColumns.ORIENTATION, mRotation); in setDegreesRotated()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoView.java | 592 private int mRotation; field in PhotoView.FullPicture 629 mRotation = getPanoramaRotation(); in updateSize() 631 mRotation = getCameraRotation(); in updateSize() 633 mRotation = mModel.getImageRotation(0); in updateSize() 638 mSize.width = getRotated(mRotation, w, h); in updateSize() 639 mSize.height = getRotated(mRotation, h, w); in updateSize() 758 switch (mRotation) { in setTileViewPosition() 764 throw new RuntimeException(String.valueOf(mRotation)); in setTileViewPosition() 766 mTileView.setPosition(x, y, scale, mRotation); in setTileViewPosition() 772 private int mRotation; field in PhotoView.ScreenNailPicture [all …]
|
D | TileImageView.java | 113 protected int mRotation; field in TileImageView 187 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in notifyModelInvalidated() 195 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation); in onLayout() 340 if (mRotation % 180 == 0) { in getImageCenter() 356 && mScale == scale && mRotation == rotation) return false; in setPosition() 360 mRotation = rotation; in setPosition() 400 layoutTiles(mCenterX, mCenterY, mScale, mRotation); in prepareTextures() 412 int rotation = mRotation; in render()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | MaterialProgressDrawable.java | 126 private float mRotation; field in MaterialProgressDrawable 244 c.rotate(mRotation, bounds.exactCenterX(), bounds.exactCenterY()); in draw() 265 return mRotation; in getRotation() 270 mRotation = rotation; in setRotation() 482 private float mRotation = 0.0f; field in MaterialProgressDrawable.Ring 537 final float startAngle = (mStartTrim + mRotation) * 360; in draw() 538 final float endAngle = (mEndTrim + mRotation) * 360; in draw() 706 return mRotation; in getRotation() 711 mRotation = rotation; in setRotation() 777 mStartingRotation = mRotation; in storeOriginals()
|
/packages/apps/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 138 private int mRotation; field in BitmapRegionTileSource.BitmapSource 144 mRotation = getExifRotation(); in loadInBackground() 211 return mRotation; in getRotation() 296 private final int mRotation; field in BitmapRegionTileSource 304 mRotation = source.getRotation(); in BitmapRegionTileSource() 355 return mRotation; in getRotation()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureLayoutHelper.java | 53 private int mRotation = 0; field in CaptureLayoutHelper 109 mRotation); in updatePositionConfiguration() 180 if (mRotation >= 180) { in getUncoveredPreviewRect() 193 if (mRotation >= 180) { in getUncoveredPreviewRect() 227 mRotation = rotation; in onNonDecorWindowSizeChanged()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 57 private int mRotation; field in UriImage 102 mRotation = Exif.getOrientation(is); in openOrDownloadInner() 124 mRotation = Exif.getOrientation(is); in openOrDownloadInner() 296 return mRotation; in getRotation()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | CropAndSetWallpaperTask.java | 50 private int mRotation; field in CropAndSetWallpaperTask 61 mRotation = rotation; in CropAndSetWallpaperTask() 73 mCropBounds, mOutWidth, mOutHeight, mRotation); in cropBitmap()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 111 protected int mRotation; field in TiledImageRenderer 196 if (mRotation != rotation) { in setModel() 197 mRotation = rotation; in setModel() 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles() 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles() 297 if (mRotation % 90 != 0) { in layoutTiles() 421 int rotation = mRotation; in draw()
|
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 111 protected int mRotation; field in TiledImageRenderer 196 if (mRotation != rotation) { in setModel() 197 mRotation = rotation; in setModel() 277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles() 293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles() 297 if (mRotation % 90 != 0) { in layoutTiles() 421 int rotation = mRotation; in draw()
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | BitmapJobDrawable.java | 43 private int mRotation = 0; field in BitmapJobDrawable 63 mRotation = mItem.getRotation(); in setMediaItem() 90 canvas.rotate(mRotation, bounds.centerX(), bounds.centerY()); in draw()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 59 private final int mRotation; field in BitmapRegionTileSource 69 mRotation = rotation; in BitmapRegionTileSource() 121 return mRotation; in getRotation()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 198 private int mRotation; field in CameraManager 563 if (mRotation == 90 || mRotation == 270) { in takePicture() 694 mRotation = rotation; in updateCameraOrientation() 799 mMediaRecorder = new MmsVideoRecorder(mCamera, mCameraIndex, mRotation, maxMessageSize); in tryInitOrCleanupVideoMode()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 142 private float mRotation; field in FloatingIconView 326 mRotation = rotation; in updatePosition() 649 canvas.rotate(mRotation, in draw() 706 if (rotation != mRotation || !sTmpRectF.equals(mPositionOut)) { in onGlobalLayout()
|