Code example for ImageView.ScaleType

Methods: ordinal

0
 * 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 
Stop searching for code, let great code find you!  Add Codota to your java IDE