/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tween/ |
H A D | tween_component.h | 44 void SetAnimationOperation(const AnimationOperation& operation); 45 void SetCustomAnimationOperation(const AnimationOperation& operation); 49 const AnimationOperation& GetAnimationOperation() const; 50 const AnimationOperation& GetCustomAnimationOperation() const; 200 AnimationOperation operationCss_ = AnimationOperation::PLAY; 201 AnimationOperation operationCustom_ = AnimationOperation::PLAY;
|
H A D | tween_component.cpp | 48 void TweenComponent::SetAnimationOperation(const AnimationOperation& operation) in SetAnimationOperation() 54 const AnimationOperation& TweenComponent::GetAnimationOperation() const in GetAnimationOperation() 59 void TweenComponent::SetCustomAnimationOperation(const AnimationOperation& operation) in SetCustomAnimationOperation() 65 const AnimationOperation& TweenComponent::GetCustomAnimationOperation() const in GetCustomAnimationOperation()
|
H A D | tween_element.h | 78 void ApplyOperation(RefPtr<Animator>& controller, AnimationOperation& operation); 95 AnimationOperation operation_ = AnimationOperation::NONE; 96 AnimationOperation operationCustom_ = AnimationOperation::NONE;
|
H A D | tween_element.cpp | 371 … if ((operation_ != AnimationOperation::NONE || operationCustom_ != AnimationOperation::NONE) && in Update() 391 case AnimationOperation::PLAY: in ApplyOperation() 394 case AnimationOperation::RUNNING: in ApplyOperation() 397 case AnimationOperation::PAUSE: in ApplyOperation() 400 case AnimationOperation::CANCEL: in ApplyOperation() 403 case AnimationOperation::FINISH: in ApplyOperation() 406 case AnimationOperation::REVERSE: in ApplyOperation() 409 case AnimationOperation::NONE: in ApplyOperation() 460 if (operation_ != AnimationOperation::NONE || operationCustom_ != AnimationOperation::NONE) { in OnPreFlush() 475 operation_ = AnimationOperation::NONE; in OnPreFlush() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/test/unittest/framework/ |
H A D | animation_framework_test.cpp | 114 case AnimationOperation::PLAY: in TriggerAndCheckBasicPropertyFirstFrame() 115 case AnimationOperation::REVERSE: { in TriggerAndCheckBasicPropertyFirstFrame() 121 case AnimationOperation::PAUSE: { in TriggerAndCheckBasicPropertyFirstFrame() 127 case AnimationOperation::FINISH: { in TriggerAndCheckBasicPropertyFirstFrame() 131 case AnimationOperation::CANCEL: { in TriggerAndCheckBasicPropertyFirstFrame() 268 case AnimationOperation::REVERSE: { in RunAndCheckBasicPropertyTestInterpolateValue() 272 case AnimationOperation::PLAY: { in RunAndCheckBasicPropertyTestInterpolateValue() 320 case AnimationOperation::REVERSE: { in RunAndCheckBasicAnimationDirectionPropertyTest() 336 case AnimationOperation::PLAY: { in RunAndCheckBasicAnimationDirectionPropertyTest() 2293 InitBasicPropertyTest(0, 1, AnimationOperation::PLAY, FillMode::NONE, true); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/animation/ |
H A D | mock_animation.cpp | 38 case AnimationOperation::PLAY: in ExecuteOperation() 41 case AnimationOperation::REVERSE: in ExecuteOperation() 44 case AnimationOperation::FINISH: in ExecuteOperation() 47 case AnimationOperation::PAUSE: in ExecuteOperation() 50 case AnimationOperation::CANCEL: in ExecuteOperation() 53 case AnimationOperation::NONE: in ExecuteOperation()
|
H A D | mock_animation_manager.h | 62 AnimationOperation type = AnimationOperation::PLAY; 67 params_.type = (duration <= 0) ? AnimationOperation::CANCEL : AnimationOperation::PLAY; in SetParams()
|
H A D | mock_animation.h | 50 AnimationOperation operation_ { AnimationOperation::PLAY };
|
H A D | mock_animation_manager.cpp | 39 if (params_.type == AnimationOperation::CANCEL) { in CloseAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_animation_bridge.h | 109 … explicit JsiAnimationBridgeTaskOperation(AnimationOperation operation) : operation_(operation) {} in DECLARE_ACE_TYPE() 114 AnimationOperation operation_ = AnimationOperation::NONE;
|
H A D | jsi_animation_bridge.cpp | 94 …const shared_ptr<JsRuntime>& runtime, int32_t pageId, int32_t nodeId, AnimationOperation operation) in HandleJsAnimationContext() 385 AnimationOperation operation = StringToAnimationOperation(playState); in JsAnimationPlayStateSet() 554 HandleJsAnimationContext(runtime, pageId, nodeId, AnimationOperation::PLAY); in JsAnimationPlay() 563 HandleJsAnimationContext(runtime, pageId, nodeId, AnimationOperation::FINISH); in JsAnimationFinish() 572 HandleJsAnimationContext(runtime, pageId, nodeId, AnimationOperation::PAUSE); in JsAnimationPause() 581 HandleJsAnimationContext(runtime, pageId, nodeId, AnimationOperation::CANCEL); in JsAnimationCancel() 590 HandleJsAnimationContext(runtime, pageId, nodeId, AnimationOperation::REVERSE); in JsAnimationReverse()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | style.h | 184 AnimationOperation animationOperation = AnimationOperation::PLAY;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.h | 477 inline AnimationOperation StringToAnimationOperation(const std::string& direction) in StringToAnimationOperation() 480 return AnimationOperation::CANCEL; in StringToAnimationOperation() 482 return AnimationOperation::RUNNING; in StringToAnimationOperation() 484 return AnimationOperation::PAUSE; in StringToAnimationOperation() 486 return AnimationOperation::FINISH; in StringToAnimationOperation() 488 return AnimationOperation::NONE; in StringToAnimationOperation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/popup/ |
H A D | popup_element.cpp | 76 tween->SetAnimationOperation(AnimationOperation::PLAY); in ShowPopupInSubWindow() 128 tween->SetAnimationOperation(AnimationOperation::PLAY); in ShowPopup()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | animation_pub.h | 46 enum class AnimationOperation { enum
|
H A D | animation_util.cpp | 98 animationStyle.animationOperation = AnimationOperation::PLAY; in ParseAnimationStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/toast/ |
H A D | toast_component.cpp | 188 tween->SetAnimationOperation(AnimationOperation::PLAY); in Show()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/ |
H A D | base_animation_bridge.cpp | 151 tweenComponent->SetCustomAnimationOperation(AnimationOperation::NONE); in SetTweenComponentParams()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select_popup/ |
H A D | select_popup_component.cpp | 335 tween->SetAnimationOperation(AnimationOperation::PLAY); in Initialize()
|