Home
last modified time | relevance | path

Searched refs:propertyCallback (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dscheduler.cpp99 const std::function<void()> propertyCallback, const std::function<void()>& finishCallBack) in Animate() argument
107 return context->Animate(option, curve, propertyCallback, finishCallBack); in Animate()
134 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame() argument
142 return context->AddKeyFrame(fraction, curve, propertyCallback); in AddKeyFrame()
145 void Scheduler::AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) in AddKeyFrame() argument
153 return context->AddKeyFrame(fraction, propertyCallback); in AddKeyFrame()
H A Dscheduler.h65 …const std::function<void()> propertyCallback, const std::function<void()>& finishCallBack = nullpt…
73 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback);
75 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback);
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_scheduler.cpp32 const std::function<void()> propertyCallback, const std::function<void()>& finishCallBack) in Animate() argument
48 …KeyFrame(float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame() argument
51 void Scheduler::AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) {} in AddKeyFrame() argument
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_cover_test_ng.cpp586 auto propertyCallback = [](float offset) {}; in __anon09dd19590802() variable
627 auto propertyCallback = [](float offset) {}; in __anon09dd19590a02() variable
679 auto propertyCallback = [](float offset) {}; in __anon09dd19590d02() variable
754 ASSERT_TRUE(propertyCallback);
758 propertyCallback(0.1f);
930 auto propertyCallback = [](float offset) {}; in __anon09dd19591202() variable
1038 auto propertyCallback = [](float offset) {}; in __anon09dd19591502() variable
1096 auto propertyCallback = [](float offset) {}; in __anon09dd19591602() variable
1125 auto propertyCallback = [](float offset) {}; in __anon09dd19591702() variable
1236 auto propertyCallback = [](float offset) {}; in __anon09dd19591b02() variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_overlay_modifier.h55 auto propertyCallback = [weakModifier = WeakClaim(this)]() { in StartFloatingAnimate()
61 AnimationUtils::Animate(option, propertyCallback, option.GetOnFinishEvent()); in StartFloatingAnimate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/animation/
H A Dgeometry_transition.cpp342 auto propertyCallback = [&]() { in SyncGeometry() local
368 AnimationUtils::Animate(animationOption_, propertyCallback, finishCallback); in SyncGeometry()
372 AnimationUtils::AnimateWithCurrentOptions(propertyCallback, finishCallback, false); in SyncGeometry()
500 const std::function<void()>& propertyCallback, const AnimationOption& option) in AnimateWithSandBox() argument
515 propertyCallback(); in AnimateWithSandBox()
559 auto propertyCallback = [&]() { in OnReSync() local
573 AnimateWithSandBox(inNodeParentPos, inNodeParentHasScales, propertyCallback, animOption); in OnReSync()
H A Dgeometry_transition.h84 const std::function<void()>& propertyCallback, const AnimationOption& option);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtoss_animation_controller.cpp184 auto propertyCallback = [weak, column](float position) { in CreatePropertyCallback() local
192 property_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0f, std::move(propertyCallback)); in CreatePropertyCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtoss_animation_controller.cpp186 auto propertyCallback = [weak, column](float position) { in CreatePropertyCallback() local
194 property_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in CreatePropertyCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Dtoss_animation_controller.cpp178 auto propertyCallback = [weak, column](float position) { in CreatePropertyCallback() local
205 property_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in CreatePropertyCallback()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp210 propertyCallback(); in AddKeyFrame()
223 propertyCallback(); in AddKeyFrame()
237 propertyCallback(); in AddDurationKeyFrame()
251 if (propertyCallback == nullptr) { in Animate()
272 propertyCallback(); in Animate()
279 if (propertyCallback == nullptr) { in AnimateWithCurrentOptions()
285 propertyCallback(); in AnimateWithCurrentOptions()
292 propertyCallback(); in AnimateWithCurrentOptions()
300 propertyCallback(); in AnimateWithCurrentOptions()
308 if (propertyCallback == nullptr) { in AnimateWithCurrentCallback()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/
H A Dsheet_drag_bar_pattern.cpp212 auto propertyCallback = [weak](float scale) { in CreatePropertyCallback() local
248 property_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in CreatePropertyCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/
H A Dnavdestination_pattern.cpp666 auto propertyCallback = [weak = WeakClaim(this), barHeight, isTitle, isHide]() { in StartHideOrShowBarInner() local
702 AnimationUtils::Animate(option, propertyCallback, finishCallback); in StartHideOrShowBarInner()
712 auto propertyCallback = [weak = WeakClaim(this), isTitle, curTranslate]() { in StopHideBarIfNeeded() local
724 AnimationUtils::Animate(option, propertyCallback); in StopHideBarIfNeeded()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable.cpp1141 auto propertyCallback = [weak = AceType::WeakClaim(this)](float position) { in GetFrictionProperty() local
1166 …fsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in GetFrictionProperty()
1172 auto propertyCallback = [weak = AceType::WeakClaim(this)](float position) { in GetSpringProperty() local
1195 …fsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in GetSpringProperty()
1201 auto propertyCallback = [weak = AceType::WeakClaim(this)](float position) { in GetSnapProperty() local
1232 …fsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in GetSnapProperty()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_node_test.cpp4448 PropertyCallback propertyCallback = nullptr; variable
4455 propertyCallback = []() {}; in __anon8634bd0d0302()
4457 EXPECT_TRUE(propertyCallback != nullptr);
4474 PropertyCallback propertyCallback = nullptr; variable
4482 propertyCallback = []() {}; in __anon8634bd0d0602()
4484 EXPECT_TRUE(propertyCallback != nullptr);
4499 PropertyCallback propertyCallback = nullptr; variable
4504 propertyCallback = []() {}; in __anon8634bd0d0802()
4506 EXPECT_TRUE(propertyCallback != nullptr);
4737 PropertyCallback propertyCallback = []() {}; in __anon8634bd0d0a02() variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavdestination_pattern_base.cpp291 auto propertyCallback = [needRunTitleBarAnimation, hideTitle, needRunToolBarAnimation, hideTool, in StartAnimation() local
313 auto animation = AnimationUtils::StartAnimation(option, propertyCallback, finishCallback); in StartAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_pattern.cpp679 auto propertyCallback = [weak = AceType::WeakClaim(this)](float scrollOffset) { in InitOffsetProperty() local
686 …fsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in InitOffsetProperty()
923 auto propertyCallback = [weak = AceType::WeakClaim(this)](float scrollOffset) { in InitLowVersionOffset() local
929 …ersionOffset_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in InitLowVersionOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_base.cpp560 const std::function<void()>& propertyCallback, const std::function<void()>& finishCallback) in Animate() argument
562 if (!propertyCallback) { in Animate()
567 propertyCallback(); in Animate()
H A Dpipeline_base.h150 …const std::function<void()>& propertyCallback, const std::function<void()>& finishCallBack = nullp…
153 … float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) = 0;
155 virtual void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) = 0;
H A Dpipeline_context.h538 …float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) overrid…
540 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) override;
H A Dpipeline_context.cpp3214 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame() argument
3216 if (propertyCallback == nullptr) { in AddKeyFrame()
3222 auto propertyChangeCallback = [weak = AceType::WeakClaim(this), callback = propertyCallback, in AddKeyFrame()
3243 void PipelineContext::AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) in AddKeyFrame() argument
3245 if (propertyCallback == nullptr) { in AddKeyFrame()
3251 auto propertyChangeCallback = [weak = AceType::WeakClaim(this), callback = propertyCallback, in AddKeyFrame()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/theme/
H A Dtheme_mock.cpp275 const std::function<void()>& propertyCallback, const std::function<void()>& finishCallBack) in Animate() argument
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/common/
H A Dtheme_mock.cpp275 const std::function<void()>& propertyCallback, const std::function<void()>& finishCallBack) in Animate() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h139 …float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) override in AddKeyFrame() argument
142 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) override {} in AddKeyFrame() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.cpp149 auto propertyCallback = [weak = WeakClaim(this)]() { in StartShowTabBar() local
159 AnimationUtils::Animate(option, propertyCallback, finishCallback); in StartShowTabBar()
173 auto propertyCallback = [weak = WeakClaim(this)](float value) { in InitTabBarProperty() local
188 …bBarProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in InitTabBarProperty()
207 auto propertyCallback = [weak = WeakClaim(this), translate]() { in StopShowTabBar() local
212 AnimationUtils::Animate(option, propertyCallback); in StopShowTabBar()

12