Class RecordingCanvasNatives

java.lang.Object
org.robolectric.nativeruntime.RecordingCanvasNatives

public final class RecordingCanvasNatives extends Object
Native methods for RecordingCanvas JNI registration.

Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/RecordingCanvas.java

  • Method Details

    • nCreateDisplayListCanvas

      public static long nCreateDisplayListCanvas(long node, int width, int height)
    • nResetDisplayListCanvas

      public static void nResetDisplayListCanvas(long canvas, long node, int width, int height)
    • nGetMaximumTextureWidth

      public static int nGetMaximumTextureWidth()
    • nGetMaximumTextureHeight

      public static int nGetMaximumTextureHeight()
    • nEnableZ

      public static void nEnableZ(long renderer, boolean enableZ)
    • nFinishRecording

      public static void nFinishRecording(long renderer, long renderNode)
    • nDrawRenderNode

      public static void nDrawRenderNode(long renderer, long renderNode)
    • nDrawTextureLayer

      public static void nDrawTextureLayer(long renderer, long layer)
    • nDrawCircle

      public static void nDrawCircle(long renderer, long propCx, long propCy, long propRadius, long propPaint)
    • nDrawRipple

      public static void nDrawRipple(long renderer, long propCx, long propCy, long propRadius, long propPaint, long propProgress, long turbulencePhase, int color, long runtimeEffect)
    • nDrawRoundRect

      public static void nDrawRoundRect(long renderer, long propLeft, long propTop, long propRight, long propBottom, long propRx, long propRy, long propPaint)
    • nDrawWebViewFunctor

      public static void nDrawWebViewFunctor(long canvas, int functor)