|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpstreamSurfaceHook
Interface allowing upstream caller to pass lifecycle actions and size info
to a ProxySurface
instance.
Nested Class Summary | |
---|---|
static interface |
UpstreamSurfaceHook.MutableSize
UpstreamSurfaceHook w/ mutable size, allowing it's ProxySurface user to resize. |
Method Summary | |
---|---|
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. |
int |
getHeight(ProxySurface s)
Returns the height of the upstream surface, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. |
int |
getWidth(ProxySurface s)
Returns the width of the upstream surface, used if ProxySurface#UPSTREAM_PROVIDES_SIZE is set. |
Method Detail |
---|
void create(ProxySurface s)
ProxySurface.createNotify()
within lock, before using surface.
void destroy(ProxySurface s)
ProxySurface.destroyNotify()
within lock, before clearing fields.
int getWidth(ProxySurface s)
ProxySurface#UPSTREAM_PROVIDES_SIZE
is set.
int getHeight(ProxySurface s)
ProxySurface#UPSTREAM_PROVIDES_SIZE
is set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |