public class DirectDrawCachingView
extends TextureView
Constructor and Description |
---|
DirectDrawCachingView(Context context) |
Modifier and Type | Method and Description |
---|---|
BitmapLayer |
lockCanvas() |
void |
onSurfaceTextureAvailable(SurfaceTexture surface,
int width,
int height) |
boolean |
onSurfaceTextureDestroyed(SurfaceTexture surface) |
void |
onSurfaceTextureSizeChanged(SurfaceTexture surface,
int width,
int height) |
void |
onSurfaceTextureUpdated(SurfaceTexture surface) |
void |
unlockAndUpdate() |
@Nullable @WorkerThread public BitmapLayer lockCanvas()
public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height)
public boolean onSurfaceTextureDestroyed(SurfaceTexture surface)
public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height)
public void onSurfaceTextureUpdated(SurfaceTexture surface)
@WorkerThread public void unlockAndUpdate()