-
public class MountItemDispatcher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
MountItemDispatcher.ItemDispatchListener
-
Constructor Summary
Constructors Constructor Description MountItemDispatcher(MountingManager mountingManager, MountItemDispatcher.ItemDispatchListener listener)
-
Method Summary
Modifier and Type Method Description void
dispatchCommandMountItem(DispatchCommandMountItem command)
void
addMountItem(MountItem mountItem)
void
addPreAllocateMountItem(PreAllocateViewMountItem mountItem)
void
addViewCommandMountItem(DispatchCommandMountItem mountItem)
boolean
tryDispatchMountItems()
Try to dispatch MountItems. void
dispatchMountItems(Queue<MountItem> mountItems)
void
dispatchPreMountItems(long frameTimeNanos)
long
getBatchedExecutionTime()
long
getRunStartTime()
-
-
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()
-
-
-
-