Searched refs:requestOrientation (Results 1 - 3 of 3) sorted by relevance
/foundation/window/window_manager/wmserver/src/utils/ |
H A D | window_manager_service_utils.cpp | 41 bool WmsUtils::IsExpectedRotateLandscapeWindow(Orientation requestOrientation, in IsExpectedRotateLandscapeWindow() argument 44 if (requestOrientation != Orientation::HORIZONTAL && requestOrientation != Orientation::REVERSE_HORIZONTAL) { in IsExpectedRotateLandscapeWindow() 47 return IsExpectedRotatableWindow(requestOrientation, currentOrientation, flags); in IsExpectedRotateLandscapeWindow() 50 bool WmsUtils::IsExpectedRotatableWindow(Orientation requestOrientation, in IsExpectedRotatableWindow() argument 56 return IsExpectedRotatableWindow(requestOrientation, currentOrientation, flags, restricted); in IsExpectedRotatableWindow() 59 bool WmsUtils::IsExpectedRotatableWindow(Orientation requestOrientation, in IsExpectedRotatableWindow() argument 68 if (WINDOW_TO_DISPLAY_ORIENTATION_MAP.count(requestOrientation) == 0) { in IsExpectedRotatableWindow() 71 DisplayOrientation disOrientation = WINDOW_TO_DISPLAY_ORIENTATION_MAP.at(requestOrientation); in IsExpectedRotatableWindow()
|
/foundation/window/window_manager/wmserver/include/utils/ |
H A D | window_manager_service_utils.h | 44 static bool IsExpectedRotateLandscapeWindow(Orientation requestOrientation, 46 static bool IsExpectedRotatableWindow(Orientation requestOrientation, 48 static bool IsExpectedRotatableWindow(Orientation requestOrientation,
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_layout_policy.cpp | 624 auto requestOrientation = node->GetRequestedOrientation(); in AdjustFixedOrientationRSSurfaceNode() local 625 if (!WmsUtils::IsFixedOrientation(requestOrientation, node->GetWindowMode(), node->GetWindowFlags())) { in AdjustFixedOrientationRSSurfaceNode() 632 if (WINDOW_TO_DISPLAY_ORIENTATION_MAP.count(requestOrientation) == 0) { in AdjustFixedOrientationRSSurfaceNode() 635 int32_t diffOrientation = static_cast<int32_t>(WINDOW_TO_DISPLAY_ORIENTATION_MAP.at(requestOrientation)) - in AdjustFixedOrientationRSSurfaceNode()
|
Completed in 3 milliseconds