ColorFilter_Delegatepublic 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. |
Fields Summary |
---|
protected static final com.android.layoutlib.bridge.impl.DelegateManager | sManager |
Methods Summary |
---|
public void | applyFilter(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 void | destroyFilter(long native_instance)
sManager.removeJavaReferenceFor(native_instance);
| public static android.graphics.ColorFilter_Delegate | getDelegate(long nativeShader)
// ---- delegate helper data ----
// ---- delegate data ----
// ---- Public Helper methods ----
return sManager.getDelegate(nativeShader);
| public abstract java.lang.String | getSupportMessage()
| public boolean | isSupported()
return false;
|
|