Home
last modified time | relevance | path

Searched refs:LeastSquareImpl (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dleast_square_impl.h30 class ACE_EXPORT LeastSquareImpl { class
36 explicit LeastSquareImpl(int32_t paramsNum) : paramsNum_(paramsNum) {} in LeastSquareImpl() function in OHOS::Ace::LeastSquareImpl
42 LeastSquareImpl(int32_t paramsNum, int32_t countNum) : paramsNum_(paramsNum), countNum_(countNum) {} in LeastSquareImpl() function in OHOS::Ace::LeastSquareImpl
44 LeastSquareImpl() = default;
45 ~LeastSquareImpl() = default;
H A Dleast_square_impl.cpp22 bool LeastSquareImpl::GetLeastSquareParams(std::vector<double>& params) in GetLeastSquareParams()
/foundation/arkui/ace_engine/test/unittest/base/
H A Dleast_square_impl_test.cpp37 * @tc.desc: Test all functions of the class LeastSquareImpl.
42 LeastSquareImpl leastSquareImpl1(PARAMS_NUM1); in HWTEST_F()
48 LeastSquareImpl leastSquareImpl2(PARAMS_NUM2); in HWTEST_F()
54 LeastSquareImpl leastSquareImpl3(PARAMS_NUM3); in HWTEST_F()
61 LeastSquareImpl leastSquareImpl4(PARAMS_NUM4); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dvelocity_tracker.cpp22 void CheckExtremePoint(const LeastSquareImpl& axis, double extremX, uint32_t valSize) in CheckExtremePoint()
62 double GetLinearSlope(const LeastSquareImpl& axis) in GetLinearSlope()
88 void CorrectMonotonicAxisVelocity(const LeastSquareImpl& axis, double& v, double extremX) in CorrectMonotonicAxisVelocity()
107 double UpdateAxisVelocity(LeastSquareImpl& axis) in UpdateAxisVelocity()
205 auto func = [](const LeastSquareImpl &axis, const char* str) { in DumpVelocityPoints()
H A Dvelocity_tracker.h139 LeastSquareImpl xAxis_ { LEAST_SQUARE_PARAM_NUM, POINT_NUMBER };
140 LeastSquareImpl yAxis_ { LEAST_SQUARE_PARAM_NUM, POINT_NUMBER };

Completed in 2 milliseconds