Home
last modified time | relevance | path

Searched refs:animate (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_circle.cpp50 void SvgCircle::PrepareAnimation(const RefPtr<SvgAnimation>& animate) in PrepareAnimation() argument
52 auto attr = animate->GetAttributeName(); in PrepareAnimation()
54 AnimateOnAttribute(animate, circleAttr_.cx); in PrepareAnimation()
56 AnimateOnAttribute(animate, circleAttr_.cy); in PrepareAnimation()
58 AnimateOnAttribute(animate, circleAttr_.r); in PrepareAnimation()
60 SvgNode::PrepareAnimation(animate); in PrepareAnimation()
H A Dsvg_node.h192 virtual void PrepareAnimation(const RefPtr<SvgAnimation>& animate);
195 void AnimateOnAttribute(const RefPtr<SvgAnimation>& animate, const T& originalValue);
196 // animate a transformation attribute
197 void AnimateTransform(const RefPtr<SvgAnimation>& animate, double originalValue);
198 void AnimateFromToTransform(const RefPtr<SvgAnimation>& animate, double originalValue);
199 void AnimateFrameTransform(const RefPtr<SvgAnimation>& animate, double originalValue);
H A Dsvg_circle.h32 void PrepareAnimation(const RefPtr<SvgAnimation>& animate) override;
H A Dsvg_node.cpp592 void SvgNode::PrepareAnimation(const RefPtr<SvgAnimation>& animate) in AsRSPath() argument
594 auto attrName = animate->GetAttributeName(); in AsRSPath()
597 AnimateOnAttribute(animate, originalValue); in AsRSPath()
600 AnimateOnAttribute(animate, originalValue); in AsRSPath()
603 AnimateOnAttribute(animate, originalValue); in AsRSPath()
605 AnimateTransform(animate, 0.0f); in AsRSPath()
613 void SvgNode::AnimateOnAttribute(const RefPtr<SvgAnimation>& animate, const T& originalValue) in AsRSPath() argument
616 callback = [weak = WeakClaim(this), attrName = animate->GetAttributeName()](T value) { in AsRSPath()
624 animate->CreatePropertyAnimation(originalValue, std::move(callback)); in AsRSPath()
665 void SvgNode::AnimateTransform(const RefPtr<SvgAnimation>& animate, doubl in AsRSPath() argument
674 AnimateFrameTransform(const RefPtr<SvgAnimation>& animate, double originalValue) AsRSPath() argument
717 AnimateFromToTransform(const RefPtr<SvgAnimation>& animate, double originalValue) AnimateFromToTransform() argument
[all...]
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_display_zoom_test.cpp223 * @tc.desc: test animate and zoom transform
242 Transform animate; in HWTEST_F() local
243 animate.translateX_ = -100; // translate x value in HWTEST_F()
244 animate.translateZ_ = 100; // translate z value in HWTEST_F()
245 window->SetTransform(animate); in HWTEST_F()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dknuckle_drawing_manager.cpp750 auto animate = Rosen::RSNode::Animate( in ActionUpAnimation() local
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_node_test.cpp4553 auto animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback); in HWTEST_F() local
4555 EXPECT_EQ(vec, animate); in HWTEST_F()
4558 animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback); in HWTEST_F()
4562 animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback); in HWTEST_F()
4566 animate = RSNode::Animate(timingProtocol, timingCurve, propertyCallback, finishCallback, repeatCallback); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/select_overlay/
H A Dselect_overlay_test_ng.cpp1125 bool animate[2] = { true, false }; in HWTEST_F() local
1131 selectOverlayNode->ShowSelectOverlay(animate[i]); in HWTEST_F()
1132 EXPECT_EQ(pattern->hasShowAnimation_, animate[i]); in HWTEST_F()

Completed in 20 milliseconds