Package org.robolectric.shadows
Class ShadowSurface
java.lang.Object
org.robolectric.shadows.ShadowSurface
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 long
nativeCreateFromSurfaceControl
(long surfaceControlNativeObject) protected static long
nativeCreateFromSurfaceTexture
(SurfaceTexture 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 long nativeCreateFromSurfaceControl(long surfaceControlNativeObject) -
nativeGetFromSurfaceControl
@Implementation(minSdk=29) protected static long nativeGetFromSurfaceControl(long surfaceObject, long surfaceControlNativeObject) -
reset
-