Package org.robolectric.shadows
Class ShadowSurface
- java.lang.Object
-
- org.robolectric.shadows.ShadowSurface
-
@Implements(android.view.Surface.class) public class ShadowSurface extends Object
Shadow forSurface
-
-
Constructor Summary
Constructors Constructor Description ShadowSurface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
__constructor__(SurfaceTexture surfaceTexture)
protected void
finalize()
SurfaceTexture
getSurfaceTexture()
protected boolean
isValid()
protected Canvas
lockCanvas(Rect inOutDirty)
protected Canvas
lockHardwareCanvas()
protected void
release()
protected void
unlockCanvasAndPost(Canvas canvas)
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(SurfaceTexture surfaceTexture)
-
getSurfaceTexture
public SurfaceTexture getSurfaceTexture()
-
finalize
@Implementation(minSdk=17) protected void finalize() throws Throwable
-
isValid
@Implementation protected boolean isValid()
-
release
@Implementation protected void release()
-
lockCanvas
@Implementation protected Canvas lockCanvas(Rect inOutDirty)
-
lockHardwareCanvas
@Implementation(minSdk=23) protected Canvas lockHardwareCanvas()
-
unlockCanvasAndPost
@Implementation protected void unlockCanvasAndPost(Canvas canvas)
-
-