FileDocCategorySizeDatePackage
RoundedBitmapDrawable21.javaAPI DocAndroid 5.1 API1720Thu Mar 12 22:22:56 GMT 2015android.support.v4.graphics.drawable

RoundedBitmapDrawable21

public class RoundedBitmapDrawable21 extends RoundedBitmapDrawable

Fields Summary
Constructors Summary
protected RoundedBitmapDrawable21(android.content.res.Resources res, android.graphics.Bitmap bitmap)

        super(res, bitmap);
    
Methods Summary
public voidgetOutline(android.graphics.Outline outline)

        updateDstRect();
        outline.setRoundRect(mDstRect, getCornerRadius());
    
voidgravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, android.graphics.Rect bounds, android.graphics.Rect outRect)

        Gravity.apply(gravity, bitmapWidth, bitmapHeight,
                bounds, outRect, View.LAYOUT_DIRECTION_LTR);
    
public booleanhasMipMap()

        return mBitmap != null && mBitmap.hasMipMap();
    
public voidsetMipMap(boolean mipMap)

        if (mBitmap != null) {
            mBitmap.setHasMipMap(mipMap);
            invalidateSelf();
        }