/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() 107 return context->Animate(option, curve, propertyCallback, finishCallBack); in Animate() 134 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame() 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() 98 Animate(const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()> propertyCallback, const std::function<void()>& finishCallBack) Animate() argument 133 AddKeyFrame( float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) AddKeyFrame() argument
|
H A D | scheduler.h | 65 const std::function<void()> propertyCallback, const std::function<void()>& finishCallBack = nullptr); 73 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback); 75 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback);
|
/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() 48 void Scheduler::AddKeyFrame(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 31 Animate(const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()> propertyCallback, const std::function<void()>& finishCallBack) Animate() argument
|
/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() local 61 AnimationUtils::Animate(option, propertyCallback, option.GetOnFinishEvent()); in StartFloatingAnimate()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/ |
H A D | scrollable_cover_test_ng.cpp | 583 auto propertyCallback = [](float offset) {}; in HWTEST_F() local 585 AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in HWTEST_F() 623 auto propertyCallback = [](float offset) {}; in HWTEST_F() local 625 AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in HWTEST_F() 674 auto propertyCallback = [](float offset) {}; in HWTEST_F() local 676 AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in HWTEST_F() 748 auto propertyCallback = animatableProperty->GetUpdateCallback(); in HWTEST_F() local 749 ASSERT_TRUE(propertyCallback); in HWTEST_F() 753 propertyCallback(0.1f); in HWTEST_F() 926 auto propertyCallback in HWTEST_F() local 1032 auto propertyCallback = [](float offset) {}; HWTEST_F() local 1090 auto propertyCallback = [](float offset) {}; HWTEST_F() local 1119 auto propertyCallback = [](float offset) {}; HWTEST_F() local 1230 auto propertyCallback = [](float offset) {}; HWTEST_F() local 1404 auto propertyCallback = [](float offset) {}; HWTEST_F() local 1456 auto propertyCallback = [](float offset) {}; HWTEST_F() local 1479 auto propertyCallback = [](float offset) {}; HWTEST_F() local 1665 auto propertyCallback = [](float offset) {}; HWTEST_F() local [all...] |
/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() 515 propertyCallback(); in AnimateWithSandBox() 559 auto propertyCallback = [&]() { in OnReSync() local 573 AnimateWithSandBox(inNodeParentPos, inNodeParentHasScales, propertyCallback, animOption); in OnReSync() 499 AnimateWithSandBox(const OffsetF& inNodeParentPos, bool inNodeParentHasScales, const std::function<void()>& propertyCallback, const AnimationOption& option) AnimateWithSandBox() argument
|
H A D | geometry_transition.h | 84 const std::function<void()>& propertyCallback, const AnimationOption& option);
|
/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()
|
H A D | datepicker_column_pattern.cpp | 866 auto propertyCallback = [weak = AceType::WeakClaim(this)](float value) { in CreateAnimation() local 871 scrollProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in CreateAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | toss_animation_controller.cpp | 182 auto propertyCallback = [weak, column](float position) { in CreatePropertyCallback() local 190 property_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0f, std::move(propertyCallback)); in CreatePropertyCallback()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | toss_animation_controller.cpp | 183 auto propertyCallback = [weak, column](float position) { in CreatePropertyCallback() local 191 property_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in CreatePropertyCallback()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_drag_bar_pattern.cpp | 202 auto propertyCallback = [weak](float scale) { in CreatePropertyCallback() local 238 property_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in CreatePropertyCallback()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.cpp | 194 float fraction, const RSAnimationTimingCurve& timingCurve, const PropertyCallback& propertyCallback) in AddKeyFrame() 203 propertyCallback(); in AddKeyFrame() 207 void RSNode::AddKeyFrame(float fraction, const PropertyCallback& propertyCallback) in AddKeyFrame() argument 216 propertyCallback(); in AddKeyFrame() 221 int duration, const RSAnimationTimingCurve& timingCurve, const PropertyCallback& propertyCallback) in AddDurationKeyFrame() 230 propertyCallback(); in AddDurationKeyFrame() 241 const RSAnimationTimingCurve& timingCurve, const PropertyCallback& propertyCallback, in Animate() 244 if (propertyCallback == nullptr) { in Animate() 265 propertyCallback(); in Animate() 270 const PropertyCallback& propertyCallback, cons in AnimateWithCurrentOptions() 193 AddKeyFrame( float fraction, const RSAnimationTimingCurve& timingCurve, const PropertyCallback& propertyCallback) AddKeyFrame() argument 220 AddDurationKeyFrame( int duration, const RSAnimationTimingCurve& timingCurve, const PropertyCallback& propertyCallback) AddDurationKeyFrame() argument 240 Animate(const RSAnimationTimingProtocol& timingProtocol, const RSAnimationTimingCurve& timingCurve, const PropertyCallback& propertyCallback, const std::function<void()>& finishCallback, const std::function<void()>& repeatCallback) Animate() argument 269 AnimateWithCurrentOptions( const PropertyCallback& propertyCallback, const std::function<void()>& finishCallback, bool timingSensitive) AnimateWithCurrentOptions() argument 297 AnimateWithCurrentCallback( const RSAnimationTimingProtocol& timingProtocol, const RSAnimationTimingCurve& timingCurve, const PropertyCallback& propertyCallback) AnimateWithCurrentCallback() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable.cpp | 1154 auto propertyCallback = [weak = AceType::WeakClaim(this)](float position) { in GetFrictionProperty() local 1178 frictionOffsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in GetFrictionProperty() 1184 auto propertyCallback = [weak = AceType::WeakClaim(this)](float position) { in GetSpringProperty() local 1207 springOffsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in GetSpringProperty() 1213 auto propertyCallback = [weak = AceType::WeakClaim(this)](float position) { in GetSnapProperty() local 1243 snapOffsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in GetSnapProperty()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navdestination_pattern_base.cpp | 287 auto propertyCallback = [needRunTitleBarAnimation, hideTitle, needRunToolBarAnimation, hideTool, in StartAnimation() local 336 AnimationUtils::StartAnimation(option, propertyCallback, finishCallback); in StartAnimation()
|
/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() 562 if (!propertyCallback) { in Animate() 567 propertyCallback(); in Animate() 559 Animate(const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback, const std::function<void()>& finishCallback) Animate() argument
|
H A D | pipeline_base.h | 144 const std::function<void()>& propertyCallback, const std::function<void()>& finishCallBack = nullptr); 147 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) = 0; 149 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) override; 540 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) override;
|
H A D | pipeline_context.cpp | 3204 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame() 3206 if (propertyCallback == nullptr) { in AddKeyFrame() 3212 auto propertyChangeCallback = [weak = AceType::WeakClaim(this), callback = propertyCallback, in AddKeyFrame() 3233 void PipelineContext::AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) in AddKeyFrame() argument 3235 if (propertyCallback == nullptr) { in AddKeyFrame() 3241 auto propertyChangeCallback = [weak = AceType::WeakClaim(this), callback = propertyCallback, in AddKeyFrame() 3203 AddKeyFrame( float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) AddKeyFrame() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_pattern.cpp | 696 auto propertyCallback = [weak = AceType::WeakClaim(this)](float scrollOffset) { in InitOffsetProperty() local 703 offsetProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in InitOffsetProperty() 940 auto propertyCallback = [weak = AceType::WeakClaim(this)](float scrollOffset) { in InitLowVersionOffset() local 946 lowVersionOffset_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in InitLowVersionOffset()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_node_test.cpp | 4550 PropertyCallback propertyCallback = nullptr; in HWTEST_F() local 4553 auto animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback); in HWTEST_F() 4557 propertyCallback = []() {}; in HWTEST_F() 4558 animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback); in HWTEST_F() 4559 EXPECT_TRUE(propertyCallback != nullptr); in HWTEST_F() 4562 animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback); in HWTEST_F() 4566 animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback, repeatCallback); in HWTEST_F() 4576 PropertyCallback propertyCallback = nullptr; in HWTEST_F() local 4580 RSNode::AnimateWithCurrentOptions(propertyCallback, finishCallback, timingSensitive); in HWTEST_F() 4584 propertyCallback in HWTEST_F() 4601 PropertyCallback propertyCallback = nullptr; HWTEST_F() local 4839 PropertyCallback propertyCallback = []() {}; HWTEST_F() local 4854 PropertyCallback propertyCallback = []() {}; HWTEST_F() local [all...] |
/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() 274 Animate(const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback, const std::function<void()>& finishCallBack) Animate() argument
|
/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() 274 Animate(const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback, const std::function<void()>& finishCallBack) Animate() argument
|
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.h | 141 void AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) override 144 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) override {}
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_pattern.cpp | 134 auto propertyCallback = [weak = WeakClaim(this)]() { in StartShowTabBar() local 144 AnimationUtils::Animate(option, propertyCallback, finishCallback); in StartShowTabBar() 158 auto propertyCallback = [weak = WeakClaim(this)](float value) { in InitTabBarProperty() local 173 showTabBarProperty_ = AceType::MakeRefPtr<NodeAnimatablePropertyFloat>(0.0, std::move(propertyCallback)); in InitTabBarProperty() 192 auto propertyCallback = [weak = WeakClaim(this), translate]() { in StopShowTabBar() local 197 AnimationUtils::Animate(option, propertyCallback); in StopShowTabBar()
|