/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageStraighten.java | 37 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 216 if (GeometryMathUtils.needsDimensionSwap(h.rotation)) { in updateCurrentCrop() 225 float scale = GeometryMathUtils.scale(iw, ih, viewWidth, viewHeight); in updateCurrentCrop() 226 scale *= GeometryMathUtils.SHOW_SCALE; in updateCurrentCrop() 227 GeometryMathUtils.scaleRect(tmp, scale); in updateCurrentCrop() 231 Matrix m1 = GeometryMathUtils.getFullGeometryToScreenMatrix(h, imageWidth, in updateCurrentCrop() 249 GeometryMathUtils.initializeHolder(mDrawHolder, mLocalRep); in onDraw() 257 Matrix m = GeometryMathUtils.getFullGeometryToScreenMatrix(mDrawHolder, imageWidth, in onDraw()
|
D | GeometryMathUtils.java | 41 public final class GeometryMathUtils { class 45 private GeometryMathUtils() {}; in GeometryMathUtils() method in GeometryMathUtils 334 return GeometryMathUtils.getOriginalToScreen(h, reflectRotation, bmapDimens.width(), in getImageToScreenMatrix() 444 if (GeometryMathUtils.needsDimensionSwap(holder.rotation)) { in getFullGeometryToScreenMatrix() 448 float scale = GeometryMathUtils.scale(bw, bh, viewWidth, viewHeight); in getFullGeometryToScreenMatrix() 472 float scale = GeometryMathUtils.scale(crop.width(), crop.height(), viewWidth, viewHeight); in getCropSelectionToScreenMatrix() 474 GeometryMathUtils.scaleRect(crop, scale); in getCropSelectionToScreenMatrix()
|
D | ImageMirror.java | 27 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 69 GeometryMathUtils.initializeHolder(mDrawHolder, mLocalRep); in onDraw() 70 GeometryMathUtils.drawTransformedCropped(mDrawHolder, canvas, image, getWidth(), in onDraw()
|
D | ImageRotate.java | 27 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 73 GeometryMathUtils.initializeHolder(mDrawHolder, mLocalRep); in onDraw() 74 GeometryMathUtils.drawTransformedCropped(mDrawHolder, canvas, image, canvas.getWidth(), in onDraw()
|
D | ImageCrop.java | 37 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 90 GeometryMathUtils.initializeHolder(mUpdateHolder, mLocalRep); in setFilterCropRepresentation() 186 if (GeometryMathUtils.needsDimensionSwap(mGeometry.rotation)) { in applyAspect() 269 mDisplayMatrix = GeometryMathUtils.getFullGeometryToScreenMatrix(mGeometry, in onDraw() 273 mDisplayCropMatrix = GeometryMathUtils.getFullGeometryToScreenMatrix(mGeometry, in onDraw()
|
D | PrimaryImage.java | 586 GeometryMathUtils.GeometryHolder holder = GeometryMathUtils.unpackGeometry( in computeImageToScreen() 588 m = GeometryMathUtils.getCropSelectionToScreenMatrix(null, holder, in computeImageToScreen() 623 Matrix m = GeometryMathUtils.getImageToScreenMatrix(mPreset.getGeometryFilters(), in getImageToScreenMatrix()
|
D | ImageShow.java | 228 Matrix m = GeometryMathUtils.getImageToScreenMatrix( in getImageToScreenMatrix() 452 GeometryMathUtils.GeometryHolder holder = null; in drawImageAndAnimate() 453 holder = GeometryMathUtils.unpackGeometry(geometry); in drawImageAndAnimate() 494 float scale = GeometryMathUtils.scale(imageWidth, imageHeight, in computeImageBounds()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 23 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 100 array[x] = GeometryMathUtils.clamp(array[x], imageBound.left, imageBound.right); in getEdgePoints() 101 array[x + 1] = GeometryMathUtils.clamp(array[x + 1], imageBound.top, imageBound.bottom); in getEdgePoints() 122 float mag = GeometryMathUtils.vectorLength( in closestSide() 123 GeometryMathUtils.shortestVectorFromPointToLine(point, line)); in closestSide()
|
D | BoundedRect.java | 22 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 137 GeometryMathUtils.shortestVectorFromPointToLine(badCorner, nearestSide); in moveInner() 198 float[] p = GeometryMathUtils.lineIntersect(pathOfCorner, outerSide); in resizeInner() 291 float[] p = GeometryMathUtils.lineIntersect(l1, l2); in fixedAspectResizeInner()
|
D | CropObject.java | 22 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 236 float[] bUnit = GeometryMathUtils.normalize(b); in moveCurrentSelection() 237 float sp = GeometryMathUtils.scalarProjection(disp, bUnit); in moveCurrentSelection()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilter.java | 25 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 91 return GeometryMathUtils.getImageToScreenMatrix(getEnvironment().getImagePreset() in getOriginalToScreenMatrix()
|
D | FilterMirrorRepresentation.java | 26 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | CacheProcessing.java | 24 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 111 cacheBitmap = GeometryMathUtils.applyGeometryRepresentations(geometry, cacheBitmap); in apply()
|
D | ImagePreset.java | 40 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 467 return GeometryMathUtils.finalGeometryRect(width, height, getGeometryFilters()); in finalGeometryRect() 474 Bitmap bmp = GeometryMathUtils.applyGeometryRepresentations( in applyGeometry()
|
D | CachingPipeline.java | 35 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 414 return GeometryMathUtils.applyGeometryRepresentations(preset.getGeometryFilters(), bitmap); in renderGeometryIcon()
|