/ohos5.0/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 | 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 | animation_state.h | 55 Property<TimeSpan> totalDuration; in META_BEGIN_NAMESPACE() member 173 TimeSpan totalDuration; in META_BEGIN_NAMESPACE() member
|
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 | 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_symbol_animation.cpp | 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() argument 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 …RSSymbolAnimation::CalcTimePercents(std::vector<float>& timePercents, const uint32_t totalDuration, in CalcTimePercents() argument 693 if (totalDuration == 0) { in CalcTimePercents() 701 SymbolAnimation::CalcOneTimePercent(timePercents, totalDuration, duration); in CalcTimePercents() 708 SymbolAnimation::CalcOneTimePercent(timePercents, totalDuration, duration); in CalcTimePercents() [all …]
|
H A D | rs_implicit_animator.cpp | 154 …[[maybe_unused]] auto& [isDurationKeyframe, totalDuration, currentDuration] = durationKeyframePara… in CloseImplicitAnimation() 163 keyframeAnimation->SetDuration(totalDuration); in CloseImplicitAnimation() 311 …[[maybe_unused]] auto& [isDurationKeyframe, totalDuration, currentDuration] = durationKeyframePara… in BeginImplicitDurationKeyFrameAnimation() 326 …[[maybe_unused]] auto& [isDurationKeyframe, totalDuration, currentDuration] = durationKeyframePara… 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.h | 105 bool CalcTimePercents(std::vector<float>& timePercents, const uint32_t totalDuration, 112 uint32_t& totalDuration, std::vector<float>& timePercents);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | animated_image.cpp | 92 int32_t totalDuration = 0; in AnimatedImage() local 98 totalDuration += info[i].fDuration; in AnimatedImage() 100 animator_->SetDuration(totalDuration); in AnimatedImage() 115 picAnimation->AddPicture(static_cast<float>(info[i].fDuration) / totalDuration, i); in AnimatedImage()
|
/ohos5.0/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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_symbol_animation_test.cpp | 776 uint32_t totalDuration = 0; variable 780 …auto getParasFlag = symbolAnimation.GetKeyframeAlphaAnimationParas(oneGroupParas, totalDuration, t… 785 EXPECT_FALSE(totalDuration == 0); 803 uint32_t totalDuration = 0; variable 806 …auto getParasFlag = symbolAnimation.GetKeyframeAlphaAnimationParas(oneGroupParas, totalDuration, t… 811 EXPECT_TRUE(totalDuration == 0);
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | hls_media_downloader.cpp | 1016 double totalDuration = 0; in SeekToTs() local 1021 totalDuration += hstTime / HST_NSECOND; in SeekToTs() 1022 if (seekTime >= static_cast<uint64_t>(totalDuration)) { in SeekToTs() 1026 if (RequestNewTs(seekTime, mode, totalDuration, hstTime, item) == -1) { in SeekToTs() 1034 int64_t HlsMediaDownloader::RequestNewTs(uint64_t seekTime, SeekMode mode, double totalDuration, in RequestNewTs() argument 1044 double lastTotalDuration = totalDuration - hstTime; in RequestNewTs()
|
H A D | hls_media_downloader.h | 86 int64_t RequestNewTs(uint64_t seekTime, SeekMode mode, double totalDuration,
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
H A D | task_manager.h | 131 void StoreTaskDuration(uint64_t taskId, uint64_t totalDuration, uint64_t cpuDuration);
|
H A D | task_manager.cpp | 1249 void TaskManager::StoreTaskDuration(uint64_t taskId, uint64_t totalDuration, uint64_t cpuDuration) in StoreTaskDuration() argument 1255 std::pair<uint64_t, uint64_t> durationData = std::make_pair(totalDuration, cpuDuration); in StoreTaskDuration() 1258 if (totalDuration != 0) { in StoreTaskDuration() 1259 iter->second.first = totalDuration; in StoreTaskDuration()
|
H A D | task.cpp | 928 uint64_t totalDuration = TaskManager::GetInstance().GetTaskDuration(taskId, durationType); in GetTaskDuration() local 929 return NapiHelper::CreateUint32(env, totalDuration); in GetTaskDuration()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_mpd_downloader.cpp | 884 int64_t totalDuration = 0; in SeekToTs() local 890 totalDuration += static_cast<int64_t>(mediaSegment->duration_); in SeekToTs() 891 if (totalDuration > seekTime) { in SeekToTs() 895 totalDuration, mediaSegment->numberSeq_, mediaSegment->duration_); in SeekToTs()
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/native/src/ |
H A D | vibration_convert_core.cpp | 271 double totalDuration = (j - i) * rmsTimePerFrame; in GetRmseLowerDelta() local 272 if (IsLessNotEqual(totalDuration, 1.0)) { // 1s in GetRmseLowerDelta()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ads-kit/ |
H A D | js-apis-advertising.md | 304 | [key: string] | number \| boolean \| string \| undefined | 否 | 自定义参数。<br/> - totalDuration:类型numb…
|
/ohos5.0/docs/en/application-dev/reference/apis-ads-kit/ |
H A D | js-apis-advertising.md | 305 …er \| boolean \| string \| undefined | No| Custom parameters.<br> - **totalDuration**: The value i…
|