Lines Matching refs:crop
332 // crop this image and scale it down to the default wallpaper size for
338 RectF crop = getMaxCropRect(
352 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop);
364 // Get the crop
375 // Get the crop
400 // Extend the crop all the way to the right, for parallax
604 // Find crop bounds (scaled to original image size)
637 Log.w(LOGTAG, "crop has bad values for full size image");
664 Bitmap crop = null;
666 // Do region decoding to get crop bitmap
671 crop = decoder.decodeRegion(roundedTrueCrop, options);
675 if (crop == null) {
676 // BitmapRegionDecoder has failed, try to crop in-memory
720 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
726 if (crop == null) {
732 float[] dimsAfter = new float[] { crop.getWidth(), crop.getHeight() };
750 m1.setTranslate(-crop.getWidth() / 2f, -crop.getHeight() / 2f);
771 c.drawBitmap(crop, m, p);
772 crop = tmp;
777 mCroppedBitmap = crop;
786 if (crop.compress(cf, DEFAULT_COMPRESS_QUALITY, tmpOut)) {
866 // Get a crop rect that will fit this