Home
last modified time | relevance | path

Searched refs:mFrameIntervalNanos (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DTimeLord.cpp22 TimeLord::TimeLord() : mFrameIntervalNanos(milliseconds_to_nanoseconds(16)), mFrameTimeNanos(0) {} in TimeLord()
36 if (jitterNanos >= mFrameIntervalNanos) { in computeFrameTimeNanos()
37 nsecs_t lastFrameOffset = jitterNanos % mFrameIntervalNanos; in computeFrameTimeNanos()
DTimeLord.h31 void setFrameInterval(nsecs_t intervalNanos) { mFrameIntervalNanos = intervalNanos; } in setFrameInterval()
32 nsecs_t frameIntervalNanos() const { return mFrameIntervalNanos; } in frameIntervalNanos()
45 nsecs_t mFrameIntervalNanos; variable
/frameworks/base/core/java/android/view/
DChoreographer.java180 private long mFrameIntervalNanos; field in Choreographer
262 mFrameIntervalNanos = (long)(1000000000 / getRefreshRate()); in Choreographer()
390 return mFrameIntervalNanos; in getFrameIntervalNanos()
674 if (jitterNanos >= mFrameIntervalNanos) { in doFrame()
675 final long skippedFrames = jitterNanos / mFrameIntervalNanos; in doFrame()
680 final long lastFrameOffset = jitterNanos % mFrameIntervalNanos; in doFrame()
684 + (mFrameIntervalNanos * 0.000001f) + " ms! " in doFrame()
702 if (timeSinceVsync < (mFrameIntervalNanos * mFPSDivisor) && timeSinceVsync > 0) { in doFrame()
766 if (jitterNanos >= 2 * mFrameIntervalNanos) { in doCallbacks()
767 final long lastFrameOffset = jitterNanos % mFrameIntervalNanos in doCallbacks()
[all …]