Home
last modified time | relevance | path

Searched refs:Matrix3 (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/util/common/include/
H A Dmmi_matrix3.h93 Matrix3<T>::Matrix3() in Matrix3() function
125 Matrix3<T>::Matrix3(const T* v) in Matrix3() function
131 Matrix3<T>::~Matrix3() in ~Matrix3()
195 Matrix3<T> Matrix3<T>::Multiply(const Matrix3<T>& other) const in Multiply()
216 Matrix3<T> Matrix3<T>::operator+(const Matrix3<T>& other) const
236 Matrix3<T> Matrix3<T>::operator-(const Matrix3<T>& other) const
261 Matrix3<T> Matrix3<T>::operator*(const Matrix3<T>& other) const
305 Matrix3<T>& Matrix3<T>::operator=(const Matrix3<T>& other)
322 Matrix3<T>& Matrix3<T>::operator+=(const Matrix3<T>& other)
340 Matrix3<T>& Matrix3<T>::operator-=(const Matrix3<T>& other)
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_matrix3.h91 Matrix3<T>::Matrix3() in Matrix3() function
111 Matrix3<T>::Matrix3(const T* v) in Matrix3() function
117 Matrix3<T>::~Matrix3() in ~Matrix3()
181 Matrix3<T> Matrix3<T>::Multiply(const Matrix3<T>& other) const in Multiply()
202 Matrix3<T> Matrix3<T>::operator+(const Matrix3<T>& other) const
222 Matrix3<T> Matrix3<T>::operator-(const Matrix3<T>& other) const
247 Matrix3<T> Matrix3<T>::operator*(const Matrix3<T>& other) const
291 Matrix3<T>& Matrix3<T>::operator=(const Matrix3<T>& other)
308 Matrix3<T>& Matrix3<T>::operator+=(const Matrix3<T>& other)
326 Matrix3<T>& Matrix3<T>::operator-=(const Matrix3<T>& other)
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A Dgraphic_math_unit_test.cpp429 Matrix3<uint16_t>* matrix = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 1, 1, 1);
516 Matrix3<uint16_t>* matrix = new Matrix3<uint16_t>(1, 0, 0, 1, 0, 0, 1, 0, 0);
537 Matrix3<uint16_t>* matrix = new Matrix3<uint16_t>(1, 0, 0, 1, 0, 0, 1, 0, 0);
542 Matrix3<uint16_t>* matrix2 = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 1, 1, 1);
572 Matrix3<uint16_t>* matrix2 = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 1, 1, 1);
590 Matrix3<uint16_t>* matrix1 = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 1, 1, 1);
619 Matrix3<uint16_t>* matrix1 = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 1, 1, 1);
624 Matrix3<uint16_t>* matrix2 = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 1, 1, 1);
630 Matrix3<uint16_t>* matrix3 = new Matrix3<uint16_t>(1, 1, 1, 1, 1, 1, 0, 1, 1);
654 Matrix3<uint64_t> rotate = Matrix3<uint64_t>::Rotate(0, Vector2<uint64_t>(0, 0));
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgraphic_math.h344 Matrix3();
368 ~Matrix3() {} in ~Matrix3()
428 Matrix3 operator*(const Matrix3& other) const;
437 Matrix3& operator=(const Matrix3& other)
459 Matrix3<T>::Matrix3() in Matrix3() function
489 Matrix3<T> Matrix3<T>::operator*(const Matrix3<T>& other) const
491 Matrix3<T> rMulti;
531 Matrix3<T> Matrix3<T>::Inverse() const in Inverse()
555 bool Matrix3<T>::operator==(const Matrix3& other) const
565 Matrix3<T> Matrix3<T>::Rotate(T angle, const Vector2<T>& pivot) in Rotate()
[all …]
H A Dtrans_affine.h30 class TransAffine : public Matrix3<float> {
37 TransAffine() : Matrix3<float>() {} in TransAffine()
44 : Matrix3<float>(v0, v2, v4, v1, v3, v5, 0, 0, 1) {} in TransAffine()
H A Dtransform.h235 Matrix3<float> invMatrix_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dmatrix3.cpp19 void Matrix3::SetEntry(int32_t row, int32_t col, double value) in SetEntry()
27 bool Matrix3::Invert(Matrix3& matrix) const in Invert()
64 Matrix3N Matrix3::operator*(const Matrix3N& matrix) const in operator *()
80 Matrix3 Matrix3::Transpose() const in Transpose()
82 Matrix3 matrix; in Transpose()
91 std::vector<double> Matrix3::MapScalars(const std::vector<double>& src) const in MapScalars()
137 Matrix3 Matrix3N::operator*(const MatrixN3& matrix) const in operator *()
139 Matrix3 Matrix3; in operator *() local
141 return Matrix3; in operator *()
149 Matrix3[i][j] = value; in operator *()
[all …]
H A Dmatrix3.h27 class ACE_EXPORT Matrix3 {
32 Matrix3() = default;
33 ~Matrix3() = default;
38 bool Invert(Matrix3& matrix) const;
40 inline Matrix3& operator*(double num)
68 Matrix3 Transpose() const;
114 Matrix3 operator*(const MatrixN3& matrix) const;
H A Dleast_square_impl.cpp24 …if (xVals_.size() <= 1 || ((paramsNum_ != Matrix3::DIMENSION) && (paramsNum_ != Matrix4::DIMENSION… in GetLeastSquareParams()
53 if (paramsNum_ == Matrix3::DIMENSION) { in GetLeastSquareParams()
61 Matrix3 invert; in GetLeastSquareParams()
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dwm_math.h187 struct Matrix3 { struct
190 friend Matrix3 operator*(const Matrix3& left, const Matrix3& right); argument
191 Matrix3& operator*=(const Matrix3& right);
192 static const Matrix3 Identity; argument
212 Matrix3 CreateScale(float xScale, float yScale);
215 Matrix3 CreateRotation(float theta);
217 Matrix3 CreateTranslation(const Vector2& trans);
234 Vector2 Transform(const Vector2& vec, const Matrix3& mat);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Dmatrix3_test.cpp61 Matrix3 matrixObj1;
111 Matrix3 matrixObj1;
122 Matrix3 matrixObj2 = matrixObj1.Transpose();
150 Matrix3 matrixObj1;
152 Matrix3 matrixObj2;
189 Matrix3 matrixObj1;
213 Matrix3 matrixObj2 = matrix3NObj1 * matrixN3Obj1;
227 Matrix3 matrixObj1;
392 Matrix3 matrixObj1;
435 Matrix3 ret7 = matrix3NObj1 * matrixN3Obj2;
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dwm_math.cpp20 const Matrix3 Matrix3::Identity = { {
32 Matrix3 operator*(const Matrix3& left, const Matrix3& right) in operator *()
52 Matrix3& Matrix3::operator*=(const Matrix3& right) in operator *=()
186 Matrix3 CreateScale(float xScale, float yScale) in CreateScale()
197 Matrix3 CreateRotation(float theta) in CreateRotation()
207 Matrix3 CreateTranslation(const Vector2& trans) in CreateTranslation()
303 Vector2 Transform(const Vector2& vec, const Matrix3& mat) in Transform()
/ohos5.0/foundation/window/window_manager/test/fuzztest/wms/windowutilmath_fuzzer/
H A Dwindowutilmath_fuzzer.cpp44 size_t InitMatrix3(OHOS::Rosen::TransformHelper::Matrix3& mat3, in InitMatrix3()
102 OHOS::Rosen::TransformHelper::Matrix3 left3; in WindowUtilMathFuzzPart1()
103 OHOS::Rosen::TransformHelper::Matrix3 right3; in WindowUtilMathFuzzPart1()
106 OHOS::Rosen::TransformHelper::Matrix3 result = left3 * right3; in WindowUtilMathFuzzPart1()
155 OHOS::Rosen::TransformHelper::Matrix3 mat3; in WindowUtilMathFuzzPart2()
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/
H A Dscreen_device.h182 const Matrix3<float>& transformMatrix, in HardwareTransform()
H A Dscreen_device_proxy.h83 const Matrix3<float>& transformMatrix, in HardwareTransform()
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgraphic_math.cpp177 bool IsIdentity(Matrix3<float>& matrix) in IsIdentity()
H A Dtransform.cpp319 Matrix3<float> matrix3(matrix_[0][0], matrix_[0][1], matrix_[0][3], in SetMatrix()
/ohos5.0/foundation/arkui/ui_lite/test/unittest/common/
H A Dhardware_acceleration_unit_test.cpp70 const Matrix3<float>& transformMatrix, in HardwareTransform()
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_utils.h176 Matrix3<float> matrix;
H A Ddraw_utils.cpp1881Matrix3<float> matrix3(matrix[0][0], matrix[0][1], matrix[0][3], matrix[1][0], matrix[1][1], matri…
1883 …transMap.invMatrix_ = (matrix3 * (Matrix3<float>::Translate(Vector2<float>(rect.GetX(), rect.GetY(…