Home
last modified time | relevance | path

Searched refs:CustomCurve (Results 1 - 10 of 10) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcurve.h263 class CustomCurve final : public Curve {
264 DECLARE_ACE_TYPE(CustomCurve, Curve);
267 explicit CustomCurve(const std::function<float(float)>& func) : interpolateFunc_(func) {} in CustomCurve() function in OHOS::Ace::final
268 ~CustomCurve() override = default;
H A Dnative_curve_helper.cpp37 } else if (auto customCurve = AceType::DynamicCast<CustomCurve>(curve)) { in ToNativeCurve()
H A Dspring_animation.cpp90 return MakeRefPtr<CustomCurve>([weak = AceType::WeakClaim(this)](float fraction) -> float { in GetCurve()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Danimate_impl.h117 ArkUI_CurveHandle CustomCurve(void* userData, float (*interpolate)(float fraction, void* userdata));
H A Danimate_impl.cpp384 ArkUI_CurveHandle CustomCurve(void* userData, float (*interpolate)(float fraction, void* userdata)) in CustomCurve() function
H A Dnode_animate.cpp694 return OHOS::Ace::AnimateModel::CustomCurve(userData, interpolate); in OH_ArkUI_Curve_CreateCustomCurve()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_curves_module.cpp296 curve = AceType::MakeRefPtr<CustomCurve>(nullptr); in ParseCurves()
371 shared_ptr<JsValue> CustomCurve(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in CustomCurve() function
405 moduleObj->SetProperty(runtime, CURVES_CUSTOM, runtime->NewFunction(CustomCurve)); in InitCurvesModule()
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Danimate_impl_test.cpp114 * @tc.desc: Test CustomCurve function.
119 ArkUI_CurveHandle curve = CustomCurve(nullptr, InterpolateCallback); in HWTEST_F()
302 * @tc.desc: Test CustomCurve function.
308 ArkUI_CurveHandle curve = CustomCurve(nullptr, InterpolateCallback); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.cpp358 return AceType::MakeRefPtr<CustomCurve>(jsFunc); in CreateCurve()
381 return AceType::MakeRefPtr<CustomCurve>(jsFunc); in CreateCurveExceptSpring()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_animate.cpp502 auto curve = AceType::MakeRefPtr<CustomCurve>(func); in CreateCustomCurve()

Completed in 9 milliseconds