Package org.robolectric.shadows
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-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
nAddRenderNode
(long nativeProxy, long rootRenderNode, boolean placeFront) protected static void
nBuildLayer
(long nativeProxy, long node) protected static void
nCancelLayerUpdate
(long nativeProxy, long layer) protected static Bitmap
nCreateHardwareBitmap
(long renderNode, int width, int height) protected static long
nCreateProxy
(boolean translucent, long rootRenderNode) protected static long
protected static long
nCreateTextureLayer
(long nativeProxy) protected static void
nDeleteProxy
(long nativeProxy) protected static void
nDestroy
(long nativeProxy, long rootRenderNode) protected static void
nDestroyHardwareResources
(long nativeProxy) protected static void
nDetachSurfaceTexture
(long nativeProxy, long layer) protected static void
nDrawRenderNode
(long nativeProxy, long rootRenderNode) protected static void
nFence
(long nativeProxy) protected static int
nGetRenderThreadTid
(long nativeProxy) protected static boolean
nLoadSystemProperties
(long nativeProxy) protected static void
nNotifyFramePending
(long nativeProxy) protected static void
nOverrideProperty
(String name, String value) protected static void
nPushLayerUpdate
(long nativeProxy, long layer) protected static void
nRegisterAnimatingRenderNode
(long rootRenderNode, long animatingNode) protected static void
nRegisterVectorDrawableAnimator
(long rootRenderNode, long animator) protected static void
nRemoveRenderNode
(long nativeProxy, long rootRenderNode) protected static void
protected static void
nSetContentDrawBounds
(long nativeProxy, int left, int top, int right, int bottom) protected static void
protected static void
nSetOpaque
(long nativeProxy, boolean opaque) protected static void
nSetProcessStatsBuffer
(int fd) protected static void
nSetStopped
(long nativeProxy, boolean stopped) protected static void
nStopDrawing
(long nativeProxy) protected static boolean
protected static int
nSyncAndDrawFrame
(long nativeProxy, long[] frameInfo, int size) protected static void
nTrimMemory
(int level)
-
Constructor Details
-
ShadowNativeThreadedRenderer
public ShadowNativeThreadedRenderer()
-
-
Method Details
-
nSupportsOpenGL
-
nRotateProcessStatsBuffer
-
nSetProcessStatsBuffer
-
nGetRenderThreadTid
-
nCreateRootRenderNode
-
nCreateProxy
-
nDeleteProxy
-
nLoadSystemProperties
-
nSetName
-
nSetStopped
-
nSetOpaque
-
nSyncAndDrawFrame
@Implementation protected static int nSyncAndDrawFrame(long nativeProxy, long[] frameInfo, int size) -
nDestroy
-
nRegisterAnimatingRenderNode
@Implementation protected static void nRegisterAnimatingRenderNode(long rootRenderNode, long animatingNode) -
nRegisterVectorDrawableAnimator
@Implementation protected static void nRegisterVectorDrawableAnimator(long rootRenderNode, long animator) -
nCreateTextureLayer
-
nBuildLayer
-
nPushLayerUpdate
-
nCancelLayerUpdate
-
nDetachSurfaceTexture
-
nDestroyHardwareResources
-
nTrimMemory
-
nOverrideProperty
-
nFence
-
nStopDrawing
-
nNotifyFramePending
-
nAddRenderNode
@Implementation protected static void nAddRenderNode(long nativeProxy, long rootRenderNode, boolean placeFront) -
nRemoveRenderNode
-
nDrawRenderNode
-
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)
-