Class ShadowNativeVectorDrawable

java.lang.Object
org.robolectric.shadows.ShadowDrawable
org.robolectric.shadows.ShadowNativeVectorDrawable

Shadow for VectorDrawable that is backed by native code
  • Constructor Details

    • ShadowNativeVectorDrawable

      public ShadowNativeVectorDrawable()
  • Method Details

    • nDraw

      @Implementation(minSdk=26) protected static int nDraw(long rendererPtr, long canvasWrapperPtr, long colorFilterPtr, Rect bounds, boolean needsMirroring, boolean canReuseCache)
    • nGetFullPathProperties

      @Implementation(minSdk=26) protected static boolean nGetFullPathProperties(long pathPtr, byte[] properties, int length)
    • nSetName

      @Implementation(minSdk=26) protected static void nSetName(long nodePtr, String name)
    • nGetGroupProperties

      @Implementation(minSdk=26) protected static boolean nGetGroupProperties(long groupPtr, float[] properties, int length)
    • nSetPathString

      @Implementation(minSdk=26) protected static void nSetPathString(long pathPtr, String pathString, int length)
    • nCreateTree

      @Implementation(minSdk=26) protected static long nCreateTree(long rootGroupPtr)
    • nCreateTreeFromCopy

      @Implementation(minSdk=26) protected static long nCreateTreeFromCopy(long treeToCopy, long rootGroupPtr)
    • nSetRendererViewportSize

      @Implementation(minSdk=26) protected static void nSetRendererViewportSize(long rendererPtr, float viewportWidth, float viewportHeight)
    • nSetRootAlpha

      @Implementation(minSdk=26) protected static boolean nSetRootAlpha(long rendererPtr, float alpha)
    • nGetRootAlpha

      @Implementation(minSdk=26) protected static float nGetRootAlpha(long rendererPtr)
    • nSetAntiAlias

      @Implementation(minSdk=29) protected static void nSetAntiAlias(long rendererPtr, boolean aa)
    • nSetAllowCaching

      @Implementation(minSdk=26) protected static void nSetAllowCaching(long rendererPtr, boolean allowCaching)
    • nCreateFullPath

      @Implementation(minSdk=26) protected static long nCreateFullPath()
    • nCreateFullPath

      @Implementation(minSdk=26) protected static long nCreateFullPath(long nativeFullPathPtr)
    • nUpdateFullPathProperties

      @Implementation(minSdk=26) protected static void nUpdateFullPathProperties(long pathPtr, float strokeWidth, int strokeColor, float strokeAlpha, int fillColor, float fillAlpha, float trimPathStart, float trimPathEnd, float trimPathOffset, float strokeMiterLimit, int strokeLineCap, int strokeLineJoin, int fillType)
    • nUpdateFullPathFillGradient

      @Implementation(minSdk=26) protected static void nUpdateFullPathFillGradient(long pathPtr, long fillGradientPtr)
    • nUpdateFullPathStrokeGradient

      @Implementation(minSdk=26) protected static void nUpdateFullPathStrokeGradient(long pathPtr, long strokeGradientPtr)
    • nCreateClipPath

      @Implementation(minSdk=26) protected static long nCreateClipPath()
    • nCreateClipPath

      @Implementation(minSdk=26) protected static long nCreateClipPath(long clipPathPtr)
    • nCreateGroup

      @Implementation(minSdk=26) protected static long nCreateGroup()
    • nCreateGroup

      @Implementation(minSdk=26) protected static long nCreateGroup(long groupPtr)
    • nUpdateGroupProperties

      @Implementation(minSdk=26) protected static void nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY)
    • nAddChild

      @Implementation(minSdk=26) protected static void nAddChild(long groupPtr, long nodePtr)
    • nGetRotation

      @Implementation(minSdk=26) protected static float nGetRotation(long groupPtr)
    • nSetRotation

      @Implementation(minSdk=26) protected static void nSetRotation(long groupPtr, float rotation)
    • nGetPivotX

      @Implementation(minSdk=26) protected static float nGetPivotX(long groupPtr)
    • nSetPivotX

      @Implementation(minSdk=26) protected static void nSetPivotX(long groupPtr, float pivotX)
    • nGetPivotY

      @Implementation(minSdk=26) protected static float nGetPivotY(long groupPtr)
    • nSetPivotY

      @Implementation(minSdk=26) protected static void nSetPivotY(long groupPtr, float pivotY)
    • nGetScaleX

      @Implementation(minSdk=26) protected static float nGetScaleX(long groupPtr)
    • nSetScaleX

      @Implementation(minSdk=26) protected static void nSetScaleX(long groupPtr, float scaleX)
    • nGetScaleY

      @Implementation(minSdk=26) protected static float nGetScaleY(long groupPtr)
    • nSetScaleY

      @Implementation(minSdk=26) protected static void nSetScaleY(long groupPtr, float scaleY)
    • nGetTranslateX

      @Implementation(minSdk=26) protected static float nGetTranslateX(long groupPtr)
    • nSetTranslateX

      @Implementation(minSdk=26) protected static void nSetTranslateX(long groupPtr, float translateX)
    • nGetTranslateY

      @Implementation(minSdk=26) protected static float nGetTranslateY(long groupPtr)
    • nSetTranslateY

      @Implementation(minSdk=26) protected static void nSetTranslateY(long groupPtr, float translateY)
    • nSetPathData

      @Implementation(minSdk=26) protected static void nSetPathData(long pathPtr, long pathDataPtr)
    • nGetStrokeWidth

      @Implementation(minSdk=26) protected static float nGetStrokeWidth(long pathPtr)
    • nSetStrokeWidth

      @Implementation(minSdk=26) protected static void nSetStrokeWidth(long pathPtr, float width)
    • nGetStrokeColor

      @Implementation(minSdk=26) protected static int nGetStrokeColor(long pathPtr)
    • nSetStrokeColor

      @Implementation(minSdk=26) protected static void nSetStrokeColor(long pathPtr, int strokeColor)
    • nGetStrokeAlpha

      @Implementation(minSdk=26) protected static float nGetStrokeAlpha(long pathPtr)
    • nSetStrokeAlpha

      @Implementation(minSdk=26) protected static void nSetStrokeAlpha(long pathPtr, float alpha)
    • nGetFillColor

      @Implementation(minSdk=26) protected static int nGetFillColor(long pathPtr)
    • nSetFillColor

      @Implementation(minSdk=26) protected static void nSetFillColor(long pathPtr, int fillColor)
    • nGetFillAlpha

      @Implementation(minSdk=26) protected static float nGetFillAlpha(long pathPtr)
    • nSetFillAlpha

      @Implementation(minSdk=26) protected static void nSetFillAlpha(long pathPtr, float fillAlpha)
    • nGetTrimPathStart

      @Implementation(minSdk=26) protected static float nGetTrimPathStart(long pathPtr)
    • nSetTrimPathStart

      @Implementation(minSdk=26) protected static void nSetTrimPathStart(long pathPtr, float trimPathStart)
    • nGetTrimPathEnd

      @Implementation(minSdk=26) protected static float nGetTrimPathEnd(long pathPtr)
    • nSetTrimPathEnd

      @Implementation(minSdk=26) protected static void nSetTrimPathEnd(long pathPtr, float trimPathEnd)
    • nGetTrimPathOffset

      @Implementation(minSdk=26) protected static float nGetTrimPathOffset(long pathPtr)
    • nSetTrimPathOffset

      @Implementation(minSdk=26) protected static void nSetTrimPathOffset(long pathPtr, float trimPathOffset)