Loading libs/hwui/AnimationContext.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { mCurrentFrameAnimations.mNextHandle = head; head->mPreviousHandle = &mCurrentFrameAnimations; } mFrameTimeMs = mClock.computeFrameTimeMs(); mFrameTimeMs = ns2ms(mClock.latestVsync()); } void AnimationContext::runRemainingAnimations(TreeInfo& info) { Loading libs/hwui/renderthread/TimeLord.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -43,10 +43,6 @@ nsecs_t TimeLord::computeFrameTimeNanos() { return mFrameTimeNanos; } nsecs_t TimeLord::computeFrameTimeMs() { return nanoseconds_to_milliseconds(computeFrameTimeNanos()); } } /* namespace renderthread */ } /* namespace uirenderer */ } /* namespace android */ libs/hwui/renderthread/TimeLord.h +0 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ public: // returns true if the vsync is newer, false if it was rejected for staleness bool vsyncReceived(nsecs_t vsync); nsecs_t latestVsync() { return mFrameTimeNanos; } nsecs_t computeFrameTimeMs(); nsecs_t computeFrameTimeNanos(); private: Loading Loading
libs/hwui/AnimationContext.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { mCurrentFrameAnimations.mNextHandle = head; head->mPreviousHandle = &mCurrentFrameAnimations; } mFrameTimeMs = mClock.computeFrameTimeMs(); mFrameTimeMs = ns2ms(mClock.latestVsync()); } void AnimationContext::runRemainingAnimations(TreeInfo& info) { Loading
libs/hwui/renderthread/TimeLord.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -43,10 +43,6 @@ nsecs_t TimeLord::computeFrameTimeNanos() { return mFrameTimeNanos; } nsecs_t TimeLord::computeFrameTimeMs() { return nanoseconds_to_milliseconds(computeFrameTimeNanos()); } } /* namespace renderthread */ } /* namespace uirenderer */ } /* namespace android */
libs/hwui/renderthread/TimeLord.h +0 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ public: // returns true if the vsync is newer, false if it was rejected for staleness bool vsyncReceived(nsecs_t vsync); nsecs_t latestVsync() { return mFrameTimeNanos; } nsecs_t computeFrameTimeMs(); nsecs_t computeFrameTimeNanos(); private: Loading