public class LayoutTreeFuture extends TreeFuture<LayoutState>
mFutureTask, mMoveOperationsBetweenThreads, mRunningThreadId
Constructor and Description |
---|
LayoutTreeFuture(LithoResolutionResult lithoResolutionResult,
ComponentContext componentContext,
Component component,
LayoutState currentLayoutState,
DiffNode diffTreeRoot,
PerfEvent logLayoutStatePerfEvent,
int widthSpec,
int heightSpec,
int componentTreeId,
int layoutVersion) |
Modifier and Type | Method and Description |
---|---|
protected LayoutState |
calculate()
Calculates a new result for this TreeFuture.
|
boolean |
isEquivalentTo(TreeFuture that)
Returns true if the provided TreeFuture is equivalent to this one.
|
protected LayoutState |
resumeCalculation(LayoutState partialResult)
Resumes an interrupted calculation based on a partial result
|
addSystraceArgs, getWaitingCount, onGetEnd, onGetStart, onWaitEnd, onWaitStart
public LayoutTreeFuture(LithoResolutionResult lithoResolutionResult, ComponentContext componentContext, Component component, LayoutState currentLayoutState, DiffNode diffTreeRoot, PerfEvent logLayoutStatePerfEvent, int widthSpec, int heightSpec, int componentTreeId, int layoutVersion)
protected LayoutState calculate()
TreeFuture
calculate
in class TreeFuture<LayoutState>
protected LayoutState resumeCalculation(LayoutState partialResult)
TreeFuture
resumeCalculation
in class TreeFuture<LayoutState>
public boolean isEquivalentTo(TreeFuture that)
TreeFuture
isEquivalentTo
in class TreeFuture<LayoutState>