/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageMirror.java | 27 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 69 GeometryMathUtils.initializeHolder(mDrawHolder, mLocalRep); 70 GeometryMathUtils.drawTransformedCropped(mDrawHolder, canvas, image, getWidth(),
|
H A D | ImageRotate.java | 27 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 73 GeometryMathUtils.initializeHolder(mDrawHolder, mLocalRep); 74 GeometryMathUtils.drawTransformedCropped(mDrawHolder, canvas, image, canvas.getWidth(),
|
H A D | ImageStraighten.java | 37 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 216 if (GeometryMathUtils.needsDimensionSwap(h.rotation)) { 225 float scale = GeometryMathUtils.scale(iw, ih, viewWidth, viewHeight); 226 scale *= GeometryMathUtils.SHOW_SCALE; 227 GeometryMathUtils.scaleRect(tmp, scale); 231 Matrix m1 = GeometryMathUtils.getFullGeometryToScreenMatrix(h, imageWidth, 249 GeometryMathUtils.initializeHolder(mDrawHolder, mLocalRep); 257 Matrix m = GeometryMathUtils.getFullGeometryToScreenMatrix(mDrawHolder, imageWidth,
|
H A D | ImageCrop.java | 37 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils.GeometryHolder; 90 GeometryMathUtils.initializeHolder(mUpdateHolder, mLocalRep); 186 if (GeometryMathUtils.needsDimensionSwap(mGeometry.rotation)) { 268 mDisplayMatrix = GeometryMathUtils.getFullGeometryToScreenMatrix(mGeometry, 272 mDisplayCropMatrix = GeometryMathUtils.getFullGeometryToScreenMatrix(mGeometry,
|
H A D | GeometryMathUtils.java | 41 public final class GeometryMathUtils { class 42 private static final String TAG = "GeometryMathUtils"; 45 private GeometryMathUtils() {}; method in class:GeometryMathUtils 334 return GeometryMathUtils.getOriginalToScreen(h, reflectRotation, bmapDimens.width(), 444 if (GeometryMathUtils.needsDimensionSwap(holder.rotation)) { 448 float scale = GeometryMathUtils.scale(bw, bh, viewWidth, viewHeight); 472 float scale = GeometryMathUtils.scale(crop.width(), crop.height(), viewWidth, viewHeight); 474 GeometryMathUtils.scaleRect(crop, scale);
|
H A D | MasterImage.java | 586 GeometryMathUtils.GeometryHolder holder = GeometryMathUtils.unpackGeometry( 588 m = GeometryMathUtils.getCropSelectionToScreenMatrix(null, holder, 623 Matrix m = GeometryMathUtils.getImageToScreenMatrix(mPreset.getGeometryFilters(),
|
H A D | ImageShow.java | 228 Matrix m = GeometryMathUtils.getImageToScreenMatrix(master.getPreset().getGeometryFilters(), 450 GeometryMathUtils.GeometryHolder holder = null; 451 holder = GeometryMathUtils.unpackGeometry(geometry); 492 float scale = GeometryMathUtils.scale(imageWidth, imageHeight,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilter.java | 25 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 91 return GeometryMathUtils.getImageToScreenMatrix(getEnvironment().getImagePreset()
|
H A D | FilterMirrorRepresentation.java | 26 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropMath.java | 23 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 100 array[x] = GeometryMathUtils.clamp(array[x], imageBound.left, imageBound.right); 101 array[x + 1] = GeometryMathUtils.clamp(array[x + 1], imageBound.top, imageBound.bottom); 122 float mag = GeometryMathUtils.vectorLength( 123 GeometryMathUtils.shortestVectorFromPointToLine(point, line));
|
H A D | CropObject.java | 22 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 236 float[] bUnit = GeometryMathUtils.normalize(b); 237 float sp = GeometryMathUtils.scalarProjection(disp, bUnit);
|
H A D | BoundedRect.java | 22 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 137 GeometryMathUtils.shortestVectorFromPointToLine(badCorner, nearestSide); 198 float[] p = GeometryMathUtils.lineIntersect(pathOfCorner, outerSide); 291 float[] p = GeometryMathUtils.lineIntersect(l1, l2);
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | CropMath.java | 98 array[x] = GeometryMathUtils.clamp(array[x], imageBound.left, imageBound.right); 99 array[x + 1] = GeometryMathUtils.clamp(array[x + 1], imageBound.top, imageBound.bottom); 120 float mag = GeometryMathUtils.vectorLength( 121 GeometryMathUtils.shortestVectorFromPointToLine(point, line));
|
H A D | GeometryMathUtils.java | 42 public final class GeometryMathUtils { class 43 private static final String TAG = "GeometryMathUtils"; 46 private GeometryMathUtils() {}; method in class:GeometryMathUtils
|
H A D | BoundedRect.java | 135 GeometryMathUtils.shortestVectorFromPointToLine(badCorner, nearestSide); 196 float[] p = GeometryMathUtils.lineIntersect(pathOfCorner, outerSide); 289 float[] p = GeometryMathUtils.lineIntersect(l1, l2);
|
H A D | CropObject.java | 234 float[] bUnit = GeometryMathUtils.normalize(b); 235 float sp = GeometryMathUtils.scalarProjection(disp, bUnit);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | CacheProcessing.java | 24 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 111 cacheBitmap = GeometryMathUtils.applyGeometryRepresentations(geometry, cacheBitmap);
|
H A D | ImagePreset.java | 40 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 467 return GeometryMathUtils.finalGeometryRect(width, height, getGeometryFilters()); 474 Bitmap bmp = GeometryMathUtils.applyGeometryRepresentations(
|
H A D | CachingPipeline.java | 35 import com.android.gallery3d.filtershow.imageshow.GeometryMathUtils; 413 return GeometryMathUtils.applyGeometryRepresentations(preset.getGeometryFilters(), bitmap);
|