Class ShadowNativeThreadedRenderer

java.lang.Object
org.robolectric.shadows.ShadowNativeThreadedRenderer

@Implements(value=android.view.ThreadedRenderer.class, minSdk=26, maxSdk=28, shadowPicker=Picker.class) public class ShadowNativeThreadedRenderer extends Object
Shadow for ThreadedRenderer that is backed by native code
  • Constructor Details

    • ShadowNativeThreadedRenderer

      public ShadowNativeThreadedRenderer()
  • Method Details

    • nSupportsOpenGL

      @Implementation(maxSdk=26) protected static boolean nSupportsOpenGL()
    • nRotateProcessStatsBuffer

      @Implementation protected static void nRotateProcessStatsBuffer()
    • nSetProcessStatsBuffer

      @Implementation protected static void nSetProcessStatsBuffer(int fd)
    • nGetRenderThreadTid

      @Implementation protected static int nGetRenderThreadTid(long nativeProxy)
    • nCreateRootRenderNode

      @Implementation protected static long nCreateRootRenderNode()
    • nCreateProxy

      @Implementation protected static long nCreateProxy(boolean translucent, long rootRenderNode)
    • nDeleteProxy

      @Implementation protected static void nDeleteProxy(long nativeProxy)
    • nLoadSystemProperties

      @Implementation protected static boolean nLoadSystemProperties(long nativeProxy)
    • nSetName

      @Implementation protected static void nSetName(long nativeProxy, String name)
    • nSetStopped

      @Implementation protected static void nSetStopped(long nativeProxy, boolean stopped)
    • nSetOpaque

      @Implementation protected static void nSetOpaque(long nativeProxy, boolean opaque)
    • nSyncAndDrawFrame

      @Implementation protected static int nSyncAndDrawFrame(long nativeProxy, long[] frameInfo, int size)
    • nDestroy

      @Implementation protected static void nDestroy(long nativeProxy, long rootRenderNode)
    • nRegisterAnimatingRenderNode

      @Implementation protected static void nRegisterAnimatingRenderNode(long rootRenderNode, long animatingNode)
    • nRegisterVectorDrawableAnimator

      @Implementation protected static void nRegisterVectorDrawableAnimator(long rootRenderNode, long animator)
    • nCreateTextureLayer

      @Implementation protected static long nCreateTextureLayer(long nativeProxy)
    • nBuildLayer

      @Implementation protected static void nBuildLayer(long nativeProxy, long node)
    • nPushLayerUpdate

      @Implementation protected static void nPushLayerUpdate(long nativeProxy, long layer)
    • nCancelLayerUpdate

      @Implementation protected static void nCancelLayerUpdate(long nativeProxy, long layer)
    • nDetachSurfaceTexture

      @Implementation protected static void nDetachSurfaceTexture(long nativeProxy, long layer)
    • nDestroyHardwareResources

      @Implementation protected static void nDestroyHardwareResources(long nativeProxy)
    • nTrimMemory

      @Implementation protected static void nTrimMemory(int level)
    • nOverrideProperty

      @Implementation protected static void nOverrideProperty(String name, String value)
    • nFence

      @Implementation protected static void nFence(long nativeProxy)
    • nStopDrawing

      @Implementation protected static void nStopDrawing(long nativeProxy)
    • nNotifyFramePending

      @Implementation protected static void nNotifyFramePending(long nativeProxy)
    • nAddRenderNode

      @Implementation protected static void nAddRenderNode(long nativeProxy, long rootRenderNode, boolean placeFront)
    • nRemoveRenderNode

      @Implementation protected static void nRemoveRenderNode(long nativeProxy, long rootRenderNode)
    • nDrawRenderNode

      @Implementation protected static void nDrawRenderNode(long nativeProxy, long rootRenderNode)
    • nSetContentDrawBounds

      @Implementation protected static void nSetContentDrawBounds(long nativeProxy, int left, int top, int right, int bottom)
    • nCreateHardwareBitmap

      @Implementation protected static Bitmap nCreateHardwareBitmap(long renderNode, int width, int height)
    • createHardwareBitmap

      @Implementation(minSdk=28, maxSdk=28) protected static Bitmap createHardwareBitmap(Object renderNode, int width, int height)