Class ShadowNativeRenderEffect

java.lang.Object
org.robolectric.shadows.ShadowNativeRenderEffect

@Implements(value=android.graphics.RenderEffect.class, minSdk=26, shadowPicker=Picker.class) public class ShadowNativeRenderEffect extends Object
Shadow for RenderEffect that is backed by native code
  • Constructor Details

    • ShadowNativeRenderEffect

      public ShadowNativeRenderEffect()
  • Method Details

    • nativeCreateOffsetEffect

      @Implementation(minSdk=31) protected static long nativeCreateOffsetEffect(float offsetX, float offsetY, long nativeInput)
    • nativeCreateBlurEffect

      @Implementation(minSdk=31) protected static long nativeCreateBlurEffect(float radiusX, float radiusY, long nativeInput, int edgeTreatment)
    • nativeCreateBitmapEffect

      @Implementation(minSdk=31) protected static long nativeCreateBitmapEffect(long bitmapHandle, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom)
    • nativeCreateColorFilterEffect

      @Implementation(minSdk=31) protected static long nativeCreateColorFilterEffect(long colorFilter, long nativeInput)
    • nativeCreateBlendModeEffect

      @Implementation(minSdk=31) protected static long nativeCreateBlendModeEffect(long dst, long src, int blendmode)
    • nativeCreateChainEffect

      @Implementation(minSdk=31) protected static long nativeCreateChainEffect(long outer, long inner)
    • nativeCreateShaderEffect

      @Implementation(minSdk=31) protected static long nativeCreateShaderEffect(long shader)
    • nativeGetFinalizer

      @Implementation(minSdk=31) protected static long nativeGetFinalizer()