Package org.robolectric.shadows
Class ShadowNativeRenderNodeAnimator
java.lang.Object
org.robolectric.shadows.ShadowNativeRenderNodeAnimator
@Implements(value=android.graphics.animation.RenderNodeAnimator.class,
minSdk=30,
shadowPicker=Picker.class,
isInAndroidSdk=false)
public class ShadowNativeRenderNodeAnimator
extends Object
Shadow for
RenderNodeAnimator
that is backed by native code-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Shadow picker forRenderNodeAnimator
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static long
nCreateAnimator
(int property, float finalValue) protected static long
nCreateCanvasPropertyFloatAnimator
(long canvasProperty, float finalValue) protected static long
nCreateCanvasPropertyPaintAnimator
(long canvasProperty, int paintField, float finalValue) protected static long
nCreateRevealAnimator
(int x, int y, float startRadius, float endRadius) protected static void
nEnd
(long animPtr) protected static long
nGetDuration
(long nativePtr) protected static void
nSetAllowRunningAsync
(long animPtr, boolean mayRunAsync) protected static void
nSetDuration
(long nativePtr, long duration) protected static void
nSetInterpolator
(long animPtr, long interpolatorPtr) protected static void
nSetListener
(long animPtr, android.graphics.animation.RenderNodeAnimator listener) protected static void
nSetStartDelay
(long nativePtr, long startDelay) protected static void
nSetStartValue
(long nativePtr, float startValue) protected static void
nStart
(long animPtr)
-
Constructor Details
-
ShadowNativeRenderNodeAnimator
public ShadowNativeRenderNodeAnimator()
-
-
Method Details
-
nCreateAnimator
-
nCreateCanvasPropertyFloatAnimator
@Implementation protected static long nCreateCanvasPropertyFloatAnimator(long canvasProperty, float finalValue) -
nCreateCanvasPropertyPaintAnimator
@Implementation protected static long nCreateCanvasPropertyPaintAnimator(long canvasProperty, int paintField, float finalValue) -
nCreateRevealAnimator
@Implementation protected static long nCreateRevealAnimator(int x, int y, float startRadius, float endRadius) -
nSetStartValue
-
nSetDuration
-
nGetDuration
-
nSetStartDelay
-
nSetInterpolator
-
nSetAllowRunningAsync
-
nSetListener
@Implementation protected static void nSetListener(long animPtr, android.graphics.animation.RenderNodeAnimator listener) -
nStart
-
nEnd
-