Home
last modified time | relevance | path

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 Drs_composer_adapter.cpp606 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 Drs_uni_render_util.cpp793 …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()