Home
last modified time | relevance | path

Searched refs:screenProperty (Results 1 - 15 of 15) sorted by relevance

/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_dumper.cpp463 ScreenProperty screenProperty = ScreenSessionManager::GetInstance().GetScreenProperty(id); in DumpScreenPropertyById() local
465 oss << std::left << std::setw(LINE_WIDTH) << "Rotation: " << screenProperty.GetRotation() << std::endl; in DumpScreenPropertyById()
466 oss << std::left << std::setw(LINE_WIDTH) << "Density: " << screenProperty.GetDensity() << std::endl; in DumpScreenPropertyById()
468 << screenProperty.GetDensityInCurResolution() << std::endl; in DumpScreenPropertyById()
469 oss << std::left << std::setw(LINE_WIDTH) << "PhyWidth: " << screenProperty.GetPhyWidth() << std::endl; in DumpScreenPropertyById()
470 oss << std::left << std::setw(LINE_WIDTH) << "PhyHeight: " << screenProperty.GetPhyHeight() << std::endl; in DumpScreenPropertyById()
471 oss << std::left << std::setw(LINE_WIDTH) << "RefreshRate: " << screenProperty.GetRefreshRate() << std::endl; in DumpScreenPropertyById()
473 << screenProperty.GetVirtualPixelRatio() << std::endl; in DumpScreenPropertyById()
475 << static_cast<int32_t>(screenProperty.GetRotation()) << std::endl; in DumpScreenPropertyById()
477 << static_cast<int32_t>(screenProperty in DumpScreenPropertyById()
[all...]
H A Dscreen_cutout_controller.cpp58 ScreenProperty screenProperty = ScreenSessionManager::GetInstance().GetScreenProperty(displayInfo->GetScreenId()); in ConvertBoundaryRectsByRotation() local
61 screenProperty.GetBounds().rect_.GetWidth(), screenProperty.GetBounds().rect_.GetHeight(), in ConvertBoundaryRectsByRotation()
62 screenProperty.GetScreenRotation()); in ConvertBoundaryRectsByRotation()
63 Rotation currentRotation = screenProperty.GetScreenRotation(); in ConvertBoundaryRectsByRotation()
71 CheckBoundaryRects(displayBoundaryRects, screenProperty); in ConvertBoundaryRectsByRotation()
77 uint32_t screenWidth = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetWidth()); in ConvertBoundaryRectsByRotation()
78 uint32_t screenHeight = static_cast<uint32_t>(screenProperty.GetBounds().rect_.GetHeight()); in ConvertBoundaryRectsByRotation()
134 void ScreenCutoutController::CheckBoundaryRects(std::vector<DMRect>& boundaryRects, ScreenProperty screenProperty) in CheckBoundaryRects() argument
136 uint32_t screenWidth = static_cast<uint32_t>(screenProperty in CheckBoundaryRects()
251 CalculateCurvedCompression(const ScreenProperty& screenProperty) CalculateCurvedCompression() argument
[all...]
H A Dscreen_session_manager.cpp671 const ScreenProperty& screenProperty = screenSession->GetScreenProperty(); in IsScreenRestored() local
673 int32_t currentWidth = screenProperty.GetBounds().rect_.GetWidth(); in IsScreenRestored()
674 int32_t currentHeight = screenProperty.GetBounds().rect_.GetHeight(); in IsScreenRestored()
4743 const ScreenProperty& screenProperty = session->GetScreenProperty(); in CalcDisplayNodeTranslateOnFoldableRotation() local
4744 auto screenWidth = screenProperty.GetBounds().rect_.GetWidth(); in CalcDisplayNodeTranslateOnFoldableRotation()
4745 auto screenHeight = screenProperty.GetBounds().rect_.GetHeight(); in CalcDisplayNodeTranslateOnFoldableRotation()
4792 const ScreenProperty& screenProperty = session->GetScreenProperty(); in CalcDisplayNodeTranslateOnRotation() local
4793 auto screenWidth = screenProperty.GetBounds().rect_.GetWidth(); in CalcDisplayNodeTranslateOnRotation()
4794 auto screenHeight = screenProperty.GetBounds().rect_.GetHeight(); in CalcDisplayNodeTranslateOnRotation()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_input_manager.cpp193 auto& screenProperty = iter.second; in ConstructDisplayInfos() local
201 displayRotation = ConvertDegreeToMMIRotation(screenProperty.GetRotation(), in ConstructDisplayInfos()
204 auto screenWidth = screenProperty.GetBounds().rect_.GetWidth(); in ConstructDisplayInfos()
205 auto screenHeight = screenProperty.GetBounds().rect_.GetHeight(); in ConstructDisplayInfos()
207 Vector2f scale(screenProperty.GetScaleX(), screenProperty.GetScaleY()); in ConstructDisplayInfos()
208 transform = transform.Scale(scale, screenProperty.GetPivotX() * screenWidth, in ConstructDisplayInfos()
209 screenProperty.GetPivotY() * screenHeight); in ConstructDisplayInfos()
214 .x = screenProperty.GetStartX(), in ConstructDisplayInfos()
215 .y = screenProperty in ConstructDisplayInfos()
[all...]
H A Dscene_session_dirty_manager.cpp167 auto screenProperty = screensProperties[displayId]; in CalNotRotateTransform() local
168 MMI::Direction displayRotation = ConvertDegreeToMMIRotation(screenProperty.GetRotation(), in CalNotRotateTransform()
170 float width = screenProperty.GetBounds().rect_.GetWidth(); in CalNotRotateTransform()
171 float height = screenProperty.GetBounds().rect_.GetHeight(); in CalNotRotateTransform()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dmove_drag_controller.cpp186 ScreenProperty screenProperty = screenSession->GetScreenProperty(); in GetTargetRect() local
187 int32_t currentDisplayOffsetX = screenProperty.GetStartX(); in GetTargetRect()
188 int32_t currentDisplayOffsetY = screenProperty.GetStartY(); in GetTargetRect()
218 ScreenProperty screenProperty = screenSession->GetScreenProperty(); in InitCrossDisplayProperty() local
219 originalDisplayOffsetX_ = screenProperty.GetStartX(); in InitCrossDisplayProperty()
220 originalDisplayOffsetY_ = screenProperty.GetStartY(); in InitCrossDisplayProperty()
519 ScreenProperty screenProperty = screenSession->GetScreenProperty(); in GetScreenRectById() local
521 screenProperty.GetStartX(), in GetScreenRectById()
522 screenProperty.GetStartY(), in GetScreenRectById()
523 screenProperty in GetScreenRectById()
540 ScreenProperty screenProperty = screenSession->GetScreenProperty(); CalcUnifiedTranslate() local
[all...]
H A Dsession.cpp2627 auto screenProperty = screensProperties[displayId]; in RectCheckProcess() local
2628 float density = screenProperty.GetDensity(); in RectCheckProcess()
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_cutout_controller.h36 RectF CalculateCurvedCompression(const ScreenProperty& screenProperty);
44 void CheckBoundaryRects(std::vector<DMRect>& boundaryRects, ScreenProperty screenProperty);
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_cutout_controller_test.cpp210 ScreenProperty screenProperty; in HWTEST_F() local
212 screenProperty.SetBounds(screenBounds); in HWTEST_F()
214 controller->CheckBoundaryRects(boundaryRects, screenProperty); in HWTEST_F()
303 ScreenProperty screenProperty; in HWTEST_F() local
304 RectF result = controller->CalculateCurvedCompression(screenProperty); in HWTEST_F()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
H A Djs_screen_utils.cpp50 napi_value JsScreenUtils::CreateJsScreenProperty(napi_env env, const ScreenProperty& screenProperty) in CreateJsScreenProperty() argument
60 CreateJsValue(env, screenProperty.GetPropertyChangeReason())); in CreateJsScreenProperty()
61 napi_set_named_property(env, objValue, "rotation", CreateJsValue(env, screenProperty.GetRotation())); in CreateJsScreenProperty()
62 napi_set_named_property(env, objValue, "bounds", CreateJsRRect(env, screenProperty.GetBounds())); in CreateJsScreenProperty()
H A Djs_screen_utils.h32 static napi_value CreateJsScreenProperty(napi_env env, const ScreenProperty& screenProperty);
H A Djs_screen_session_manager.cpp515 ScreenProperty screenProperty = ScreenSessionManagerClient::GetInstance().GetPhyScreenProperty(screenId); in OnGetPhyScreenProperty() local
516 return JsScreenUtils::CreateJsScreenProperty(env, screenProperty); in OnGetPhyScreenProperty()
/foundation/window/window_manager/window_scene/screen_session_manager_client/src/
H A Dscreen_session_manager_client.cpp457 ScreenProperty screenProperty = screenSession->GetScreenProperty(); in SwitchUserCallback() local
458 RRect bounds = screenProperty.GetBounds(); in SwitchUserCallback()
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_proxy.cpp2417 ScreenProperty screenProperty; in GetScreenProperty() local
2418 if (!RSMarshallingHelper::Unmarshalling(reply, screenProperty)) { in GetScreenProperty()
2419 WLOGFE("Read screenProperty failed"); in GetScreenProperty()
2422 return screenProperty; in GetScreenProperty()
2545 ScreenProperty screenProperty; in GetPhyScreenProperty() local
2546 if (!RSMarshallingHelper::Unmarshalling(reply, screenProperty)) { in GetPhyScreenProperty()
2547 WLOGFE("Read screenProperty failed"); in GetPhyScreenProperty()
2550 return screenProperty; in GetPhyScreenProperty()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_test3.cpp1092 ScreenProperty screenProperty = screenSession->GetScreenProperty(); in HWTEST_F() local
1093 ASSERT_NE(&screenProperty, nullptr); in HWTEST_F()

Completed in 40 milliseconds