Package org.robolectric.shadows
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finalize()
protected static long
nativeCreate
(SurfaceSession session, String name, int w, int h, int format, int flags) protected static long
nativeCreate
(SurfaceSession session, String name, int w, int h, int format, int flags, long parentObject, int windowType, int ownerUid) protected static long
nativeCreate
(SurfaceSession session, String name, int w, int h, int format, int flags, long parentObject, Parcel metadata) static void
reset()
-
Constructor Details
-
ShadowSurfaceControl
public ShadowSurfaceControl()
-
-
Method Details
-
reset
-
finalize
-
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)
-