FileDocCategorySizeDatePackage
ColorFilter_Delegate.javaAPI DocAndroid 5.1 API2423Thu Mar 12 22:22:44 GMT 2015android.graphics

ColorFilter_Delegate

public abstract class ColorFilter_Delegate extends Object
Delegate implementing the native methods of android.graphics.ColorFilter Through the layoutlib_create tool, the original native methods of ColorFilter have been replaced by calls to methods of the same name in this delegate class. This class behaves like the original native implementation, but in Java, keeping previously native data into its own objects and mapping them to int that are sent back and forth between it and the original ColorFilter class. This also serve as a base class for all ColorFilter delegate classes.
see
DelegateManager

Fields Summary
protected static final com.android.layoutlib.bridge.impl.DelegateManager
sManager
Constructors Summary
Methods Summary
public voidapplyFilter(java.awt.Graphics2D g, int width, int height)

        // This should never be called directly. If supported, the sub class should override this.
        assert false;
    
static voiddestroyFilter(long native_instance)

        sManager.removeJavaReferenceFor(native_instance);
    
public static android.graphics.ColorFilter_DelegategetDelegate(long nativeShader)


    // ---- delegate helper data ----

    // ---- delegate data ----

    // ---- Public Helper methods ----

         
        return sManager.getDelegate(nativeShader);
    
public abstract java.lang.StringgetSupportMessage()

public booleanisSupported()

        return false;