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 Details

    • ShadowHardwareRenderer

      public ShadowHardwareRenderer()
  • Method Details

    • 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)
    • 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

      @Resetter public static void reset()