Package org.robolectric.shadows
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-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeRenderEffect.PickerShadow picker forRenderEffect. -
Constructor Summary
Constructors Constructor Description ShadowNativeRenderEffect() -
Method Summary
Modifier and Type Method Description protected static longnativeCreateBitmapEffect(long bitmapHandle, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom)protected static longnativeCreateBlendModeEffect(long dst, long src, int blendmode)protected static longnativeCreateBlurEffect(float radiusX, float radiusY, long nativeInput, int edgeTreatment)protected static longnativeCreateChainEffect(long outer, long inner)protected static longnativeCreateColorFilterEffect(long colorFilter, long nativeInput)protected static longnativeCreateOffsetEffect(float offsetX, float offsetY, long nativeInput)protected static longnativeCreateShaderEffect(long shader)protected static longnativeGetFinalizer()
-
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
-
nativeCreateShaderEffect
-
nativeGetFinalizer
-