Searched refs:supportedDegrees (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_composer_adapter.cpp | 606 static const std::map<int, int> supportedDegrees = {{90, 270}, {180, 180}, {-90, 90}}; in GetSurfaceNodeRotation() local 607 auto iter = supportedDegrees.find(rAngle); in GetSurfaceNodeRotation() 608 return iter != supportedDegrees.end() ? iter->second : 0; in GetSurfaceNodeRotation()
|
H A D | rs_uni_render_util.cpp | 793 …static const std::map<int, int> supportedDegrees = { { 90, 270 }, { 180, 180 }, { -90, 90 }, { -18… in TransferToAntiClockwiseDegrees() local 795 auto iter = supportedDegrees.find(angle); in TransferToAntiClockwiseDegrees() 796 return iter != supportedDegrees.end() ? iter->second : 0; in TransferToAntiClockwiseDegrees()
|