Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcurve.h200 class StepsCurve : public Curve { class
201 DECLARE_ACE_TYPE(StepsCurve, Curve);
204 explicit StepsCurve(int32_t steps, StepsCurvePosition position = StepsCurvePosition::START) in StepsCurve() function in OHOS::Ace::StepsCurve
207 ~StepsCurve() override = default;
212 LOGE("StepsCurve MoveInternal: time is less than 0 or larger than 1, return 1");
237 auto other = AceType::DynamicCast<StepsCurve>(curve);
H A Dnative_curve_helper.cpp42 } else if (auto stepsCurve = AceType::DynamicCast<StepsCurve>(curve)) { in ToNativeCurve()
H A Dsvg_animate.h60 return AceType::MakeRefPtr<StepsCurve>(1, StepsCurvePosition::START); in GetCurve()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_curves_module.cpp204 curve = AceType::MakeRefPtr<StepsCurve>(stepSize, StepsCurvePosition::END); in CreateStepsCurve()
206 curve = AceType::MakeRefPtr<StepsCurve>(stepSize, StepsCurvePosition::START); in CreateStepsCurve()
209 curve = AceType::MakeRefPtr<StepsCurve>(stepSize); in CreateStepsCurve()
365 shared_ptr<JsValue> StepsCurve(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in StepsCurve() function
402 moduleObj->SetProperty(runtime, STEPS_CURVE, runtime->NewFunction(StepsCurve)); in InitCurvesModule()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Danimate_impl.h111 ArkUI_CurveHandle StepsCurve(int32_t count, bool end);
H A Danimate_impl.cpp274 ArkUI_CurveHandle StepsCurve(int32_t count, bool end) in StepsCurve() function
H A Dnode_animate.cpp663 return OHOS::Ace::AnimateModel::StepsCurve(count, end); in OH_ArkUI_Curve_CreateStepsCurve()
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Danimate_impl_test.cpp140 * @tc.desc: Test StepsCurve function.
146 ArkUI_CurveHandle curve = StepsCurve(0, true); in HWTEST_F()
152 * @tc.desc: Test StepsCurve function.
158 ArkUI_CurveHandle curve = StepsCurve(1, true); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/animation/test/unittest/framework/
H A Danimation_framework_test.cpp685 StepsCurve stepsCurveStart(steps, StepsCurvePosition::START); in HWTEST_F()
752 StepsCurve stepsCurveEnd(steps, StepsCurvePosition::END); in HWTEST_F()
785 StepsCurve stepsCurveStart(0); in HWTEST_F()
809 RefPtr<StepsCurve> stepsCurveStart = AceType::MakeRefPtr<StepsCurve>(2); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_animate.cpp450 auto curve = AceType::MakeRefPtr<StepsCurve>(count, static_cast<StepsCurvePosition>(end)); in CreateStepsCurve()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.cpp69 return AceType::MakeRefPtr<StepsCurve>(step, position); in StepsCurveCreator()

Completed in 19 milliseconds