public interface LithoLayoutResult extends ComponentLayout
Node.LayoutResult
class for LithoModifier and Type | Interface and Description |
---|---|
static interface |
LithoLayoutResult.NestedTreeHolderResult
Holds the
LithoLayoutResult for InternalNode.NestedTreeHolder |
getBackground, getHeight, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getResolvedLayoutDirection, getWidth, getX, getY, isPaddingSet
ComponentContext getContext()
YogaNode getYogaNode()
java.lang.String getSimpleName()
InternalNode getParent()
InternalNode getChildAt(int index)
int getChildCount()
int getChildIndex(InternalNode child)
boolean isInitialized()
java.util.List<Component> getComponents()
java.util.List<java.lang.String> getComponentKeys()
Component getHeadComponent()
java.lang.String getHeadComponentKey()
Component getTailComponent()
java.lang.String getTailComponentKey()
java.util.List<Component> getUnresolvedComponents()
java.util.Map<java.lang.String,Component> getComponentsNeedingPreviousRenderData()
java.util.ArrayList<com.facebook.litho.WorkingRangeContainer.Registration> getWorkingRangeRegistrations()
boolean hasVisibilityHandlers()
EventHandler<VisibleEvent> getVisibleHandler()
EventHandler<InvisibleEvent> getInvisibleHandler()
EventHandler<FocusedVisibleEvent> getFocusedHandler()
EventHandler<UnfocusedVisibleEvent> getUnfocusedHandler()
EventHandler<VisibilityChangedEvent> getVisibilityChangedHandler()
EventHandler<FullImpressionVisibleEvent> getFullImpressionHandler()
float getVisibleHeightRatio()
float getVisibleWidthRatio()
boolean hasTransitionKey()
java.lang.String getTransitionKey()
java.lang.String getTransitionOwnerKey()
java.lang.String getTransitionGlobalKey()
Transition.TransitionKeyType getTransitionKeyType()
java.util.ArrayList<Transition> getTransitions()
NodeInfo getNodeInfo()
Drawable getForeground()
boolean hasStateListAnimatorResSet()
StateListAnimator getStateListAnimator()
int getStateListAnimatorRes()
boolean shouldDrawBorders()
boolean hasBorderColor()
int[] getBorderColors()
float[] getBorderRadius()
int getLayoutBorder(YogaEdge edge)
PathEffect getBorderPathEffect()
boolean hasTouchExpansion()
int getTouchExpansionBottom()
int getTouchExpansionLeft()
int getTouchExpansionRight()
int getTouchExpansionTop()
Edges getTouchExpansion()
boolean isDuplicateParentStateEnabled()
boolean isDuplicateChildrenStatesEnabled()
boolean isForceViewWrapping()
boolean isImportantForAccessibilityIsSet()
int getImportantForAccessibility()
int getLayerType()
Paint getLayerPaint()
float getMaxHeight()
float getMaxWidth()
float getMinHeight()
float getMinWidth()
float getStyleHeight()
float getStyleWidth()
boolean isLayoutDirectionInherit()
YogaDirection getStyleDirection()
YogaDirection recursivelyResolveLayoutDirection()
boolean areCachedMeasuresValid()
float getLastMeasuredHeight()
Component
returned for the
height. This is used together with getLastHeightSpec()
to implement
measure caching.float getLastMeasuredWidth()
Component
returned for the
width. This is used together with getLastWidthSpec()
to implement measure
caching.int getLastHeightSpec()
int getLastWidthSpec()
DiffNode getDiffNode()
void assertContextSpecificStyleNotSet()
java.lang.String getTestKey()
void setLastWidthSpec(int widthSpec)
void setLastHeightSpec(int heightSpec)
void setLastMeasuredHeight(float lastMeasuredHeight)
Component
returned
for the height.void setLastMeasuredWidth(float lastMeasuredWidth)
Component
returned
for the width.