Home | History | Annotate | Download | only in photomanager

Lines Matching defs:crop

36      * Does not crop to fit the hinted dimensions.
63 * Also applies a center-crop a la {@link android.widget.ImageView.ScaleType#CENTER_CROP}.
76 LogUtils.w(PhotoManager.TAG, t, "unable to crop image");
82 * Returns a new Bitmap copy with a center-crop effect a la
93 return crop(src, w, h, 0.5f, 0.5f);
97 * Returns a new Bitmap copy with a crop effect depending on the crop anchor given. 0.5f is like
98 * {@link android.widget.ImageView.ScaleType#CENTER_CROP}. The crop anchor will be be nudged
118 * @param horizontalCenterPercent determines which part of the src to crop from. Range from 0
121 * @param verticalCenterPercent determines which part of the src to crop from. Range from 0
127 public static Bitmap crop(final Bitmap src, final int w, final int h,
138 // exit early if no resize/crop needed
170 LogUtils.e(PhotoManager.TAG, new Error(), "last center crop violated assumptions.");