/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()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_display_test.cpp | 195 DisplayOrientation displayOrientation = DisplayOrientation::PORTRAIT; in HWTEST_F() local 196 absDisplay->SetDisplayOrientation(displayOrientation); in HWTEST_F()
|
/foundation/window/window_manager/interfaces/kits/dmndk/dm/ |
H A D | oh_display_manager.h | 100 * @param { *displayOrientation } Indicates the pointer to an <b>NativeDisplayManager_Orientation</b> object. 108 NativeDisplayManager_Orientation *displayOrientation);
|
/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()
|
/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_session.cpp | 571 DisplayOrientation displayOrientation = CalcDisplayOrientation(targetRotation, foldDisplayMode); in UpdateToInputManager() local 575 property_.SetDisplayOrientation(displayOrientation); in UpdateToInputManager() 606 DisplayOrientation displayOrientation = CalcDisplayOrientation(targetRotation, foldDisplayMode); in UpdatePropertyAfterRotation() local 610 property_.SetDisplayOrientation(displayOrientation); in UpdatePropertyAfterRotation() 614 WLOGFI("update failed since null display node with rotation:%{public}d displayOrientation:%{public}u", in UpdatePropertyAfterRotation() 615 rotation, displayOrientation); in UpdatePropertyAfterRotation() 633 WLOGFI("bounds:[%{public}f %{public}f %{public}f %{public}f],rotation:%{public}d,displayOrientation:%{public}u", in UpdatePropertyAfterRotation() 636 rotation, displayOrientation); in UpdatePropertyAfterRotation() 637 ReportNotifyModeChange(displayOrientation); in UpdatePropertyAfterRotation() 643 DisplayOrientation displayOrientation in UpdatePropertyOnly() local 654 ReportNotifyModeChange(DisplayOrientation displayOrientation) ReportNotifyModeChange() argument [all...] |
H A D | screen_property.cpp | 280 void ScreenProperty::SetDisplayOrientation(DisplayOrientation displayOrientation) in SetDisplayOrientation() argument 282 displayOrientation_ = displayOrientation; in SetDisplayOrientation()
|
/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()
|
/foundation/window/window_manager/dmserver/include/ |
H A D | abstract_display.h | 68 void SetDisplayOrientation(DisplayOrientation displayOrientation);
|
/foundation/window/window_manager/utils/include/ |
H A D | display_info.h | 61 DEFINE_VAR_DEFAULT_FUNC_GET_SET(DisplayOrientation, DisplayOrientation, displayOrientation,
|
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_property.h | 107 void SetDisplayOrientation(DisplayOrientation displayOrientation);
|
H A D | screen_session.h | 261 void ReportNotifyModeChange(DisplayOrientation displayOrientation);
|
/foundation/window/window_manager/dm/src/ |
H A D | oh_display_manager.cpp | 159 NativeDisplayManager_Orientation *displayOrientation) in OH_NativeDisplayManager_GetDefaultDisplayOrientation() 161 if (displayOrientation == nullptr) { in OH_NativeDisplayManager_GetDefaultDisplayOrientation() 162 TLOGE(WmsLogTag::DMS, "[DMNDK] input displayOrientation null."); in OH_NativeDisplayManager_GetDefaultDisplayOrientation() 170 *displayOrientation = static_cast<NativeDisplayManager_Orientation>(displayInfo->GetDisplayOrientation()); in OH_NativeDisplayManager_GetDefaultDisplayOrientation() 158 OH_NativeDisplayManager_GetDefaultDisplayOrientation( NativeDisplayManager_Orientation *displayOrientation) OH_NativeDisplayManager_GetDefaultDisplayOrientation() argument
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_test.cpp | 449 DisplayOrientation displayOrientation = DisplayOrientation::LANDSCAPE; in HWTEST_F() local 450 screenSession->ReportNotifyModeChange(displayOrientation); in HWTEST_F() 451 displayOrientation = DisplayOrientation::PORTRAIT; in HWTEST_F() 452 screenSession->ReportNotifyModeChange(displayOrientation); in HWTEST_F() 453 displayOrientation = DisplayOrientation::PORTRAIT_INVERTED; in HWTEST_F() 454 screenSession->ReportNotifyModeChange(displayOrientation); in HWTEST_F()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_impl.cpp | 1166 OHOS::AppExecFwk::DisplayOrientation displayOrientation = in GetConfigurationFromAbilityInfo() local 1169 if (ABILITY_TO_WMS_ORIENTATION_MAP.count(displayOrientation) == 0) { in GetConfigurationFromAbilityInfo() 1173 Orientation orientation = ABILITY_TO_WMS_ORIENTATION_MAP.at(displayOrientation); in GetConfigurationFromAbilityInfo()
|