Home
last modified time | relevance | path

Searched refs:rotationTransform (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_base_render_util_test.cpp1060 GraphicTransformType rotationTransform = GraphicTransformType::GRAPHIC_ROTATE_90; variable
1061 … ASSERT_EQ(matrix, RSBaseRenderUtil::GetSurfaceTransformMatrix(rotationTransform, bounds, bounds));
1078 GraphicTransformType rotationTransform = GraphicTransformType::GRAPHIC_ROTATE_180; variable
1079 … ASSERT_EQ(matrix, RSBaseRenderUtil::GetSurfaceTransformMatrix(rotationTransform, bounds, bounds));
1095 GraphicTransformType rotationTransform = GraphicTransformType::GRAPHIC_ROTATE_270; variable
1096 … ASSERT_EQ(matrix, RSBaseRenderUtil::GetSurfaceTransformMatrix(rotationTransform, bounds, bounds));
1112 GraphicTransformType rotationTransform = GraphicTransformType::GRAPHIC_ROTATE_90; variable
1113 …ASSERT_EQ(matrix, RSBaseRenderUtil::GetSurfaceTransformMatrixForRotationFixed(rotationTransform, b…
1130 GraphicTransformType rotationTransform = GraphicTransformType::GRAPHIC_ROTATE_180; variable
1131 …ASSERT_EQ(matrix, RSBaseRenderUtil::GetSurfaceTransformMatrixForRotationFixed(rotationTransform, b…
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_render_util.cpp1159 …GraphicTransformType rotationTransform, const RectF &bounds, const RectF &bufferBounds, Gravity gr… in GetSurfaceTransformMatrix() argument
1165 switch (rotationTransform) { in GetSurfaceTransformMatrix()
1189 …GraphicTransformType rotationTransform, const RectF &bounds, const RectF &bufferBounds, Gravity gr… in GetSurfaceTransformMatrixForRotationFixed() argument
1210 switch (rotationTransform) { in GetSurfaceTransformMatrixForRotationFixed()
1319 auto rotationTransform = GetRotateTransform(transform); in DealWithSurfaceRotationAndGravity() local
1326 rotationTransform = static_cast<GraphicTransformType>( in DealWithSurfaceRotationAndGravity()
1327 … (rotationTransform + extraRotation / RS_ROTATION_90 + SCREEN_ROTATION_NUM) % SCREEN_ROTATION_NUM); in DealWithSurfaceRotationAndGravity()
1332 if (rotationTransform == GraphicTransformType::GRAPHIC_ROTATE_90 || in DealWithSurfaceRotationAndGravity()
1333 rotationTransform == GraphicTransformType::GRAPHIC_ROTATE_270) { in DealWithSurfaceRotationAndGravity()
1342 if (rotationTransform == GraphicTransformType::GRAPHIC_ROTATE_90 || in DealWithSurfaceRotationAndGravity()
[all …]
H A Drs_base_render_util.h131 …static Drawing::Matrix GetSurfaceTransformMatrix(GraphicTransformType rotationTransform, const Rec…
133 …c Drawing::Matrix GetSurfaceTransformMatrixForRotationFixed(GraphicTransformType rotationTransform,
H A Drs_uni_render_util.cpp568 auto rotationTransform = RSBaseRenderUtil::GetRotateTransform(transform); in DealWithRotationAndGravityForRotationFixed() local
570 rotationTransform, localBounds)); in DealWithRotationAndGravityForRotationFixed()
571 if (rotationTransform == GraphicTransformType::GRAPHIC_ROTATE_90 || in DealWithRotationAndGravityForRotationFixed()
572 rotationTransform == GraphicTransformType::GRAPHIC_ROTATE_270) { in DealWithRotationAndGravityForRotationFixed()