Code example for Drawable

Methods: getOpacity

0
        return mProxy != null ? mProxy.getIntrinsicHeight() : -1;
    } 
     
    @Override 
    public int getOpacity() { 
        return mProxy != null ? mProxy.getOpacity() : PixelFormat.TRANSPARENT;
    } 
     
    @Override 
    public void setFilterBitmap(boolean filter) {
        if (mProxy != null) {
            mProxy.setFilterBitmap(filter);
        } 
    } 
     
    @Override 
    public void setDither(boolean dither) {
        if (mProxy != null) {
            mProxy.setDither(dither);
        } 
    }