Home
last modified time | relevance | path

Searched refs:sinValue (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_fe_color_matrix.cpp75 const float sinValue = sin(theta); in MakeHueRotate() local
79 0.213f + cosValue*0.787f + sinValue*-0.213f, in MakeHueRotate()
80 0.715f + cosValue*-0.715f + sinValue*-0.715f, in MakeHueRotate()
81 0.072f + cosValue*-0.072f + sinValue* 0.928f, in MakeHueRotate()
85 0.213f + cosValue*-0.213f + sinValue* 0.143f, in MakeHueRotate()
86 0.715f + cosValue* 0.285f + sinValue* 0.140f, in MakeHueRotate()
87 0.072f + cosValue*-0.072f + sinValue*-0.283f, in MakeHueRotate()
91 0.213f + cosValue*-0.213f + sinValue*-0.787f, in MakeHueRotate()
92 0.715f + cosValue*-0.715f + sinValue* 0.715f, in MakeHueRotate()
93 0.072f + cosValue* 0.928f + sinValue* 0.072f, in MakeHueRotate()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dmatrix.cpp53 Matrix &Matrix::SetSinCos(const float sinValue, const float cosValue, const float px, const float p… in SetSinCos() argument
58 fMat_[IMAGE_SKEWX] = -sinValue; in SetSinCos()
59 fMat_[IMAGE_TRANSX] = sinValue * py + reverseCosValue * px; in SetSinCos()
61 fMat_[IMAGE_SKEWY] = sinValue; in SetSinCos()
63 fMat_[IMAGE_TRANSY] = -sinValue * px + reverseCosValue * py; in SetSinCos()
/ohos5.0/base/sensors/sensor/frameworks/native/src/
H A Dgeomagnetic_field.cpp232 float sinValue = static_cast<float>(sin(thetaRad)); in InitLegendreTable() local
238 polynomials[row][column] = sinValue * polynomials[row - 1][column - 1]; in InitLegendreTable()
240 + sinValue * polynomialsDerivative[row - 1][column - 1]; in InitLegendreTable()
243 polynomialsDerivative[row][column] = -sinValue * polynomials[row - 1][column] in InitLegendreTable()
250 polynomialsDerivative[row][column] = -sinValue * polynomials[row - 1][column] in InitLegendreTable()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dmatrix4.cpp59 double sinValue = sinf(redian); in CreateRotate() local
61 …eturn Matrix4(cosValue + (x * x * (1.0f - cosValue)), (x * y * (1.0f - cosValue)) - (z * sinValue), in CreateRotate()
62 … (x * z * (1.0f - cosValue)) + (y * sinValue), 0.0f, (y * x * (1.0f - cosValue)) + (z * sinValue), in CreateRotate()
63 cosValue + (y * y * (1.0f - cosValue)), (y * z * (1.0f - cosValue)) - (x * sinValue), 0.0f, in CreateRotate()
64 (z * x * (1.0f - cosValue)) - (y * sinValue), (z * y * (1.0f - cosValue)) + (x * sinValue), in CreateRotate()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmatrix_test.cpp197 float sinValue = 1; variable
199 matrix_.SetSinCos(sinValue, cosValue, px, py);
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/
H A Dmatrix.h127 Matrix &SetSinCos(const float sinValue, const float cosValue, const float px, const float py);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.cpp1594 float sinValue = std::sin(rad); in SetHueRotateFilter() local
1597 matrix[0] = LUMR + cosValue * (1 - LUMR) + sinValue * (-LUMR); in SetHueRotateFilter()
1598 matrix[5] = LUMR + cosValue * (-LUMR) + sinValue * 0.143f; in SetHueRotateFilter()
1599 matrix[10] = LUMR + cosValue * (-LUMR) + sinValue * (LUMR - 1); in SetHueRotateFilter()
1601 matrix[1] = LUMG + cosValue * (-LUMG) + sinValue * (-LUMG); in SetHueRotateFilter()
1602 matrix[6] = LUMG + cosValue * (1 - LUMG) + sinValue * 0.140f; in SetHueRotateFilter()
1603 matrix[11] = LUMG + cosValue * (-LUMG) + sinValue * LUMG; in SetHueRotateFilter()
1605 matrix[2] = LUMB + cosValue * (-LUMB) + sinValue * (1 - LUMB); in SetHueRotateFilter()
1606 matrix[7] = LUMB + cosValue * (-LUMB) + sinValue * (-0.283f); in SetHueRotateFilter()
1607 matrix[12] = LUMB + cosValue * (1 - LUMB) + sinValue * LUMB; in SetHueRotateFilter()