Package org.robolectric.shadows
Class ShadowSurfaceControl
java.lang.Object
org.robolectric.shadows.ShadowSurfaceControl
@Implements(value=android.view.SurfaceControl.class, isInAndroidSdk=false, minSdk=18) public class ShadowSurfaceControl extends Object
Shadow for
SurfaceControl
-
Constructor Summary
Constructors Constructor Description ShadowSurfaceControl()
-
Method Summary
Modifier and Type Method Description protected void
finalize()
protected static Number
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 Number 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)
-