/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | scheduler.cpp | 99 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 D | scheduler.h | 65 …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 D | mock_scheduler.cpp | 32 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 D | scrollable_cover_test_ng.cpp | 586 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 D | text_drag_overlay_modifier.h | 55 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 D | geometry_transition.cpp | 342 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 D | geometry_transition.h | 84 const std::function<void()>& propertyCallback, const AnimationOption& option);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | toss_animation_controller.cpp | 184 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 D | toss_animation_controller.cpp | 186 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 D | toss_animation_controller.cpp | 178 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 D | rs_node.cpp | 210 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 D | sheet_drag_bar_pattern.cpp | 212 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 D | navdestination_pattern.cpp | 666 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 D | scrollable.cpp | 1141 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 D | rs_node_test.cpp | 4448 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 D | navdestination_pattern_base.cpp | 291 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 D | refresh_pattern.cpp | 679 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 D | pipeline_base.cpp | 560 const std::function<void()>& propertyCallback, const std::function<void()>& finishCallback) in Animate() argument 562 if (!propertyCallback) { in Animate() 567 propertyCallback(); in Animate()
|
H A D | pipeline_base.h | 150 …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 D | pipeline_context.h | 538 …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 D | pipeline_context.cpp | 3214 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 D | theme_mock.cpp | 275 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 D | theme_mock.cpp | 275 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 D | pipeline_context.h | 139 …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 D | tab_bar_pattern.cpp | 149 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()
|