Home
last modified time | relevance | path

Searched refs:CropMath (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DBoundedRect.java40 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 …]
DCropActivity.java427 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()
DCropMath.java27 public class CropMath { class
DCropObject.java96 CropMath.fixAspectRatioContained(inner, width, height); in setInnerAspectRatio()
DCropView.java275 int rot = CropMath.constrainedRotation(rotation); in decode()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java33 import com.android.gallery3d.filtershow.crop.CropMath;
217 int rot = CropMath.constrainedRotation(rotation); in decode()