Package org.robolectric.shadows
Class ShadowNativeRenderNodeAnimatorQ
java.lang.Object
org.robolectric.shadows.ShadowNativeRenderNodeAnimatorQ
@Implements(className="android.view.RenderNodeAnimator", minSdk=26, maxSdk=29, looseSignatures=true, shadowPicker=Picker.class) public class ShadowNativeRenderNodeAnimatorQ extends Object
Shadow for
RenderNodeAnimator
for Android Q and below that is backed by
native code-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowNativeRenderNodeAnimatorQ.Picker
Shadow picker forRenderNodeAnimator
. -
Constructor Summary
Constructors Constructor Description ShadowNativeRenderNodeAnimatorQ()
-
Method Summary
Modifier and Type Method Description protected 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(Object animPtr, Object 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
-
ShadowNativeRenderNodeAnimatorQ
public ShadowNativeRenderNodeAnimatorQ()
-
-
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
-
nStart
-
nEnd
-