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, onWaitStartpublic LayoutTreeFuture(LithoResolutionResult lithoResolutionResult, ComponentContext componentContext, Component component, LayoutState currentLayoutState, DiffNode diffTreeRoot, PerfEvent logLayoutStatePerfEvent, int widthSpec, int heightSpec, int componentTreeId, int layoutVersion)
protected LayoutState calculate()
TreeFuturecalculate in class TreeFuture<LayoutState>protected LayoutState resumeCalculation(LayoutState partialResult)
TreeFutureresumeCalculation in class TreeFuture<LayoutState>public boolean isEquivalentTo(TreeFuture that)
TreeFutureisEquivalentTo in class TreeFuture<LayoutState>