Home
last modified time | relevance | path

Searched refs:animationController_ (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Danimatable_double.h107 if (!animationController_) { in GetAnimationStatus()
110 return animationController_->GetStatus(); in GetAnimationStatus()
125 if (!animationController_) { in AnimateTo()
154 animationController_->Play(); in AnimateTo()
159 if (animationController_) { in ResetController()
160 if (!animationController_->IsStopped()) { in ResetController()
161 animationController_->Stop(); in ResetController()
164 animationController_->ClearAllListeners(); in ResetController()
165 animationController_.Reset(); in ResetController()
181 animationController_ = nullptr; in ResetAnimatableDouble()
[all …]
H A Danimatable_color.h98 if (!animationController_) { in AnimateTo()
99 animationController_ = CREATE_ANIMATOR(context_); in AnimateTo()
106 animationController_->AddInterpolator(colorAnimation); in AnimateTo()
125 animationController_->Play(); in AnimateTo()
130 if (animationController_) { in ResetController()
131 if (!animationController_->IsStopped()) { in ResetController()
132 animationController_->Stop(); in ResetController()
134 animationController_->ClearInterpolators(); in ResetController()
135 animationController_->ClearAllListeners(); in ResetController()
136 animationController_.Reset(); in ResetController()
[all …]
H A Danimatable_path.cpp74 if (!animationController_) { in AnimateTo()
75 animationController_ = CREATE_ANIMATOR(context_); in AnimateTo()
81 animationController_->AddInterpolator(animation); in AnimateTo()
96 animationController_->SetTempo(animationOption_.GetTempo()); in AnimateTo()
98 animationController_->Play(); in AnimateTo()
103 if (animationController_) { in ResetController()
104 if (!animationController_->IsStopped()) { in ResetController()
105 animationController_->Stop(); in ResetController()
107 animationController_->ClearInterpolators(); in ResetController()
108 animationController_->ClearAllListeners(); in ResetController()
[all …]
H A Danimatable_path.h72 RefPtr<Animator> animationController_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimatable_base.h47 if (!animationController_) { in AnimateTo()
87 if (!animationController_) { in GetAnimationStatus()
90 return animationController_->GetStatus(); in GetAnimationStatus()
103 if (animationController_) { in ResetController()
104 if (!animationController_->IsStopped()) { in ResetController()
105 animationController_->Stop(); in ResetController()
107 animationController_->ClearInterpolators(); in ResetController()
108 animationController_->ClearAllListeners(); in ResetController()
109 animationController_.Reset(); in ResetController()
148 animationController_->Play(); in ApplyAnimationOptions()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Danimatable_dimension.cpp78 if (!animationController_) { in AnimateTo()
79 animationController_ = CREATE_ANIMATOR(context_); in AnimateTo()
88 animationController_->AddInterpolator(animation); in AnimateTo()
108 animationController_->Play(); in AnimateTo()
113 if (animationController_) { in ResetController()
114 if (!animationController_->IsStopped()) { in ResetController()
115 animationController_->Stop(); in ResetController()
117 animationController_->ClearInterpolators(); in ResetController()
118 animationController_->ClearAllListeners(); in ResetController()
119 animationController_.Reset(); in ResetController()
[all …]
H A Danimatable_matrix4.cpp74 if (!animationController_) { in AnimateTo()
75 animationController_ = CREATE_ANIMATOR(context_); in AnimateTo()
90 animationController_->AddInterpolator(animation); in AnimateTo()
110 animationController_->Play(); in AnimateTo()
115 if (animationController_) { in ResetController()
116 if (!animationController_->IsStopped()) { in ResetController()
117 animationController_->Stop(); in ResetController()
119 animationController_->ClearInterpolators(); in ResetController()
120 animationController_->ClearAllListeners(); in ResetController()
121 animationController_.Reset(); in ResetController()
[all …]
H A Danimatable_float.h110 if (!animationController_) { in AnimateTo()
111 animationController_ = CREATE_ANIMATOR(context_); in AnimateTo()
117 animationController_->AddInterpolator(animation); in AnimateTo()
119 animationController_->SetStartDelay(animationOption_.GetDelay()); in AnimateTo()
120 animationController_->Play(); in AnimateTo()
125 if (animationController_) { in ResetController()
126 if (!animationController_->IsStopped()) { in ResetController()
127 animationController_->Stop(); in ResetController()
129 animationController_->ClearInterpolators(); in ResetController()
130 animationController_.Reset(); in ResetController()
[all …]
H A Danimatable_matrix4.h60 if (!animationController_) { in GetAnimationStatus()
63 return animationController_->GetStatus(); in GetAnimationStatus()
86 RefPtr<Animator> animationController_; variable
H A Danimatable_dimension.h87 if (!animationController_) { in GetAnimationStatus()
90 return animationController_->GetStatus(); in GetAnimationStatus()
115 RefPtr<Animator> animationController_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout_item.cpp132 if (!animationController_) { in InitAnimationController()
133 animationController_ = CREATE_ANIMATOR(context); in InitAnimationController()
140 return animationController_; in GetAnimationController()
145 if (animationController_) { in AnimationAddInterpolator()
146 if (animationController_->IsRunning()) { in AnimationAddInterpolator()
147 animationController_->ClearInterpolators(); in AnimationAddInterpolator()
148 animationController_->ClearAllListeners(); in AnimationAddInterpolator()
149 animationController_->Stop(); in AnimationAddInterpolator()
151 animationController_->AddInterpolator(animation); in AnimationAddInterpolator()
159 if (animationController_) { in AnimationPlay()
[all …]
H A Drender_grid_layout_item.h164 RefPtr<Animator> animationController_; variable
H A Drender_grid_layout.cpp2207 if (!animationController_) { in InitAnimationController()
2208 animationController_ = CREATE_ANIMATOR(context); in InitAnimationController()
2219 if (!item || !animationController_) { in AddNodeAnimationToController()
2260 if (!item || !animationController_ || startPoint == endPoint) { in AddNodeAnimationToControllerForDrop()
2307 animationController_->SetDuration(ITEM_ANIMATION_DURATION); in PrepareAnimationController()
2308 animationController_->ClearStopListeners(); in PrepareAnimationController()
2338 animationController_->Play(); in StartAnimationController()
2348 if (animationController_ && !animationController_->IsStopped()) { in StopAnimationController()
2349 animationController_->ClearStopListeners(); in StopAnimationController()
2350 animationController_->Stop(); in StopAnimationController()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Danimatable_matrix4_test.cpp86 EXPECT_EQ(animatableMatrix4Obj1.animationController_, nullptr);
92 EXPECT_EQ(animatableMatrix4Obj1.animationController_, nullptr);
98 EXPECT_EQ(animatableMatrix4Obj1.animationController_, nullptr);
110 animatableMatrix4Obj1.animationController_ = CREATE_ANIMATOR(nullptr);
111 EXPECT_NE(animatableMatrix4Obj1.animationController_, nullptr);
113 EXPECT_EQ(animatableMatrix4Obj1.animationController_, nullptr);
H A Danimatable_dimension_test.cpp118 EXPECT_EQ(animatableDimensionObj1.animationController_, nullptr);
125 EXPECT_NE(animatableDimensionObj1.animationController_, nullptr);
140 animatableDimensionObj1.animationController_ = CREATE_ANIMATOR(nullptr);
146 EXPECT_NE(animatableDimensionObj1.animationController_, nullptr);
148 EXPECT_EQ(animatableDimensionObj1.animationController_, nullptr);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select_popup/
H A Dselect_popup_component.cpp127 if (refreshAnimationCallback_ && animationController_) { in HideDialog()
130 animationController_->ClearStopListeners(); in HideDialog()
131 animationController_->AddStopListener([weak = WeakClaim(this), index]() { in HideDialog()
138 animationController_->Play(); in HideDialog()
186 if (refreshAnimationCallback_ && animationController_) { in CloseContextMenu()
189 animationController_->ClearStopListeners(); in CloseContextMenu()
190 animationController_->AddStopListener([]() { in CloseContextMenu()
193 animationController_->Play(); in CloseContextMenu()
H A Dselect_popup_component.h222 return animationController_; in GetAnimationController()
226 animationController_ = value; in SetAnimationController()
324 RefPtr<Animator> animationController_; variable
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dmeta_object_lib.cpp139 animationController_.reset(); in ~MetaObjectLib()
158animationController_ = iregistry->Create<IAnimationController>(ClassId::AnimationController); in GetAnimationController()
160 return animationController_; in GetAnimationController()
H A Dmeta_object_lib.h55 mutable IAnimationController::Ptr animationController_; in META_BEGIN_NAMESPACE() local
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dremote_animation_test.cpp87 animationController_ = nullptr; in TearDown()
815 animationController_.GetRefPtr());
824 animationController_.GetRefPtr());
851 animationController_.GetRefPtr());
881 animationController_.GetRefPtr());
904 animationController_.GetRefPtr());
923 animationController_.GetRefPtr());
931 animationController_.GetRefPtr());
939 animationController_.GetRefPtr());
948 animationController_.GetRefPtr());
[all …]
H A Dstarting_window_test.cpp44 static sptr<RSIWindowAnimationController> animationController_; member in OHOS::Rosen::StartingWindowTest
50 sptr<RSIWindowAnimationController> StartingWindowTest::animationController_ = nullptr; member in OHOS::Rosen::StartingWindowTest
67 animationController_ = new RSIWindowAnimationControllerMocker(); in SetUp()
68 ASSERT_EQ(WMError::WM_OK, RemoteAnimation::SetWindowAnimationController(animationController_)); in SetUp()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/side_bar/
H A Drender_side_bar_container.cpp117 animationController_->SetSideBarPositon(sideBar_->GetSideBarPositon()); in Update()
187 animationController_ = AceType::MakeRefPtr<SideBarAnimationController>(GetContext()); in InitializeDragAndAnimation()
188 animationController_->SetRenderSideBarContainer(weak); in InitializeDragAndAnimation()
189 animationController_->SetSideBarPositon(sideBarPosition_); in InitializeDragAndAnimation()
252 if (!animationController_) { in DoSideBarAnimation()
263 animationController_->SetAnimationStopCallback([weak = AceType::WeakClaim(this)]() { in DoSideBarAnimation()
281 animationController_->PlaySideBarContainerToAnimation(pendingStatus_); in DoSideBarAnimation()
H A Drender_side_bar_container.h142 RefPtr<SideBarAnimationController> animationController_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_base_component.h230 return animationController_; in GetAnimationController()
235 animationController_ = value; in SetAnimationController()
481 RefPtr<PickerAnimationController> animationController_; variable
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_impl.cpp70 META_FORWARD_READONLY_PROPERTY(uint32_t, Count, animationController_->Count())
71 META_FORWARD_READONLY_PROPERTY(uint32_t, RunningCount, animationController_->RunningCount())
196animationController_ = registry.Create<META_NS::IAnimationController>(META_NS::ClassId::AnimationC… in Build()
1760 META_NS::IAnimationController::Ptr animationController_; member in __anon3577c0ce0110::SceneImpl
1765 return animationController_->GetAnimations(); in GetAnimations()
1769 return animationController_->GetRunning(); in GetRunning()
1773 return animationController_->AddAnimation(animation); in AddAnimation()
1777 return animationController_->RemoveAnimation(animation); in RemoveAnimation()
1781 animationController_->Clear(); in Clear()
1785 return animationController_->Step(clock); in Step()

12