Home
last modified time | relevance | path

Searched refs:frameIntervalNanos (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/
DChoreographer.java849 final long frameIntervalNanos = vsyncEventData.frameInterval; in doFrame() local
872 if (jitterNanos >= frameIntervalNanos) { in doFrame()
874 if (frameIntervalNanos == 0) { in doFrame()
877 long lastFrameOffset = jitterNanos % frameIntervalNanos; in doFrame()
879 final long skippedFrames = jitterNanos / frameIntervalNanos; in doFrame()
888 + (frameIntervalNanos * 0.000001f) + " ms! " in doFrame()
911 if (timeSinceVsync < (frameIntervalNanos * mFPSDivisor) && timeSinceVsync > 0) { in doFrame()
924 mLastFrameIntervalNanos = frameIntervalNanos; in doFrame()
938 doCallbacks(Choreographer.CALLBACK_INPUT, frameIntervalNanos); in doFrame()
941 doCallbacks(Choreographer.CALLBACK_ANIMATION, frameIntervalNanos); in doFrame()
[all …]
/frameworks/base/graphics/java/android/graphics/animation/
DFallbackLUTInterpolator.java49 long frameIntervalNanos = Choreographer.getInstance().getFrameIntervalNanos(); in createLUT() local
50 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in createLUT()
/frameworks/base/libs/hwui/renderthread/
DTimeLord.h32 nsecs_t frameIntervalNanos() const { return mFrameIntervalNanos; } in frameIntervalNanos() function
DCanvasContext.cpp130 , mProfiler(mJankTracker.frames(), thread.timeLord().frameIntervalNanos()) in CanvasContext()
385 nsecs_t frameInterval = mRenderThread.timeLord().frameIntervalNanos(); in isSwapChainStuffed()
537 const nsecs_t kFrameTime = mRenderThread.timeLord().frameIntervalNanos(); in prepareTree()
628 mRenderThread.timeLord().frameIntervalNanos(); in draw()
942 int64_t frameInterval = mRenderThread.timeLord().frameIntervalNanos(); in prepareAndDraw()
DRenderThread.cpp273 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in setupFrameInterval() local
274 mTimeLord.setFrameInterval(frameIntervalNanos); in setupFrameInterval()
DRenderProxy.cpp461 nsecs_t estimatedNextVsync = lastVsync + renderThread->timeLord().frameIntervalNanos(); in prepareToDraw()
/frameworks/base/libs/hwui/
DJankTracker.cpp85 nsecs_t frameIntervalNanos = DeviceInfo::getVsyncPeriod(); in JankTracker() local
99 mFrameIntervalLegacy = frameIntervalNanos; in JankTracker()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1496 long frameIntervalNanos = Choreographer.getInstance().getFrameIntervalNanos(); in getFrameCount() local
1497 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in getFrameCount()