Modifier and Type |
Method and Description |
void |
addChild(LithoLayoutResult child) |
boolean |
areCachedMeasuresValid() |
Drawable |
getBackground() |
LithoRenderUnit |
getBackgroundRenderUnit(LayoutState layoutState) |
LithoRenderUnit |
getBorderRenderUnit(LayoutState layoutState) |
LithoLayoutResult |
getChildAt(int i) |
int |
getChildCount() |
int |
getChildrenCount() |
LithoRenderUnit |
getContentRenderUnit(LayoutState layoutState) |
ComponentContext |
getContext() |
DiffNode |
getDiffNode() |
LithoRenderUnit |
getForegroundRenderUnit(LayoutState layoutState) |
int |
getHeight() |
int |
getHeightSpec() |
LithoRenderUnit |
getHostRenderUnit(LayoutState layoutState,
boolean isRoot) |
int |
getLastHeightSpec() |
float |
getLastMeasuredHeight()
The last value the measure funcion associated with this node Component returned for the
height.
|
float |
getLastMeasuredWidth()
The last value the measure funcion associated with this node Component returned for the
width.
|
int |
getLastWidthSpec() |
int |
getLayoutBorder(YogaEdge edge) |
static RenderState.LayoutContext |
getLayoutContextFromYogaNode(YogaNode yogaNode) |
java.lang.Object |
getLayoutData() |
static LithoLayoutResult |
getLayoutResultFromYogaNode(YogaNode yogaNode) |
LithoNode |
getNode() |
int |
getPaddingBottom() |
int |
getPaddingLeft() |
int |
getPaddingRight() |
int |
getPaddingTop() |
LithoLayoutResult |
getParent() |
LithoRenderUnit |
getRenderUnit() |
YogaDirection |
getResolvedLayoutDirection() |
int |
getTouchExpansionBottom() |
int |
getTouchExpansionLeft() |
int |
getTouchExpansionRight() |
int |
getTouchExpansionTop() |
int |
getWidth() |
int |
getWidthSpec() |
int |
getX() |
int |
getXForChildAtIndex(int index) |
int |
getY() |
int |
getYForChildAtIndex(int index) |
YogaNode |
getYogaNode() |
boolean |
isPaddingSet() |
protected MeasureResult |
measureInternal(RenderState.LayoutContext<LithoRenderContext> context,
int widthSpec,
int heightSpec) |
YogaDirection |
recursivelyResolveLayoutDirection() |
void |
setCachedMeasuresValid(boolean isValid) |
void |
setDiffNode(DiffNode diffNode) |
void |
setLastHeightSpec(int heightSpec) |
void |
setLastMeasuredHeight(float lastMeasuredHeight)
Sets the last value the measure funcion associated with this node Component returned
for the height.
|
void |
setLastMeasuredWidth(float lastMeasuredWidth)
Sets the last value the measure funcion associated with this node Component returned
for the width.
|
void |
setLastWidthSpec(int widthSpec) |
void |
setLayoutData(java.lang.Object layoutData) |
void |
setParent(LithoLayoutResult parent) |
boolean |
shouldDrawBorders() |
static boolean |
willMountView(LithoLayoutResult result)
This utility method checks if the will mount a View .
|