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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static long
nativeCreateBitmapEffect
(long bitmapHandle, float srcLeft, float srcTop, float srcRight, float srcBottom, float dstLeft, float dstTop, float dstRight, float dstBottom) protected static long
nativeCreateBlendModeEffect
(long dst, long src, int blendmode) protected static long
nativeCreateBlurEffect
(float radiusX, float radiusY, long nativeInput, int edgeTreatment) protected static long
nativeCreateChainEffect
(long outer, long inner) protected static long
nativeCreateColorFilterEffect
(long colorFilter, long nativeInput) protected static long
nativeCreateOffsetEffect
(float offsetX, float offsetY, long nativeInput) protected static long
nativeCreateShaderEffect
(long shader) protected static long
-
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
-