/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_property_test.cpp | 98 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 D | screen_session_test.cpp | 490 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 D | changelogs-window.md | 61 (1) 当手机电源键在右侧时,displayOrientation更改前后变化对照表: 70 (2) 当手机电源键在左侧时,displayOrientation值与更改前保持一致。
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | display_info.cpp | 56 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 D | screen_property.cpp | 323 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 D | screen_session.cpp | 560 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 D | screen_property.h | 110 void SetDisplayOrientation(DisplayOrientation displayOrientation); 114 void SetDeviceOrientation(DisplayOrientation displayOrientation);
|
H A D | screen_session.h | 254 void ReportNotifyModeChange(DisplayOrientation displayOrientation);
|
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_display_test.cpp | 191 DisplayOrientation displayOrientation = DisplayOrientation::PORTRAIT; variable 192 absDisplay->SetDisplayOrientation(displayOrientation);
|
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | abstract_display.cpp | 188 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 D | changelogs-window.md | 62 …(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 D | oh_display_manager.h | 108 NativeDisplayManager_Orientation *displayOrientation);
|
/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | starting_window.cpp | 104 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.md | 76 …veDisplayManager_Orientation](#nativedisplaymanager_orientation) \*displayOrientation) | 获取默认屏幕的旋转… 783 …eDisplayManager_GetDefaultDisplayOrientation (NativeDisplayManager_Orientation *displayOrientation) 798 | displayOrientation | 屏幕当前显示的方向,具体可见[NativeDisplayManager_Orientation](#nativedisplaymanager_orien…
|
H A D | oh__display__manager_8h.md | 38 …ion](_o_h___display_manager.md#nativedisplaymanager_orientation) \*displayOrientation) | 获取默认屏幕的旋转…
|
/ohos5.0/foundation/window/window_manager/dmserver/include/ |
H A D | abstract_display.h | 68 void SetDisplayOrientation(DisplayOrientation displayOrientation);
|
/ohos5.0/foundation/window/window_manager/utils/include/ |
H A D | display_info.h | 61 DEFINE_VAR_DEFAULT_FUNC_GET_SET(DisplayOrientation, DisplayOrientation, displayOrientation,
|
/ohos5.0/foundation/window/window_manager/dm/src/ |
H A D | oh_display_manager.cpp | 160 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 D | oh__display__manager_8h.md | 38 …ion](_o_h___display_manager.md#nativedisplaymanager_orientation) \*displayOrientation) | Obtains t…
|
H A D | _o_h___display_manager.md | 76 …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 D | window_impl.cpp | 1199 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()
|