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 voidfinalize()SurfaceTexturegetSurfaceTexture()protected booleanisValid()protected CanvaslockCanvas(Rect inOutDirty)protected CanvaslockHardwareCanvas()protected voidrelease()protected voidunlockCanvasAndPost(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)
-
-