Home
last modified time | relevance | path

Searched refs:totalDuration (Results 1 - 20 of 20) sorted by relevance

/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/
H A Dhls_media_downloader.cpp213 int64_t totalDuration = 0; in FindSeekRequest() local
217 totalDuration += Plugin::HstTime2Ns(hstTime); in FindSeekRequest()
218 if (offset < totalDuration) { in FindSeekRequest()
222 MEDIA_LOG_I("FindSeekRequest url_" PUBLIC_LOG_S " totalDuration " PUBLIC_LOG_D64, playInfo.url_.c_str(), totalDuration); in FindSeekRequest()
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dstaggered_animation_state.cpp219 TimeSpan totalDuration = TimeSpan::Zero(); in GetAnimationBaseDuration() local
224 totalDuration = BASE_NS::Math::max(totalDuration, childDuration); in GetAnimationBaseDuration()
227 return totalDuration; in GetAnimationBaseDuration()
273 TimeSpan totalDuration = TimeSpan::Zero(); in GetAnimationBaseDuration() local
277 totalDuration += GetValue(animation->TotalDuration(), TimeSpan::Zero()); in GetAnimationBaseDuration()
280 return totalDuration; in GetAnimationBaseDuration()
H A Dparallel_animation.cpp30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
H A Dsequential_animation.cpp30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
H A Danimation_state.h55 Property<TimeSpan> totalDuration; member
173 TimeSpan totalDuration; member
H A Danimation_state.cpp367 if (!params_.totalDuration) { in UpdateTotalDuration()
372 state_.totalDuration = in UpdateTotalDuration()
374 SetValue(params_.totalDuration, state_.totalDuration); in UpdateTotalDuration()
H A Dproperty_animation.cpp91 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
H A Dkeyframe_animation.cpp30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
H A Dtrack_animation.cpp30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_implicit_animator.cpp154 [[maybe_unused]] auto& [isDurationKeyframe, totalDuration, currentDuration] = durationKeyframeParams_.top(); in CloseImplicitAnimation()
163 keyframeAnimation->SetDuration(totalDuration); in CloseImplicitAnimation()
311 [[maybe_unused]] auto& [isDurationKeyframe, totalDuration, currentDuration] = durationKeyframeParams_.top(); in BeginImplicitDurationKeyFrameAnimation()
326 [[maybe_unused]] auto& [isDurationKeyframe, totalDuration, currentDuration] = durationKeyframeParams_.top(); in EndImplicitDurationKeyFrameAnimation()
327 totalDuration += currentDuration; in EndImplicitDurationKeyFrameAnimation()
536 [[maybe_unused]] auto& [isDurationKeyframe, totalDuration, unused] = durationKeyframeParams_.top(); in CreateImplicitAnimation()
539 animation = keyframeImplicitParam->CreateAnimation(property, isDurationKeyframe, totalDuration, in CreateImplicitAnimation()
544 keyframeImplicitParam->AddKeyframe(keyframeIter->second, totalDuration, startValue, endValue); in CreateImplicitAnimation()
H A Drs_symbol_animation.cpp87 void CalcOneTimePercent(std::vector<float>& timePercents, const uint32_t totalDuration, const uint32_t duration) in CalcOneTimePercent() argument
89 if (totalDuration == 0) { in CalcOneTimePercent()
92 float timePercent = static_cast<float>(duration) / static_cast<float>(totalDuration); in CalcOneTimePercent()
653 uint32_t& totalDuration, std::vector<float>& timePercents) in GetKeyframeAlphaAnimationParas()
658 totalDuration = 0; in GetKeyframeAlphaAnimationParas()
671 totalDuration = oneGroupParas[i].duration + totalDuration + static_cast<uint32_t>(interval); in GetKeyframeAlphaAnimationParas()
687 return CalcTimePercents(timePercents, totalDuration, oneGroupParas); in GetKeyframeAlphaAnimationParas()
690 bool RSSymbolAnimation::CalcTimePercents(std::vector<float>& timePercents, const uint32_t totalDuration, in CalcTimePercents() argument
693 if (totalDuration in CalcTimePercents()
651 GetKeyframeAlphaAnimationParas( std::vector<Drawing::DrawingPiecewiseParameter>& oneGroupParas, uint32_t& totalDuration, std::vector<float>& timePercents) GetKeyframeAlphaAnimationParas() argument
[all...]
H A Drs_symbol_animation.h105 bool CalcTimePercents(std::vector<float>& timePercents, const uint32_t totalDuration,
112 uint32_t& totalDuration, std::vector<float>& timePercents);
/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Drender_bubble_progress.cpp35 static const int32_t totalDuration = 4800; in OnPostFlush() local
51 animatorController_->SetDuration(totalDuration); in OnPostFlush()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_vsync_rate_reduce_manager.cpp176 float totalDuration = 0; in UpdateRatesLevel() local
183 totalDuration = totalDuration + frameDurations_[i]; in UpdateRatesLevel()
190 if (totalDuration > expectPeriod * WORKLOAD_TIMES[i - 1]) { in UpdateRatesLevel()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_fraction.cpp181 int64_t totalDuration = (duration_ * repeatCount_ + startDelay_) * MS_TO_NS; in IsFinished() local
182 return runningTime_ >= totalDuration; in IsFinished()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Danim_impl.cpp271 const auto totalDuration = TotalDuration()->GetValue().ToSecondsFloat(); in UpdateProgress() local
272 const auto newProgress = totalDuration != 0.f ? currentTime / totalDuration : 1.f; in UpdateProgress()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_symbol_animation_test.cpp870 uint32_t totalDuration = 0; in HWTEST_F() local
874 auto getParasFlag = symbolAnimation.GetKeyframeAlphaAnimationParas(oneGroupParas, totalDuration, timePercents); in HWTEST_F()
879 EXPECT_FALSE(totalDuration == 0); in HWTEST_F()
897 uint32_t totalDuration = 0; in HWTEST_F() local
900 auto getParasFlag = symbolAnimation.GetKeyframeAlphaAnimationParas(oneGroupParas, totalDuration, timePercents); in HWTEST_F()
905 EXPECT_TRUE(totalDuration == 0); in HWTEST_F()
944 * @tc.steps: step1. if totalDuration <= 0 in HWTEST_F()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dhls_media_downloader.cpp983 double totalDuration = 0; in SeekToTs() local
988 totalDuration += hstTime / HST_NSECOND; in SeekToTs()
989 if (seekTime >= static_cast<uint64_t>(totalDuration)) { in SeekToTs()
993 if (RequestNewTs(seekTime, mode, totalDuration, hstTime, item) == -1) { in SeekToTs()
1001 int64_t HlsMediaDownloader::RequestNewTs(uint64_t seekTime, SeekMode mode, double totalDuration, in RequestNewTs() argument
1011 double lastTotalDuration = totalDuration - hstTime; in RequestNewTs()
H A Dhls_media_downloader.h87 int64_t RequestNewTs(uint64_t seekTime, SeekMode mode, double totalDuration,
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/
H A Ddash_mpd_downloader.cpp913 int64_t totalDuration = 0; in SeekToTs() local
919 totalDuration += static_cast<int64_t>(mediaSegment->duration_); in SeekToTs()
920 if (totalDuration > seekTime) { in SeekToTs()
922 MEDIA_LOG_I("Dash SeekToTs segment totalDuration:" PUBLIC_LOG_D64 ", segNum:" in SeekToTs()
924 totalDuration, mediaSegment->numberSeq_, mediaSegment->duration_); in SeekToTs()

Completed in 17 milliseconds