/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/ |
H A D | hls_media_downloader.cpp | 213 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 D | staggered_animation_state.cpp | 219 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 D | parallel_animation.cpp | 30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
|
H A D | sequential_animation.cpp | 30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
|
H A D | animation_state.h | 55 Property<TimeSpan> totalDuration; member 173 TimeSpan totalDuration; member
|
H A D | animation_state.cpp | 367 if (!params_.totalDuration) { in UpdateTotalDuration() 372 state_.totalDuration = in UpdateTotalDuration() 374 SetValue(params_.totalDuration, state_.totalDuration); in UpdateTotalDuration()
|
H A D | property_animation.cpp | 91 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
|
H A D | keyframe_animation.cpp | 30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
|
H A D | track_animation.cpp | 30 params.totalDuration = META_ACCESS_PROPERTY(TotalDuration); in GetParams()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_implicit_animator.cpp | 154 [[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 D | rs_symbol_animation.cpp | 87 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 D | rs_symbol_animation.h | 105 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 D | render_bubble_progress.cpp | 35 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 D | rs_vsync_rate_reduce_manager.cpp | 176 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 D | rs_animation_fraction.cpp | 181 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 D | anim_impl.cpp | 271 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 D | rs_symbol_animation_test.cpp | 870 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 D | hls_media_downloader.cpp | 983 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 D | hls_media_downloader.h | 87 int64_t RequestNewTs(uint64_t seekTime, SeekMode mode, double totalDuration,
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_mpd_downloader.cpp | 913 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()
|