Searched refs:CustomCurve (Results 1 - 10 of 10) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | curve.h | 263 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 D | native_curve_helper.cpp | 37 } else if (auto customCurve = AceType::DynamicCast<CustomCurve>(curve)) { in ToNativeCurve()
|
H A D | spring_animation.cpp | 90 return MakeRefPtr<CustomCurve>([weak = AceType::WeakClaim(this)](float fraction) -> float { in GetCurve()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | animate_impl.h | 117 ArkUI_CurveHandle CustomCurve(void* userData, float (*interpolate)(float fraction, void* userdata));
|
H A D | animate_impl.cpp | 384 ArkUI_CurveHandle CustomCurve(void* userData, float (*interpolate)(float fraction, void* userdata)) in CustomCurve() function
|
H A D | node_animate.cpp | 694 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 D | jsi_curves_module.cpp | 296 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 D | animate_impl_test.cpp | 114 * @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 D | utils.cpp | 358 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 D | node_animate.cpp | 502 auto curve = AceType::MakeRefPtr<CustomCurve>(func); in CreateCustomCurve()
|
Completed in 10 milliseconds