Home
last modified time | relevance | path

Searched refs:displayOrientation (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_property_test.cpp98 property->SetDeviceOrientation(displayOrientation);
100 ASSERT_EQ(ret, displayOrientation);
102 displayOrientation = DisplayOrientation::LANDSCAPE;
103 property->SetDeviceOrientation(displayOrientation);
105 ASSERT_EQ(ret, displayOrientation);
107 displayOrientation = DisplayOrientation::PORTRAIT_INVERTED;
108 property->SetDeviceOrientation(displayOrientation);
110 ASSERT_EQ(ret, displayOrientation);
112 displayOrientation = DisplayOrientation::LANDSCAPE_INVERTED;
113 property->SetDeviceOrientation(displayOrientation);
[all …]
H A Dscreen_session_test.cpp490 DisplayOrientation displayOrientation = DisplayOrientation::LANDSCAPE; variable
491 screenSession->ReportNotifyModeChange(displayOrientation);
492 displayOrientation = DisplayOrientation::PORTRAIT;
493 screenSession->ReportNotifyModeChange(displayOrientation);
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.25/
H A Dchangelogs-window.md61 (1) 当手机电源键在右侧时,displayOrientation更改前后变化对照表:
70 (2) 当手机电源键在左侧时,displayOrientation值与更改前保持一致。
/ohos5.0/foundation/window/window_manager/utils/src/
H A Ddisplay_info.cpp56 uint32_t displayOrientation; in Unmarshalling() local
68 parcel.ReadInt32(displayInfo->dpi_) && parcel.ReadUint32(displayOrientation) && in Unmarshalling()
85 displayInfo->displayOrientation_ = static_cast<DisplayOrientation>(displayOrientation); in Unmarshalling()
/ohos5.0/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_property.cpp323 void ScreenProperty::SetDisplayOrientation(DisplayOrientation displayOrientation) in SetDisplayOrientation() argument
325 displayOrientation_ = displayOrientation; in SetDisplayOrientation()
333 void ScreenProperty::SetDeviceOrientation(DisplayOrientation displayOrientation) in SetDeviceOrientation() argument
335 deviceOrientation_ = displayOrientation; in SetDeviceOrientation()
H A Dscreen_session.cpp560 DisplayOrientation displayOrientation = CalcDisplayOrientation(targetRotation, foldDisplayMode); in UpdateToInputManager() local
564 property_.SetDisplayOrientation(displayOrientation); in UpdateToInputManager()
596 property_.SetDisplayOrientation(displayOrientation); in UpdatePropertyAfterRotation()
601 rotation, displayOrientation); in UpdatePropertyAfterRotation()
622 rotation, displayOrientation); in UpdatePropertyAfterRotation()
623 ReportNotifyModeChange(displayOrientation); in UpdatePropertyAfterRotation()
633 property_.SetDisplayOrientation(displayOrientation); in UpdatePropertyOnly()
637 rotation, displayOrientation); in UpdatePropertyOnly()
649 void ScreenSession::ReportNotifyModeChange(DisplayOrientation displayOrientation) in ReportNotifyModeChange() argument
652 if (displayOrientation == DisplayOrientation::PORTRAIT_INVERTED || in ReportNotifyModeChange()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_property.h110 void SetDisplayOrientation(DisplayOrientation displayOrientation);
114 void SetDeviceOrientation(DisplayOrientation displayOrientation);
H A Dscreen_session.h254 void ReportNotifyModeChange(DisplayOrientation displayOrientation);
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_display_test.cpp191 DisplayOrientation displayOrientation = DisplayOrientation::PORTRAIT; variable
192 absDisplay->SetDisplayOrientation(displayOrientation);
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dabstract_display.cpp188 void AbstractDisplay::SetDisplayOrientation(DisplayOrientation displayOrientation) in SetDisplayOrientation() argument
190 displayOrientation_ = displayOrientation; in SetDisplayOrientation()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.25/
H A Dchangelogs-window.md62 …(1) When the power button is on the right side of the device, the values of **displayOrientation**…
72 (2) When the power button is on the left side of the device, the values of **displayOrientation** r…
/ohos5.0/foundation/window/window_manager/interfaces/kits/dmndk/dm/
H A Doh_display_manager.h108 NativeDisplayManager_Orientation *displayOrientation);
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dstarting_window.cpp104 AppExecFwk::DisplayOrientation displayOrientation = info->GetOrientation(); in InitializeWindowProperty() local
105 if (ABILITY_TO_WMS_ORIENTATION_MAP.count(displayOrientation) == 0) { in InitializeWindowProperty()
109 Orientation orientation = ABILITY_TO_WMS_ORIENTATION_MAP.at(displayOrientation); in InitializeWindowProperty()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A D_o_h___display_manager.md76 …veDisplayManager_Orientation](#nativedisplaymanager_orientation) \*displayOrientation) | 获取默认屏幕的旋转…
783 …eDisplayManager_GetDefaultDisplayOrientation (NativeDisplayManager_Orientation *displayOrientation)
798 | displayOrientation | 屏幕当前显示的方向,具体可见[NativeDisplayManager_Orientation](#nativedisplaymanager_orien…
H A Doh__display__manager_8h.md38 …ion](_o_h___display_manager.md#nativedisplaymanager_orientation) \*displayOrientation) | 获取默认屏幕的旋转…
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dabstract_display.h68 void SetDisplayOrientation(DisplayOrientation displayOrientation);
/ohos5.0/foundation/window/window_manager/utils/include/
H A Ddisplay_info.h61 DEFINE_VAR_DEFAULT_FUNC_GET_SET(DisplayOrientation, DisplayOrientation, displayOrientation,
/ohos5.0/foundation/window/window_manager/dm/src/
H A Doh_display_manager.cpp160 NativeDisplayManager_Orientation *displayOrientation) in OH_NativeDisplayManager_GetDefaultDisplayOrientation() argument
162 if (displayOrientation == nullptr) { in OH_NativeDisplayManager_GetDefaultDisplayOrientation()
171 …*displayOrientation = static_cast<NativeDisplayManager_Orientation>(displayInfo->GetDisplayOrienta… in OH_NativeDisplayManager_GetDefaultDisplayOrientation()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Doh__display__manager_8h.md38 …ion](_o_h___display_manager.md#nativedisplaymanager_orientation) \*displayOrientation) | Obtains t…
H A D_o_h___display_manager.md76 …veDisplayManager_Orientation](#nativedisplaymanager_orientation) \*displayOrientation) | Obtains t…
783 …eDisplayManager_GetDefaultDisplayOrientation (NativeDisplayManager_Orientation *displayOrientation)
798 | displayOrientation | Pointer to the orientation. For details about the available options, see [Na…
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_impl.cpp1199 OHOS::AppExecFwk::DisplayOrientation displayOrientation = in GetConfigurationFromAbilityInfo() local
1202 if (ABILITY_TO_WMS_ORIENTATION_MAP.count(displayOrientation) == 0) { in GetConfigurationFromAbilityInfo()
1206 Orientation orientation = ABILITY_TO_WMS_ORIENTATION_MAP.at(displayOrientation); in GetConfigurationFromAbilityInfo()