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 forSurfaceControl
-
-
Constructor Summary
Constructors Constructor Description ShadowSurfaceControl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
reset
@Resetter public static void reset()
-
finalize
@Implementation protected void finalize() throws Throwable
-
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)
-
-