Package org.robolectric.shadows
Class ShadowHardwareRenderer
java.lang.Object
org.robolectric.shadows.ShadowHardwareRenderer
@Implements(value=android.graphics.HardwareRenderer.class,
isInAndroidSdk=false,
looseSignatures=true,
minSdk=29)
public class ShadowHardwareRenderer
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Bitmap
createHardwareBitmap
(Object node, Object width, Object height) protected static long
nCreateProxy
(boolean translucent, boolean isWideGamut, long rootRenderNode) protected static long
nCreateProxy
(boolean translucent, long rootRenderNode) protected static long
nCreateProxy
(Object translucent, Object 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) -
nCreateProxy
@Implementation(minSdk=31) protected static long nCreateProxy(Object translucent, Object rootRenderNode) -
createHardwareBitmap
@Implementation protected static Bitmap createHardwareBitmap(Object node, Object width, Object height) -
reset
-