Class ShadowSurfaceControl

java.lang.Object
org.robolectric.shadows.ShadowSurfaceControl

@Implements(value=android.view.SurfaceControl.class, isInAndroidSdk=false) public class ShadowSurfaceControl extends Object
Shadow for SurfaceControl
  • Constructor Details

    • ShadowSurfaceControl

      public ShadowSurfaceControl()
  • Method Details

    • reset

      @Resetter public static void reset()
    • finalize

      @Implementation protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • nativeCreate

      @Implementation(maxSdk=25) protected static long nativeCreate(SurfaceSession session, String name, int w, int h, int format, int flags)
    • nativeCreate

      @Implementation(minSdk=26, maxSdk=28) protected static long nativeCreate(SurfaceSession session, String name, int w, int h, int format, int flags, long parentObject, int windowType, int ownerUid)
    • nativeCreate

      @Implementation(minSdk=29) protected static long nativeCreate(SurfaceSession session, String name, int w, int h, int format, int flags, long parentObject, Parcel metadata)