Package org.robolectric.shadows
Class ShadowSurface
java.lang.Object
org.robolectric.shadows.ShadowSurface
@Implements(value=android.view.Surface.class,
looseSignatures=true)
public class ShadowSurface
extends Object
Shadow for
Surface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(SurfaceTexture surfaceTexture) protected void
finalize()
protected boolean
isValid()
protected Canvas
lockCanvas
(Rect inOutDirty) protected Canvas
protected static Object
nativeCreateFromSurfaceControl
(Object surfaceControlNativeObject) protected static Object
nativeCreateFromSurfaceTexture
(Object surfaceTexture) protected static long
nativeGetFromSurfaceControl
(long surfaceObject, long surfaceControlNativeObject) protected void
release()
static void
reset()
protected void
unlockCanvasAndPost
(Canvas canvas)
-
Constructor Details
-
ShadowSurface
public ShadowSurface()
-
-
Method Details
-
__constructor__
-
getSurfaceTexture
-
finalize
-
isValid
-
release
-
lockCanvas
-
lockHardwareCanvas
-
unlockCanvasAndPost
-
nativeCreateFromSurfaceTexture
-
nativeCreateFromSurfaceControl
@Implementation protected static Object nativeCreateFromSurfaceControl(Object surfaceControlNativeObject) -
nativeGetFromSurfaceControl
@Implementation(minSdk=29) protected static long nativeGetFromSurfaceControl(long surfaceObject, long surfaceControlNativeObject) -
reset
-