Searched defs:crop (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Gallery2/jni/filters/
H A Dgeometry.c116 __inline__ void crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight){ function
160 crop(source, srcWidth, srcHeight, destination, dstWidth, dstHeight, offsetWidth, offsetHeight);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGeometryMetadata.java28 // Applied in order: rotate, crop, scale.
374 public static Matrix buildPhotoMatrix(RectF photo, RectF crop, float rotation, argument
379 m.postRotate(rotation, crop.centerX(), crop.centerY());
384 public static Matrix buildCropMatrix(RectF crop, float rotation) { argument
386 m.setRotate(rotation, crop.centerX(), crop.centerY());
428 * straighten angle, mirrors it about the crop center, and rotates it about
429 * the crop center by the rotation angle, and re-centers the photo rect.
432 * @param crop
439 buildCenteredPhotoMatrix(RectF photo, RectF crop, float rotation, float straighten, FLIP type, float[] newCenter) argument
459 buildCenteredCropMatrix(RectF crop, float rotation, float[] newCenter) argument
481 buildWanderingCropMatrix(RectF photo, RectF crop, float rotation, float straighten, FLIP type, float[] newCenter) argument
[all...]

Completed in 56 milliseconds