Home
last modified time | relevance | path

Searched refs:displayOrientation (Results 1 - 14 of 14) sorted by relevance

/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()
/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_display_test.cpp195 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 Doh_display_manager.h100 * @param { *displayOrientation } Indicates the pointer to an <b>NativeDisplayManager_Orientation</b> object.
108 NativeDisplayManager_Orientation *displayOrientation);
/foundation/window/window_manager/dmserver/src/
H A Dabstract_display.cpp188 void AbstractDisplay::SetDisplayOrientation(DisplayOrientation displayOrientation) in SetDisplayOrientation() argument
190 displayOrientation_ = displayOrientation; in SetDisplayOrientation()
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp571 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 Dscreen_property.cpp280 void ScreenProperty::SetDisplayOrientation(DisplayOrientation displayOrientation) in SetDisplayOrientation() argument
282 displayOrientation_ = displayOrientation; in SetDisplayOrientation()
/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()
/foundation/window/window_manager/dmserver/include/
H A Dabstract_display.h68 void SetDisplayOrientation(DisplayOrientation displayOrientation);
/foundation/window/window_manager/utils/include/
H A Ddisplay_info.h61 DEFINE_VAR_DEFAULT_FUNC_GET_SET(DisplayOrientation, DisplayOrientation, displayOrientation,
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_property.h107 void SetDisplayOrientation(DisplayOrientation displayOrientation);
H A Dscreen_session.h261 void ReportNotifyModeChange(DisplayOrientation displayOrientation);
/foundation/window/window_manager/dm/src/
H A Doh_display_manager.cpp159 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 Dscreen_session_test.cpp449 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 Dwindow_impl.cpp1166 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()

Completed in 16 milliseconds