/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/ |
H A D | mock_animation_utils.cpp | 69 const FinishCallback& finishCallback, const RepeatCallback& repeatCallback) in Animate() argument 72 AnimManager::GetInstance().SetParams(option.GetDuration(), { finishCallback, repeatCallback }); in Animate() 85 if (repeatCallback) { in Animate() 86 repeatCallback(); in Animate() 116 …ertyCallback& callback, const FinishCallback& finishCallback, const RepeatCallback& repeatCallback) in StartAnimation() argument 119 AnimManager::GetInstance().SetParams(option.GetDuration(), { finishCallback, repeatCallback }); in StartAnimation()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_implicit_animator.cpp | 34 std::shared_ptr<AnimationRepeatCallback>&& repeatCallback) in OpenImplicitAnimation() argument 37 std::move(repeatCallback) }); in OpenImplicitAnimation() 525 …auto& repeatCallback = std::get<std::shared_ptr<AnimationRepeatCallback>>(globalImplicitParams_.to… in CreateImplicitAnimation() local 617 if (repeatCallback != nullptr) { in CreateImplicitAnimation() 618 animation->SetRepeatCallback(std::move(repeatCallback)); in CreateImplicitAnimation() 619 repeatCallback.reset(); in CreateImplicitAnimation() 695 …auto& repeatCallback = std::get<std::shared_ptr<AnimationRepeatCallback>>(globalImplicitParams_.to… in CreateImplicitAnimationWithInitialVelocity() local 696 if (repeatCallback) { in CreateImplicitAnimationWithInitialVelocity() 697 animation->SetRepeatCallback(std::move(repeatCallback)); in CreateImplicitAnimationWithInitialVelocity() 698 repeatCallback.reset(); in CreateImplicitAnimationWithInitialVelocity()
|
H A D | rs_animation.h | 127 void SetRepeatCallback(const std::shared_ptr<AnimationRepeatCallback>& repeatCallback);
|
H A D | rs_animation.cpp | 74 void RSAnimation::SetRepeatCallback(const std::shared_ptr<AnimationRepeatCallback>& repeatCallback) in SetRepeatCallback() argument 76 repeatCallback_ = repeatCallback; in SetRepeatCallback()
|
H A D | rs_implicit_animator.h | 46 std::shared_ptr<AnimationRepeatCallback>&& repeatCallback);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | animation_utils.h | 46 … const FinishCallback& finishCallback = nullptr, const RepeatCallback& repeatCallback = nullptr); 59 const RepeatCallback& repeatCallback = nullptr);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_animation_utils.cpp | 114 const FinishCallback& finishCallback, const RepeatCallback& repeatCallback) in Animate() argument 118 auto wrappedOnRepeat = GetWrappedCallback(repeatCallback); in Animate() 157 …ertyCallback& callback, const FinishCallback& finishCallback, const RepeatCallback& repeatCallback) in StartAnimation() argument 163 auto wrappedOnRepeat = GetWrappedCallback(repeatCallback); in StartAnimation()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_implicit_animator_test.cpp | 245 auto repeatCallback = std::make_shared<AnimationRepeatCallback>(func); variable 253 …imationTimingProtocol::DEFAULT, timingCurve, std::move(finishCallback), std::move(repeatCallback));
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_property.h | 473 …:function<void()>& finishCallback = nullptr, const std::function<void()>& repeatCallback = nullptr) 499 if (repeatCallback) { 500 animationRepeatCallback = std::make_shared<AnimationRepeatCallback>(repeatCallback);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/image_animator/ |
H A D | image_animator_test_ng.cpp | 699 auto repeatCallback = eventHub->GetRepeatEvent(); variable 700 EXPECT_NE(repeatCallback, nullptr); 701 repeatCallback();
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 148 …function<void()>& finishCallback = nullptr, const std::function<void()>& repeatCallback = nullptr);
|
H A D | rs_node.cpp | 249 const std::function<void()>& finishCallback, const std::function<void()>& repeatCallback) in Animate() argument 267 if (repeatCallback != nullptr) { in Animate() 268 animationRepeatCallback = std::make_shared<AnimationRepeatCallback>(repeatCallback); in Animate()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/ |
H A D | camera_framework_moduletest.cpp | 5474 int32_t intResult = repeatCallback->OnFrameStarted(); 5478 intResult = repeatCallback->OnFrameEnded(frameCount); 5482 intResult = repeatCallback->OnFrameError(errorCode); 5682 int32_t intResult = repeatCallback->OnFrameStarted(); 5686 intResult = repeatCallback->OnFrameEnded(frameCount); 5690 intResult = repeatCallback->OnFrameError(errorCode); 5732 intResult = repeatCallback->OnFrameStarted(); 5735 intResult = repeatCallback->OnFrameEnded(frameCount); 7642 sptr<IStreamRepeatCallback> repeatCallback = iface_cast<IStreamRepeatCallback>(object); variable 7643 ASSERT_NE(repeatCallback, nullptr); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_node_test.cpp | 4450 std::function<void()> repeatCallback = nullptr; variable 4463 repeatCallback = []() {}; in __anon8634bd0d0502() 4464 …e = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback, repeatCallback); 4465 EXPECT_TRUE(repeatCallback != nullptr);
|