Lines Matching refs:crop
331 // crop this image and scale it down to the default wallpaper size for
337 RectF crop = getMaxCropRect(
348 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop);
360 // Get the crop
371 // Get the crop
394 // Extend the crop all the way to the right, for parallax
597 // Find crop bounds (scaled to original image size)
630 Log.w(LOGTAG, "crop has bad values for full size image");
657 Bitmap crop = null;
659 // Do region decoding to get crop bitmap
664 crop = decoder.decodeRegion(roundedTrueCrop, options);
668 if (crop == null) {
669 // BitmapRegionDecoder has failed, try to crop in-memory
713 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
719 if (crop == null) {
725 float[] dimsAfter = new float[] { crop.getWidth(), crop.getHeight() };
743 m1.setTranslate(-crop.getWidth() / 2f, -crop.getHeight() / 2f);
764 c.drawBitmap(crop, m, p);
765 crop = tmp;
770 mCroppedBitmap = crop;
779 if (crop.compress(cf, DEFAULT_COMPRESS_QUALITY, tmpOut)) {
817 // Get a crop rect that will fit this