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
Constructors Constructor Description ShadowHardwareRenderer()
-
Method Summary
Modifier and Type Method Description protected 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)
-
Constructor Details
-
ShadowHardwareRenderer
public ShadowHardwareRenderer()
-
-
Method Details
-
nCreateProxy
@Implementation(maxSdk=29) protected static long nCreateProxy(boolean translucent, long rootRenderNode) -
nCreateProxy
@Implementation(minSdk=30, maxSdk=30) protected static long nCreateProxy(boolean translucent, boolean isWideGamut, long rootRenderNode) -
createHardwareBitmap
@Implementation protected static Bitmap createHardwareBitmap(Object node, Object width, Object height)
-