Home
last modified time | relevance | path

Searched refs:repeatCallback (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_animation_utils.cpp69 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 Drs_implicit_animator.cpp34 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 Drs_animation.h127 void SetRepeatCallback(const std::shared_ptr<AnimationRepeatCallback>& repeatCallback);
H A Drs_animation.cpp74 void RSAnimation::SetRepeatCallback(const std::shared_ptr<AnimationRepeatCallback>& repeatCallback) in SetRepeatCallback() argument
76 repeatCallback_ = repeatCallback; in SetRepeatCallback()
H A Drs_implicit_animator.h46 std::shared_ptr<AnimationRepeatCallback>&& repeatCallback);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Danimation_utils.h46 … 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 Drosen_animation_utils.cpp114 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 Drs_implicit_animator_test.cpp245 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 Drs_property.h473 …: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 Dimage_animator_test_ng.cpp699 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 Drs_node.h148 …function<void()>& finishCallback = nullptr, const std::function<void()>& repeatCallback = nullptr);
H A Drs_node.cpp249 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 Dcamera_framework_moduletest.cpp5474 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 Drs_node_test.cpp4450 std::function<void()> repeatCallback = nullptr; variable
4463 repeatCallback = []() {}; in __anon8634bd0d0502()
4464 …e = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback, repeatCallback);
4465 EXPECT_TRUE(repeatCallback != nullptr);