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
All Methods Static Methods Concrete Methods 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)
protected static long
nCreateProxy(Object translucent, Object rootRenderNode)
protected static long
nCreateTextureLayer(long nativeProxy)
static void
reset()
-
-
-
Method Detail
-
nCreateProxy
@Implementation(maxSdk=29) protected static long nCreateProxy(boolean translucent, long rootRenderNode)
-
nCreateTextureLayer
@Implementation protected static long nCreateTextureLayer(long nativeProxy)
-
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
@Resetter public static void reset()
-
-