Home
last modified time | relevance | path

Searched refs:windowOrientation (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dwindow_utils.cpp21 DeviceOrientation WindowUtils::GetDeviceOrientation(int32_t windowOrientation) in GetDeviceOrientation() argument
24 ((windowOrientation == static_cast<int32_t>(Rosen::DisplayOrientation::LANDSCAPE)) || in GetDeviceOrientation()
25 … (windowOrientation == static_cast<int32_t>(Rosen::DisplayOrientation::LANDSCAPE_INVERTED))) in GetDeviceOrientation()
H A Dwindow_utils.h25 static DeviceOrientation GetDeviceOrientation(int32_t windowOrientation);
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_session.cpp4718 auto windowOrientation = static_cast<Orientation>(defaultRequestedOrientation); in OnSyncDefaultRequestedOrientation() local
4719 if (windowOrientation < Orientation::BEGIN || windowOrientation > Orientation::END) { in OnSyncDefaultRequestedOrientation()
4724 session->SetDefaultRequestedOrientation(windowOrientation); in OnSyncDefaultRequestedOrientation()