public class ChoreographerTimingSource extends Object implements TimingSource
TimingSource
hooked into Android's Choreographer.Constructor and Description |
---|
ChoreographerTimingSource() |
Modifier and Type | Method and Description |
---|---|
void |
setDataFlowGraph(DataFlowGraph dataFlowGraph) |
void |
start()
Registers the
DataFlowGraph to receive frame callbacks until it calls TimingSource.stop() . |
void |
stop()
Stops the
DataFlowGraph from receiving frame callbacks. |
public void setDataFlowGraph(DataFlowGraph dataFlowGraph)
setDataFlowGraph
in interface TimingSource
public void start()
TimingSource
DataFlowGraph
to receive frame callbacks until it calls TimingSource.stop()
.start
in interface TimingSource
public void stop()
TimingSource
DataFlowGraph
from receiving frame callbacks.stop
in interface TimingSource