Searched refs:CropMath (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | BoundedRect.java | 40 innerRotated = CropMath.getCornersFromRect(inner); in BoundedRect() 50 innerRotated = CropMath.getCornersFromRect(inner); in BoundedRect() 60 innerRotated = CropMath.getCornersFromRect(inner); in resetTo() 73 innerRotated = CropMath.getCornersFromRect(inner); in setInner() 86 innerRotated = CropMath.getCornersFromRect(inner); in setRotation() 119 float[] translatedInnerCorners = CropMath.getCornersFromRect(translatedInner); in moveInner() 120 float[] outerCorners = CropMath.getCornersFromRect(outer); in moveInner() 131 if (!CropMath.inclusiveContains(outer, correctedInnerX, correctedInnerY)) { in moveInner() 135 float[] nearestSide = CropMath.closestSide(badCorner, outerCorners); in moveInner() 146 if (!CropMath.inclusiveContains(outer, correctedInnerX, correctedInnerY)) { in moveInner() [all …]
|
D | CropActivity.java | 427 RectF trueCrop = CropMath.getScaledCropBounds(mCrop, mPhoto, mOrig); in doInBackground() 465 RectF trueCrop = CropMath.getScaledCropBounds(mCrop, mPhoto, mOrig); in doInBackground() 619 RectF crop = CropMath.getScaledCropBounds(cropBounds, photoBounds, imageBounds); in getCroppedImage() 634 int size = CropMath.getBitmapSize(image); in getDownsampledBitmap() 645 if (CropMath.getBitmapSize(ret) > max_size) { in getDownsampledBitmap() 695 RectF scaledCrop = CropMath.getScaledCropBounds(crop, photo, imageBounds); in getBitmapCrop()
|
D | CropMath.java | 27 public class CropMath { class
|
D | CropObject.java | 96 CropMath.fixAspectRatioContained(inner, width, height); in setInnerAspectRatio()
|
D | CropView.java | 275 int rot = CropMath.constrainedRotation(rotation); in decode()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCrop.java | 33 import com.android.gallery3d.filtershow.crop.CropMath; 217 int rot = CropMath.constrainedRotation(rotation); in decode()
|