public class DelegatedUpstreamSurfaceHookMutableSize extends UpstreamSurfaceHookMutableSize
UpstreamSurfaceHook.MutableSize| Constructor and Description |
|---|
DelegatedUpstreamSurfaceHookMutableSize(UpstreamSurfaceHook upstream,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(ProxySurface s)
called within
ProxySurface.createNotify() within lock, before using surface. |
void |
destroy(ProxySurface s)
called within
ProxySurface.destroyNotify() within lock, before clearing fields. |
String |
toString() |
getSurfaceHeight, getSurfaceWidth, setSurfaceSizepublic DelegatedUpstreamSurfaceHookMutableSize(UpstreamSurfaceHook upstream, int width, int height)
upstream - optional upstream UpstreamSurfaceHook used for create(ProxySurface) and destroy(ProxySurface).width - initial widthheight - initial heightpublic final void create(ProxySurface s)
UpstreamSurfaceHookProxySurface.createNotify() within lock, before using surface.create in interface UpstreamSurfaceHookcreate in class UpstreamSurfaceHookMutableSizepublic final void destroy(ProxySurface s)
UpstreamSurfaceHookProxySurface.destroyNotify() within lock, before clearing fields.destroy in interface UpstreamSurfaceHookdestroy in class UpstreamSurfaceHookMutableSizepublic String toString()
toString in class UpstreamSurfaceHookMutableSizeCopyright 2010 JogAmp Community.