예제 #1
0
 /**
  * Initialize providing a single target image size (used for both width and height);
  *
  * @param context
  * @param imageSize
  */
 public ImageResizer(Context context, int imageSize) {
   super(context);
   setImageSize(imageSize);
 }
예제 #2
0
 /**
  * Set the target image size (width and height will be the same).
  *
  * @param size
  */
 public void setImageSize(int size) {
   setImageSize(size, size);
 }
예제 #3
0
 /**
  * Initialize providing a single target image size (used for both width and height);
  *
  * @param context
  * @param imageWidth
  * @param imageHeight
  */
 public ImageResizer(Context context, int imageWidth, int imageHeight) {
   super(context);
   setImageSize(imageWidth, imageHeight);
 }