-
public class MountItemDispatcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMountItemDispatcher.ItemDispatchListener
-
Constructor Summary
Constructors Constructor Description MountItemDispatcher(MountingManager mountingManager, MountItemDispatcher.ItemDispatchListener listener)
-
Method Summary
Modifier and Type Method Description voiddispatchCommandMountItem(DispatchCommandMountItem command)voidaddMountItem(MountItem mountItem)voidaddPreAllocateMountItem(PreAllocateViewMountItem mountItem)voidaddViewCommandMountItem(DispatchCommandMountItem mountItem)booleantryDispatchMountItems()Try to dispatch MountItems. voiddispatchMountItems(Queue<MountItem> mountItems)voiddispatchPreMountItems(long frameTimeNanos)longgetBatchedExecutionTime()longgetRunStartTime()-
-
Constructor Detail
-
MountItemDispatcher
MountItemDispatcher(MountingManager mountingManager, MountItemDispatcher.ItemDispatchListener listener)
-
-
Method Detail
-
dispatchCommandMountItem
@AnyThread() void dispatchCommandMountItem(DispatchCommandMountItem command)
-
addMountItem
void addMountItem(MountItem mountItem)
-
addPreAllocateMountItem
void addPreAllocateMountItem(PreAllocateViewMountItem mountItem)
-
addViewCommandMountItem
void addViewCommandMountItem(DispatchCommandMountItem mountItem)
-
tryDispatchMountItems
@UiThread() boolean tryDispatchMountItems()
Try to dispatch MountItems. Returns true if any items were dispatched, false otherwise. A`false` return value doesn't indicate errors, it may just indicate there was no work to bedone.
-
dispatchMountItems
@UiThread() void dispatchMountItems(Queue<MountItem> mountItems)
-
dispatchPreMountItems
@UiThread() void dispatchPreMountItems(long frameTimeNanos)
-
getBatchedExecutionTime
long getBatchedExecutionTime()
-
getRunStartTime
long getRunStartTime()
-
-
-
-