Home
last modified time | relevance | path

Searched refs:progress (Results 1 - 25 of 212) sorted by relevance

123456789

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_progress.cpp32 Gradient ParseGradient(const DOMProgress& progress, const std::string& value) in ParseGradient() argument
52 gradient.AddColor(GradientColor(progress.ParseColor(colors->GetArrayItem(index)->ToString().substr( in ParseGradient()
75 [](const std::string& val, DOMProgress& progress) { progress.clockwiseDirection_ = StringToBool(val); } }, in SetSpecializedAttr()
77 [](const std::string& val, DOMProgress& progress) { progress.showAnimationEffect_ = StringToBool(val); } }, in SetSpecializedAttr()
79 [](const std::string& val, DOMProgress& progress) { in SetSpecializedAttr()
80 progress.percent_ = StringToDouble(val); in SetSpecializedAttr()
81 if (progress.percent_ > progress in SetSpecializedAttr()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dprogress_model_impl.cpp35 LOGE("progress Theme is null"); in Create()
52 auto progress = AceType::DynamicCast<ProgressComponent>(component); in SetValue() local
53 if (!progress) { in SetValue()
54 LOGI("progress component is null."); in SetValue()
58 auto maxValue_ = progress->GetMaxValue(); in SetValue()
63 progress->SetValue(value); in SetValue()
69 auto progress = AceType::DynamicCast<ProgressComponent>(component); in SetColor() local
70 if (!progress) { in SetColor()
71 LOGI("progress component is null."); in SetColor()
74 RefPtr<TrackComponent> track = progress in SetColor()
82 auto progress = AceType::DynamicCast<ProgressComponent>(component); SetBackgroundColor() local
99 auto progress = AceType::DynamicCast<ProgressComponent>(component); SetStrokeWidth() local
111 auto progress = AceType::DynamicCast<ProgressComponent>(component); SetScaleCount() local
125 auto progress = AceType::DynamicCast<ProgressComponent>(component); SetScaleWidth() local
[all...]
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/src/
H A Dcloud_download_callback_stub.cpp50 sptr<DownloadProgressObj> progress = data.ReadParcelable<DownloadProgressObj>(); in HandleOnProcess() local
51 if (!progress) { in HandleOnProcess()
57 std::string path = progress->path; in HandleOnProcess()
63 progress->path = uri; in HandleOnProcess()
65 if (progress->state != DownloadProgressObj::RUNNING) { in HandleOnProcess()
67 uriMgr.CheckDownloadIdPathMap(progress->downloadId); in HandleOnProcess()
71 OnDownloadProcess(*progress); in HandleOnProcess()
H A Dcloud_download_callback_client.cpp22 void CloudDownloadCallbackClient::OnDownloadProcess(const DownloadProgressObj& progress) in OnDownloadProcess() argument
28 callback_->OnDownloadProcess(progress); in OnDownloadProcess()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/free_install/
H A Dinstall_result.cpp35 const char* JSON_KEY_INSTALLRESULT_PROGRESS = "progress";
76 void to_json(nlohmann::json &jsonObject, const Progress &progress) in to_json() argument
79 {JSON_KEY_PROGRESS_DOWNLOADSIZE, progress.downloadSize}, in to_json()
80 {JSON_KEY_PROGRESS_TOTALSIZE, progress.totalSize} in to_json()
84 void from_json(const nlohmann::json &jsonObject, Progress &progress) in from_json() argument
91 progress.downloadSize, in from_json()
99 progress.totalSize, in from_json()
105 LOG_E(BMS_TAG_DEFAULT, "read module progress from jsonObject error, error code : %{public}d", parseResult); in from_json()
114 {JSON_KEY_INSTALLRESULT_PROGRESS, installResult.progress} in to_json()
139 installResult.progress, in from_json()
192 Progress *progress = new (std::nothrow) Progress(); Unmarshalling() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Drender_progress.cpp16 #include "core/components/progress/render_progress.h"
22 const RefPtr<ProgressComponent> progress = AceType::DynamicCast<ProgressComponent>(component); in Update() local
23 component_ = progress; in Update()
24 min_ = progress->GetMinValue(); in Update()
25 max_ = progress->GetMaxValue(); in Update()
26 value_ = progress->GetValue(); in Update()
27 cachedValue_ = progress->GetCachedValue(); in Update()
28 trackThickness_ = NormalizeToPx(progress->GetTrack()->GetTrackThickness()); in Update()
30 type_ = progress->GetType(); in Update()
62 progressEvent.componentType = "progress"; in UpdateAccessibilityAttr()
[all...]
H A Drosen_render_progress.cpp16 #include "core/components/progress/rosen_render_progress.h"
24 const RefPtr<ProgressComponent> progress = AceType::DynamicCast<ProgressComponent>(component); in Update() local
27 track_ = progress->GetTrack()->CreateRenderNode(); in Update()
31 } else if (type_ != progress->GetType()) { in Update()
33 track_ = progress->GetTrack()->CreateRenderNode(); in Update()
38 track_->Update(progress->GetTrack()); in Update()
40 track->SetAnimationPlay(progress->GetAnimationPlay()); in Update()
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Danimation_state.cpp118 float progress = static_cast<float>(state_.Tick(time).ToMilliseconds()) / in Step() local
121 return Move(IAnimationInternal::MoveParams::FromProgress(progress)); in Step()
131 const float progress = step.progress; variable
133 if (progress >= 1.f) {
136 if (progress <= 0.f) {
151 float progress = step.progress; in Move() local
162 const auto overflow = progress - BASE_NS::Math::floor(progress); in Move()
433 auto progress = step.progress; EvaluateValue() local
[all...]
H A Dtrack_animation_state.cpp156 bool TrackAnimationState::IsInCurrentRange(float progress) const noexcept
164 progress, currentRangeStartTs_, currentRangeEndTs_, currentIndex_ == keyframeArray_->GetSize() - 1);
167 BASE_NS::pair<uint32_t, float> TrackAnimationState::UpdateIndex(float progress) in UpdateIndex() argument
170 if (IsInCurrentRange(progress)) { in UpdateIndex()
171 return { index, GetCurrentTrackProgress(progress) }; in UpdateIndex()
183 if (progress < startTs || progress > endTs) { in UpdateIndex()
191 if (IsBetween(progress, startTs, endTs, mid >= endIndex)) { in UpdateIndex()
196 if (progress < startTs) { in UpdateIndex()
204 return { index, GetCurrentTrackProgress(progress) }; in UpdateIndex()
[all...]
H A Dintf_animation_internal.h43 /** A previously RUNNING animation has been paused. Its progress is between [0,1[. */
69 /** Returns a MoveParams object with given progress */
70 constexpr static MoveParams FromProgress(float progress) noexcept
73 params.step = IAnimationModifier::StepData(progress);
76 /** Returns a MoveParams object with given progress and target state */
77 constexpr static MoveParams FromProgress(float progress, AnimationTargetState state) noexcept
80 params.step = IAnimationModifier::StepData(progress);
H A Dtrack_animation_state.h66 * @brief Updates keyframe index based on given progress.
67 * @param progress The animation progress to update to.
68 * @return Index and track progress at given animation progress.
70 BASE_NS::pair<uint32_t, float> UpdateIndex(float progress);
89 float GetCurrentTrackProgress(float progress) const noexcept;
90 bool IsInCurrentRange(float progress) const noexcept;
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/
H A Dcloud_download_callback_stub_test.cpp34 void OnDownloadProcess(const DownloadProgressObj& progress) override
150 DownloadProgressObj progress; in HWTEST_F() local
151 progress.path = "/data"; in HWTEST_F()
152 bool prog = data.WriteParcelable(&progress); in HWTEST_F()
175 DownloadProgressObj progress; in HWTEST_F() local
176 progress.path = ""; in HWTEST_F()
177 bool prog = data.WriteParcelable(&progress); in HWTEST_F()
200 DownloadProgressObj progress; in HWTEST_F() local
201 progress.path = "/data"; in HWTEST_F()
202 progress in HWTEST_F()
[all...]
H A Dcloud_download_callback_client_test.cpp38 void OnDownloadProcess(const DownloadProgressObj &progress) in OnDownloadProcess() argument
74 DownloadProgressObj progress; in HWTEST_F() local
77 cloudCallback.OnDownloadProcess(progress); in HWTEST_F()
96 DownloadProgressObj progress; in HWTEST_F() local
99 cloudCallback.OnDownloadProcess(progress); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dtransform_util.cpp174 const TranslateOperation& to, const TranslateOperation& from, float progress) in Blend()
177 float scaleA = progress; in Blend()
178 float scaleB = 1 - progress; in Blend()
186 ScaleOperation ScaleOperation::Blend(const ScaleOperation& to, const ScaleOperation& from, float progress) in Blend() argument
189 float scaleA = progress; in Blend()
190 float scaleB = 1 - progress; in Blend()
197 SkewOperation SkewOperation::Blend(const SkewOperation& to, const SkewOperation& from, float progress) in Blend() argument
200 float scaleA = progress; in Blend()
201 float scaleB = 1 - progress; in Blend()
207 RotateOperation RotateOperation::Blend(const RotateOperation& to, const RotateOperation& from, float progress) in Blend() argument
173 Blend( const TranslateOperation& to, const TranslateOperation& from, float progress) Blend() argument
225 Blend( const PerspectiveOperation& to, const PerspectiveOperation& from, float progress) Blend() argument
233 Blend( const TransformOperation& to, const TransformOperation& from, float progress) Blend() argument
241 BlendInner(Create(ret.type_), from, progress, ret); Blend() local
283 BlendInner( const TransformOperation& to, const TransformOperation& from, float progress, TransformOperation& ret) BlendInner() argument
366 Blend( const TransformOperations& to, const TransformOperations& from, float progress) Blend() argument
438 BlendInner(const TransformOperations& from, float progress, TransformOperations& out) const BlendInner() argument
471 BlendDecomposedTransforms( const DecomposedTransform& to, const DecomposedTransform& from, double progress) BlendDecomposedTransforms() argument
[all...]
H A Dtransform_util.h41 static TranslateOperation Blend(const TranslateOperation& to, const TranslateOperation& from, float progress);
56 static ScaleOperation Blend(const ScaleOperation& to, const ScaleOperation& from, float progress);
69 static SkewOperation Blend(const SkewOperation& to, const SkewOperation& from, float progress);
85 static RotateOperation Blend(const RotateOperation& to, const RotateOperation& from, float progress);
97 static PerspectiveOperation Blend(const PerspectiveOperation& to, const PerspectiveOperation& from, float progress);
164 static TransformOperation Blend(const TransformOperation& to, const TransformOperation& from, float progress);
169 const TransformOperation& to, const TransformOperation& from, float progress, TransformOperation& out);
178 static TransformOperations Blend(const TransformOperations& to, const TransformOperations& from, float progress);
224 void BlendInner(const TransformOperations& from, float progress, TransformOperations& out) const;
231 const DecomposedTransform& to, const DecomposedTransform& from, double progress);
[all...]
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/client/
H A Dasync_obtain_data.cpp131 ProgressInfo progress{ "", ASYNC_IDLE, 0 }; in InvokeCallback()
132 progress.status = taskStatus_; in InvokeCallback()
133 progress.srcDevName = processInfo_.srcDevName; in InvokeCallback()
135 progress.progress = CalProgress(); in InvokeCallback()
136 if (progress.progress <= lastProgress_) { in InvokeCallback()
137 progress.progress = lastProgress_; in InvokeCallback()
139 lastProgress_ = progress in InvokeCallback()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/animation/
H A Dintf_animation_modifier.h60 explicit constexpr StepData(float progress) noexcept : progress(progress) {}
61 /** Current progress. */
62 float progress {};
68 * current progress.
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dshadow.cpp23 Shadow Shadow::Blend(const Shadow& to, const Shadow& from, float progress) in Blend() argument
25 auto offset = from.offset_ + (to.offset_ - from.offset_) * progress; in Blend()
26 auto blurRadius = from.blurRadius_ + (to.blurRadius_ - from.blurRadius_) * progress; in Blend()
27 auto spreadRadius = from.spreadRadius_ + (to.spreadRadius_ - from.spreadRadius_) * progress; in Blend()
29 auto color = evaluator.Evaluate(from.color_, to.color_, progress); in Blend()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_page_transition_ffi.cpp71 void FfiPageTransitionOnEnter(void (*callback)(int type, double progress)) in FfiPageTransitionOnEnter() argument
74 RouteType type, float progress) { ffiCallBack(static_cast<int>(type), progress); }; in FfiPageTransitionOnEnter()
78 void FfiPageTransitionOnExit(void (*callback)(int type, double progress)) in FfiPageTransitionOnExit() argument
81 RouteType type, float progress) { ffiCallBack(static_cast<int>(type), progress); }; in FfiPageTransitionOnExit()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_animator_function.cpp22 void JsAnimatorFunction::Execute(float progress) in Execute() argument
25 params[0] = JSRef<JSVal>::Make(ToJSValue(progress)); in Execute()
H A Djs_page_transition_function.cpp23 void JsPageTransitionFunction::Execute(RouteType routeType, float progress) in Execute() argument
27 params[1] = JSRef<JSVal>::Make(ToJSValue(progress)); in Execute()
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/modifiers/
H A Dreverse.cpp32 step.progress = 1.f - step.progress; in ProcessOnStep()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/
H A Dbutton_progress_controller.h31 void SetProgress(uint32_t progress) in SetProgress() argument
34 progressCallback_(progress); in SetProgress()
/foundation/multimedia/player_framework/frameworks/native/video_editor/test/unittest/
H A Dut_common_data.h38 void onProgress(uint32_t progress) override
40 progress_ = progress;
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Ddistributed_sched_test_util.cpp49 void OnStatusNotify(const int progress) override;
69 void StatusReceiverImpl::OnStatusNotify(const int progress) in OnStatusNotify() argument
71 iProgress_ = progress; in OnStatusNotify()
72 HILOGI("OnStatusNotify progress:%{public}d", progress); in OnStatusNotify()

Completed in 9 milliseconds

123456789