Home
last modified time | relevance | path

Searched refs:phyOffsets (Results 1 - 3 of 3) sorted by relevance

/foundation/window/window_manager/window_scene/common/include/
H A Dfold_screen_state_internel.h96 static std::vector<std::string> phyOffsets; in GetPhyRotationOffset() local
97 if (phyOffsets.empty()) { in GetPhyRotationOffset()
101 phyOffsets.push_back(num); in GetPhyRotationOffset()
103 phyOffsets.push_back(DEFAULT_OFFSET); in GetPhyRotationOffset()
107 return phyOffsets; in GetPhyRotationOffset()
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp588 std::vector<std::string> phyOffsets = FoldScreenStateInternel::GetPhyRotationOffset(); in SetPhysicalRotation() local
590 if (phyOffsets.size() == 1 || foldStatus == FoldStatus::FOLDED) { in SetPhysicalRotation()
591 offsetRotation = static_cast<int32_t>(std::stoi(phyOffsets[0])); in SetPhysicalRotation()
594 phyOffsets.size() == 2) { // 2 is arg number in SetPhysicalRotation()
595 offsetRotation = static_cast<int32_t>(std::stoi(phyOffsets[1])); in SetPhysicalRotation()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager.cpp152 std::vector<std::string> phyOffsets = FoldScreenStateInternel::GetPhyRotationOffset(); in ScreenSessionManager() local
153 int32_t phyOffset = static_cast<int32_t>(std::stoi(phyOffsets[0])); in ScreenSessionManager()

Completed in 13 milliseconds