Choreographer.FrameTimeline
public
static
class
Choreographer.FrameTimeline
extends Object
java.lang.Object | |
↳ | android.view.Choreographer.FrameTimeline |
Holds data that describes one possible VSync frame event to render at.
Summary
Public methods | |
---|---|
long
|
getDeadlineNanos()
The time in |
long
|
getExpectedPresentationTimeNanos()
The time in |
long
|
getVsyncId()
The id that corresponds to this frame timeline, used to correlate a frame produced by HWUI with the timeline data stored in Surface Flinger. |
Inherited methods | |
---|---|
Public methods
getDeadlineNanos
public long getDeadlineNanos ()
The time in System#nanoTime()
timebase which this frame needs to be ready by.
Returns | |
---|---|
long |
getExpectedPresentationTimeNanos
public long getExpectedPresentationTimeNanos ()
The time in System#nanoTime()
timebase which this frame is expected to be
presented.
Returns | |
---|---|
long |
getVsyncId
public long getVsyncId ()
The id that corresponds to this frame timeline, used to correlate a frame produced by HWUI with the timeline data stored in Surface Flinger.
Returns | |
---|---|
long |