Code example for ImageView.ScaleType

Methods: ordinal

 * ScaleType values 
 * @author Cyril Mottier 
 * @author kennydude 
public class ScaleImageProcessor implements ImageProcessor { 
    private int mWidth;
    private int mHeight;
    private ScaleType mScaleType;
    private final Matrix mMatrix = new Matrix();
    private final RectF mTempSrc = new RectF();
    private final RectF mTempDst = new RectF();
     * Create a new ScaleImageProcessor. 
     * @param width The width of the final surrounding box 
     * @param height The height of the final surrounding box 
     * @param scaleType The ScaleType method used to scale the original Bitmap