/foundation/window/window_manager/window_scene/screen_session_manager/src/ |
H A D | screen_session_dumper.cpp | 463 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 D | screen_cutout_controller.cpp | 58 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 D | screen_session_manager.cpp | 671 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 D | scene_input_manager.cpp | 193 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 D | scene_session_dirty_manager.cpp | 167 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 D | move_drag_controller.cpp | 186 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 D | session.cpp | 2627 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 D | screen_cutout_controller.h | 36 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 D | screen_cutout_controller_test.cpp | 210 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 D | js_screen_utils.cpp | 50 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 D | js_screen_utils.h | 32 static napi_value CreateJsScreenProperty(napi_env env, const ScreenProperty& screenProperty);
|
H A D | js_screen_session_manager.cpp | 515 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 D | screen_session_manager_client.cpp | 457 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 D | screen_session_manager_proxy.cpp | 2417 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 D | session_test3.cpp | 1092 ScreenProperty screenProperty = screenSession->GetScreenProperty(); in HWTEST_F() local 1093 ASSERT_NE(&screenProperty, nullptr); in HWTEST_F()
|