Lines Matching refs:crop
35 * Does not crop to fit the hinted dimensions.
62 * Also applies a center-crop a la {@link android.widget.ImageView.ScaleType#CENTER_CROP}.
75 LogUtils.w(TAG, t, "BitmapUtils unable to crop image");
81 * Returns a new Bitmap copy with a center-crop effect a la
92 return crop(src, w, h, 0.5f, 0.5f);
96 * Returns a new Bitmap copy with a crop effect depending on the crop anchor given. 0.5f is like
97 * {@link android.widget.ImageView.ScaleType#CENTER_CROP}. The crop anchor will be be nudged
117 * @param horizontalCenterPercent determines which part of the src to crop from. Range from 0
120 * @param verticalCenterPercent determines which part of the src to crop from. Range from 0
126 public static Bitmap crop(final Bitmap src, final int w, final int h,
137 // exit early if no resize/crop needed
169 LogUtils.e(TAG, new Error(), "BitmapUtils last center crop violated assumptions.");