Home
last modified time | relevance | path

Searched refs:lastFrameTime_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_fraction.cpp80 lastFrameTime_ = lastFrameTime; in SetLastFrameTime()
85 return lastFrameTime_; in GetLastFrameTime()
112 int64_t deltaTime = time - lastFrameTime_; in GetAnimationFraction()
113 lastFrameTime_ = time; in GetAnimationFraction()
121 static_cast<long long>(time), static_cast<long long>(lastFrameTime_)); in GetAnimationFraction()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_animation.cpp81 if (totalTime_ - lastFrameTime_ < duration) { in OnNormalizedTimestampChanged()
87 lastFrameTime_ = totalTime_; in OnNormalizedTimestampChanged()
H A Dapng_image_animation.h81 double lastFrameTime_ = 0; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_animation_fraction.h82 int64_t lastFrameTime_ { -1 };
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_animation.cpp1070 if (!lastFrameTime_) { in Step()
1071 lastFrameTime_ = clock->GetTime(); in Step()
1074 auto step = (clock->GetTime() - *lastFrameTime_).ToSecondsFloat(); in Step()
1077 lastFrameTime_ = clock->GetTime(); in Step()
1095 lastFrameTime_.reset(); in Start()
1107 lastFrameTime_.reset(); in Stop()
H A Decs_animation.h373 std::optional<META_NS::TimeSpan> lastFrameTime_ {};