Home
last modified time | relevance | path

Searched refs:animatorInfo (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_animator.cpp61 void AddFrameListener(const RefPtr<AnimatorInfo>& animatorInfo, const RefPtr<KeyframeAnimation<double>>& animation) in AddFrameListener() argument
63 if (!animatorInfo || !animation) { in AddFrameListener()
66 auto frameEvent = animatorInfo->GetFrameEvent(); in AddFrameListener()
69 [frameEvent, weakInfo = WeakPtr<AnimatorInfo>(animatorInfo)](const float& progress) { in AddFrameListener()
70 auto animatorInfo = weakInfo.Upgrade(); in AddFrameListener()
71 CHECK_NULL_VOID(animatorInfo); in AddFrameListener()
72 ACE_SCOPED_TRACE("animator component onframe. duration:%d, curve:%s", animatorInfo->GetDuration(), in AddFrameListener()
73 animatorInfo->GetCurve() ? animatorInfo->GetCurve()->ToString().c_str() : ""); in AddFrameListener()
79 void HandleAnimatorInfo(const RefPtr<AnimatorInfo>& animatorInfo, cons argument
96 CreateAnimation( const RefPtr<AnimatorInfo>& animatorInfo, const RefPtr<Animator>& animator, AnimationStatus operation) CreateAnimation() argument
210 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetState() local
247 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetDuration() local
265 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetCurve() local
276 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetDelay() local
286 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetFillMode() local
296 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetIteration() local
306 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetPlayMode() local
325 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); SetMotion() local
379 auto animatorInfo = AnimatorModel::GetInstance()->GetAnimatorInfo(animatorId_); OnFrame() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Danimator_model_impl.cpp38 auto animatorInfo = page->GetAnimatorInfo(animatorId); in Create() local
39 if (!animatorInfo) { in Create()
40 animatorInfo = AceType::MakeRefPtr<AnimatorInfo>(); in Create()
42 animatorInfo->SetAnimator(animator); in Create()
43 page->AddAnimatorInfo(animatorId, animatorInfo); in Create()
51 auto animatorInfo = page->GetAnimatorInfo(animatorId); in GetAnimatorInfo() local
52 return animatorInfo; in GetAnimatorInfo()
58 auto animatorInfo = GetAnimatorInfo(animatorId); in AddEventListener() local
59 CHECK_NULL_VOID(animatorInfo); in AddEventListener()
60 auto animator = animatorInfo in AddEventListener()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_animator_model_ng_build_impl.cpp54 auto animatorInfo = page->GetJsAnimator(animatorId); in Create() local
55 if (!animatorInfo) { in Create()
56 animatorInfo = AceType::MakeRefPtr<AnimatorInfo>(); in Create()
58 animatorInfo->SetAnimator(animator); in Create()
59 page->AddJsAnimator(animatorId, animatorInfo); in Create()
67 auto animatorInfo = page->GetJsAnimator(animatorId); in GetAnimatorInfo() local
68 return animatorInfo; in GetAnimatorInfo()
H A Djsi_animator_model_ng_impl.cpp63 auto animatorInfo = page->GetJsAnimator(animatorId); in Create() local
64 if (!animatorInfo) { in Create()
65 animatorInfo = AceType::MakeRefPtr<AnimatorInfo>(); in Create()
70 animatorInfo->SetAnimator(animator); in Create()
71 page->AddJsAnimator(animatorId, animatorInfo); in Create()
83 auto animatorInfo = page->GetJsAnimator(animatorId); in GetAnimatorInfo() local
84 if (!animatorInfo) { in GetAnimatorInfo()
89 return animatorInfo; in GetAnimatorInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/animator/
H A Danimator_model_ng.cpp22 auto animatorInfo = GetAnimatorInfo(animatorId); in AddEventListener() local
23 CHECK_NULL_VOID(animatorInfo); in AddEventListener()
24 auto animator = animatorInfo->GetAnimator(); in AddEventListener()
/foundation/arkui/ace_engine/test/unittest/core/pattern/animator/
H A Danimator_test_ng.cpp32 auto animatorInfo = AceType::MakeRefPtr<AnimatorInfo>(); in GetAnimatorInfo() local
34 animatorInfo->SetAnimator(animator); in GetAnimatorInfo()
35 return animatorInfo; in GetAnimatorInfo()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Djs_ace_page.cpp317 void JsAcePage::AddAnimatorInfo(const std::string& animatorId, const RefPtr<AnimatorInfo>& animatorInfo) in AddAnimatorInfo() argument
319 if (!animatorInfo) { in AddAnimatorInfo()
323 auto animator = animatorInfo->GetAnimator(); in AddAnimatorInfo()
329 animatorInfos_[animatorId] = animatorInfo; in AddAnimatorInfo()
H A Djs_ace_page.h196 void AddAnimatorInfo(const std::string& animatorId, const RefPtr<AnimatorInfo>& animatorInfo);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/
H A Dpage_pattern.cpp381 void PagePattern::AddJsAnimator(const std::string& animatorId, const RefPtr<Framework::AnimatorInfo>& animatorInfo) in AddJsAnimator() argument
383 CHECK_NULL_VOID(animatorInfo); in AddJsAnimator()
384 auto animator = animatorInfo->GetAnimator(); in AddJsAnimator()
387 jsAnimatorMap_[animatorId] = animatorInfo; in AddJsAnimator()
H A Dpage_pattern.h154 void AddJsAnimator(const std::string& animatorId, const RefPtr<Framework::AnimatorInfo>& animatorInfo);
/foundation/arkui/ace_engine/test/unittest/core/pattern/stage/
H A Dstage_test_ng.cpp1132 auto animatorInfo = AceType::MakeRefPtr<Framework::AnimatorInfo>(); in HWTEST_F() local
1144 animatorInfo->SetAnimator(AceType::MakeRefPtr<Animator>(TEST_ANIMATOR_ID.c_str())); in HWTEST_F()
1145 pattern.AddJsAnimator(TEST_ANIMATOR_ID, animatorInfo); in HWTEST_F()

Completed in 13 milliseconds