Class RenderEffectNatives

java.lang.Object
org.robolectric.nativeruntime.RenderEffectNatives

public final class RenderEffectNatives extends Object
Native methods for RenderEffect JNI registration.

Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/RenderEffect.java

  • Method Details

    • nativeCreateOffsetEffect

      public static long nativeCreateOffsetEffect(float offsetX, float offsetY, long nativeInput)
    • nativeCreateBlurEffect

      public static long nativeCreateBlurEffect(float radiusX, float radiusY, long nativeInput, int edgeTreatment)
    • nativeCreateBitmapEffect

      public static long nativeCreateBitmapEffect(long bitmapHandle, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom)
    • nativeCreateColorFilterEffect

      public static long nativeCreateColorFilterEffect(long colorFilter, long nativeInput)
    • nativeCreateBlendModeEffect

      public static long nativeCreateBlendModeEffect(long dst, long src, int blendmode)
    • nativeCreateChainEffect

      public static long nativeCreateChainEffect(long outer, long inner)
    • nativeCreateShaderEffect

      public static long nativeCreateShaderEffect(long shader)
    • nativeGetFinalizer

      public static long nativeGetFinalizer()