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 forThreadedRendererthat is backed by native code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowNativeThreadedRenderer.PickerShadow picker forThreadedRenderer.
-
Constructor Summary
Constructors Constructor Description ShadowNativeThreadedRenderer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidnAddRenderNode(long nativeProxy, long rootRenderNode, boolean placeFront)protected static voidnBuildLayer(long nativeProxy, long node)protected static voidnCancelLayerUpdate(long nativeProxy, long layer)protected static BitmapnCreateHardwareBitmap(long renderNode, int width, int height)protected static longnCreateProxy(boolean translucent, long rootRenderNode)protected static longnCreateRootRenderNode()protected static longnCreateTextureLayer(long nativeProxy)protected static voidnDeleteProxy(long nativeProxy)protected static voidnDestroy(long nativeProxy, long rootRenderNode)protected static voidnDestroyHardwareResources(long nativeProxy)protected static voidnDetachSurfaceTexture(long nativeProxy, long layer)protected static voidnDrawRenderNode(long nativeProxy, long rootRenderNode)protected static voidnFence(long nativeProxy)protected static intnGetRenderThreadTid(long nativeProxy)protected static booleannLoadSystemProperties(long nativeProxy)protected static voidnNotifyFramePending(long nativeProxy)protected static voidnOverrideProperty(String name, String value)protected static voidnPushLayerUpdate(long nativeProxy, long layer)protected static voidnRegisterAnimatingRenderNode(long rootRenderNode, long animatingNode)protected static voidnRegisterVectorDrawableAnimator(long rootRenderNode, long animator)protected static voidnRemoveRenderNode(long nativeProxy, long rootRenderNode)protected static voidnRotateProcessStatsBuffer()protected static voidnSetContentDrawBounds(long nativeProxy, int left, int top, int right, int bottom)protected static voidnSetName(long nativeProxy, String name)protected static voidnSetOpaque(long nativeProxy, boolean opaque)protected static voidnSetProcessStatsBuffer(int fd)protected static voidnSetStopped(long nativeProxy, boolean stopped)protected static voidnStopDrawing(long nativeProxy)protected static booleannSupportsOpenGL()protected static intnSyncAndDrawFrame(long nativeProxy, long[] frameInfo, int size)protected static voidnTrimMemory(int level)
-
-
-
Method Detail
-
nSupportsOpenGL
@Implementation 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)
-
-