Package org.robolectric.shadows
Class ShadowHardwareRenderer
java.lang.Object
org.robolectric.shadows.ShadowHardwareRenderer
@Implements(value=android.graphics.HardwareRenderer.class,
isInAndroidSdk=false,
minSdk=29)
public class ShadowHardwareRenderer
extends Object
No-op shadow for
HardwareRenderer
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Bitmap
createHardwareBitmap
(RenderNode node, int width, int height) protected static long
nCreateProxy
(boolean translucent, boolean isWideGamut, long rootRenderNode) protected static long
nCreateProxy
(boolean translucent, long rootRenderNode) protected static long
nCreateProxyFromS
(boolean translucent, long rootRenderNode) protected static long
nCreateTextureLayer
(long nativeProxy) static void
reset()
-
Constructor Details
-
ShadowHardwareRenderer
public ShadowHardwareRenderer()
-
-
Method Details
-
nCreateProxy
@Implementation(maxSdk=29) protected static long nCreateProxy(boolean translucent, long rootRenderNode) -
nCreateTextureLayer
-
nCreateProxy
@Implementation(minSdk=30, maxSdk=30) protected static long nCreateProxy(boolean translucent, boolean isWideGamut, long rootRenderNode) -
nCreateProxyFromS
@Implementation(minSdk=31, methodName="nCreateProxy") protected static long nCreateProxyFromS(boolean translucent, long rootRenderNode) -
createHardwareBitmap
@Implementation protected static Bitmap createHardwareBitmap(RenderNode node, int width, int height) -
reset
-