public class LayoutStateContext extends java.lang.Object implements CalculationStateContext
| Modifier and Type | Method and Description |
|---|---|
DiffNode |
consumeNestedTreeDiffNode() |
MeasuredResultCache |
getCache() |
ComponentTree |
getComponentTree() |
DiffNode |
getCurrentDiffTree() |
TreeFuture |
getLayoutStateFuture() |
int |
getLayoutVersion() |
java.lang.String |
getLifecycleDebugString() |
PerfEvent |
getPerfEvent() |
static LayoutStateContext |
getTestInstance(ComponentContext c)
Deprecated.
|
TreeState |
getTreeState() |
boolean |
isFutureReleased() |
boolean |
isReleased()
Returns true if this layout associated with this instance is completed and no longer in use.
|
void |
markLayoutResumed() |
void |
setPerfEvent(PerfEvent perfEvent) |
@Deprecated public static LayoutStateContext getTestInstance(ComponentContext c)
public boolean isReleased()
public int getLayoutVersion()
getLayoutVersion in interface CalculationStateContextpublic boolean isFutureReleased()
isFutureReleased in interface CalculationStateContextpublic ComponentTree getComponentTree()
public TreeFuture getLayoutStateFuture()
getLayoutStateFuture in interface CalculationStateContextpublic DiffNode getCurrentDiffTree()
public DiffNode consumeNestedTreeDiffNode()
public TreeState getTreeState()
getTreeState in interface CalculationStateContextpublic MeasuredResultCache getCache()
getCache in interface CalculationStateContextpublic PerfEvent getPerfEvent()
public void setPerfEvent(PerfEvent perfEvent)
public void markLayoutResumed()
public java.lang.String getLifecycleDebugString()