Home
last modified time | relevance | path

Searched refs:offsetRotation (Results 1 - 2 of 2) sorted by relevance

/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp589 int32_t offsetRotation = 0; in SetPhysicalRotation() local
591 offsetRotation = static_cast<int32_t>(std::stoi(phyOffsets[0])); in SetPhysicalRotation()
595 offsetRotation = static_cast<int32_t>(std::stoi(phyOffsets[1])); in SetPhysicalRotation()
597 realRotation = (rotation + offsetRotation) % 360; // 360 is 360 degree in SetPhysicalRotation()
600 property_.GetPhysicalRotation(), rotation, offsetRotation); in SetPhysicalRotation()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager.cpp164 ScreenRotation offsetRotation = ScreenRotation::ROTATION_0; in ConvertOffsetToCorrectRotation() local
167 offsetRotation = ScreenRotation::ROTATION_270; in ConvertOffsetToCorrectRotation()
170 offsetRotation = ScreenRotation::ROTATION_180; in ConvertOffsetToCorrectRotation()
173 offsetRotation = ScreenRotation::ROTATION_90; in ConvertOffsetToCorrectRotation()
176 offsetRotation = ScreenRotation::ROTATION_0; in ConvertOffsetToCorrectRotation()
179 return offsetRotation; in ConvertOffsetToCorrectRotation()

Completed in 12 milliseconds