public class RootHostDelegate extends Object implements RenderState.HostListener, RootHost
Constructor and Description |
---|
RootHostDelegate(Host host) |
Modifier and Type | Method and Description |
---|---|
Object |
findMountContentById(long id) |
protected void |
onLayout(boolean changed,
int left,
int top,
int right,
int bottom) |
boolean |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec,
int[] measureOutput)
Returns true if the delegate has defined a size and filled the measureOutput array, returns
false if not in which case the hosting view should call super.onMeasure.
|
void |
onUIRenderTreeUpdated(RenderTree newRenderTree) |
void |
setRenderState(RenderState renderState) |
public RootHostDelegate(Host host)
public boolean onMeasure(int widthMeasureSpec, int heightMeasureSpec, int[] measureOutput)
protected void onLayout(boolean changed, int left, int top, int right, int bottom)
public void setRenderState(RenderState renderState)
setRenderState
in interface RootHost
public void onUIRenderTreeUpdated(RenderTree newRenderTree)
onUIRenderTreeUpdated
in interface RenderState.HostListener
public Object findMountContentById(long id)