/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_display_test.cpp | 107 uint32_t phyHeight = 0; in HWTEST_F() local 108 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 110 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 111 phyHeight = 1; in HWTEST_F() 112 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 114 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 159 uint32_t phyHeight = 0; in HWTEST_F() local 160 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 172 uint32_t phyHeight = UINT32_MAX; in HWTEST_F() local 173 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/ |
H A D | rs_screen_capability.cpp | 22 uint32_t phyHeight, uint32_t supportLayers, uint32_t virtualDispCount,
in RSScreenCapability() 25 phyHeight_(phyHeight), supportLayers_(supportLayers),
in RSScreenCapability() 45 void RSScreenCapability::SetPhyHeight(uint32_t phyHeight)
in SetPhyHeight() argument 47 phyHeight_ = phyHeight;
in SetPhyHeight() 170 uint32_t phyHeight;
in Unmarshalling() local 185 if (!parcel.ReadUint32(phyHeight)) {
in Unmarshalling() 204 phyWidth, phyHeight, supportLayers, virtualDispCount, supportWriteBack, props);
in Unmarshalling() 21 RSScreenCapability(std::string name, ScreenInterfaceType type, uint32_t phyWidth, uint32_t phyHeight, uint32_t supportLayers, uint32_t virtualDispCount, bool supportWriteBack, const std::vector<RSScreenProps>& props) RSScreenCapability() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/ |
H A D | rs_screen_info.h | 40 uint32_t phyHeight = 0; member 63 : phyHeight; in GetRotatedPhyWidth() 68 return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? phyHeight in GetRotatedPhyHeight() 79 return (height == 0) ? 1.f : static_cast<float>(phyHeight) / height; in GetRogHeightRatio()
|
H A D | rs_screen_capability.h | 35 uint32_t phyHeight, uint32_t supportLayers, uint32_t virtualDispCount,
44 void SetPhyHeight(uint32_t phyHeight);
|
/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_property.cpp | 167 void ScreenProperty::SetPhyHeight(uint32_t phyHeight) in SetPhyHeight() argument 169 phyHeight_ = phyHeight; in SetPhyHeight() 177 void ScreenProperty::SetDpiPhyBounds(uint32_t phyWidth, uint32_t phyHeight) in SetDpiPhyBounds() argument 180 dpiPhyHeight_ = phyHeight; in SetDpiPhyBounds() 330 void ScreenProperty::CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight) in CalculateXYDpi() argument 332 if (phyWidth == 0 || phyHeight == 0) { in CalculateXYDpi() 337 phyHeight_ = phyHeight; in CalculateXYDpi()
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/hgm_screen_manager/ |
H A D | hgm_screen.cpp | 27 phyWidth_(screenSize.phyWidth), phyHeight_(screenSize.phyHeight)
in HgmScreen() 30 auto phyScreenLength = sqrt(pow(screenSize.phyWidth, 2) + pow(screenSize.phyHeight, 2));
in HgmScreen() 37 if (screenSize.phyHeight != 0) {
in HgmScreen() 38 yDpi_ = screenSize.height / (screenSize.phyHeight / INCH_2_MM);
in HgmScreen()
|
H A D | hgm_screen.h | 40 int32_t phyHeight;
member
|
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_property.h | 79 void SetPhyHeight(uint32_t phyHeight); 82 void SetDpiPhyBounds(uint32_t phyWidth, uint32_t phyHeight); 199 void CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight);
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_property_test.cpp | 127 uint32_t phyHeight = 0; in HWTEST_F() local 129 property->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 131 phyHeight = 1; in HWTEST_F() 132 property->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 218 uint32_t phyHeight = 1; in HWTEST_F() local 219 property->SetPhyHeight(phyHeight); in HWTEST_F() 221 ASSERT_EQ(ret, phyHeight); in HWTEST_F()
|
/foundation/window/window_manager/dmserver/src/ |
H A D | abstract_display.cpp | 79 void AbstractDisplay::CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight)
in CalculateXYDpi() argument 81 if (phyWidth == 0 || phyHeight == 0) {
in CalculateXYDpi() 86 phyHeight_ = phyHeight;
in CalculateXYDpi()
|
H A D | abstract_screen.cpp | 477 void AbstractScreen::SetPhyHeight(uint32_t phyHeight)
in SetPhyHeight() argument 479 phyHeight_ = phyHeight;
in SetPhyHeight()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_display_type.h | 62 uint32_t phyHeight; /**< Physical height */ member
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_composer_adapter_test.cpp | 78 info.phyHeight = height; in SetUp() 691 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 711 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT_1K; in HWTEST_F() 904 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 925 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 947 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 965 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 983 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT_1K; in HWTEST_F() 1002 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT_1K; in HWTEST_F() 1020 composerAdapter_->screenInfo_.phyHeight in HWTEST_F() [all...] |
H A D | rs_hardware_thread_test.cpp | 110 info.phyHeight = height; in CreateComposerAdapterWithScreenInfo()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_uni_render_composer_adapter_unit_test.cpp | 78 info.phyHeight = height; in SetUp() 577 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 597 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT_1K; in HWTEST_F() 904 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 925 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 947 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 965 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT; in HWTEST_F() 983 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT_1K; in HWTEST_F() 1002 composerAdapter_->screenInfo_.phyHeight = DEFAULT_CANVAS_HEIGHT_1K; in HWTEST_F() 1020 composerAdapter_->screenInfo_.phyHeight in HWTEST_F() [all...] |
H A D | rs_hardware_thread_unit_test.cpp | 108 info.phyHeight = height; in CreateComposerAdapterWithScreenInfo()
|
/foundation/window/window_manager/dmserver/include/ |
H A D | abstract_display.h | 97 void CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight);
|
H A D | abstract_screen.h | 71 void SetPhyHeight(uint32_t phyHeight);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsscreencapability_fuzzer/ |
H A D | rsscreencapability_fuzzer.cpp | 156 uint32_t phyHeight = GetData<uint32_t>();
in DoSetPhyHeight() local 157 capability.SetPhyHeight(phyHeight);
in DoSetPhyHeight()
|
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hyper_graphic_manager_test.cpp | 33 int32_t phyHeight = 1218;
member 34 ScreenSize screenSize = {width, height, phyWidth, phyHeight};
415 // format<width, height, phyWidth, phyHeight>
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/ |
H A D | drawing_sample.cpp | 214 "phyHeight(%{public}d)", in CreatePhysicalScreen() 215 info.name.c_str(), info.type, info.phyWidth, info.phyHeight); in CreatePhysicalScreen()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_device_impl.cpp | 148 info.phyHeight = hdiInfo.phyHeight; in GetScreenCapability()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.cpp | 207 .phyHeight = 1081,
329 " height: %{public}d, phywidth: %{public}d, phyHeight: %{public}d.",
in SetRogResolution() 511 capability_.name.c_str(), capability_.phyWidth, capability_.phyHeight,
in CapabilityDump()
|
/foundation/graphic/graphic_2d/rosen/samples/composer/ |
H A D | hello_composer.cpp | 327 "phyHeight(%{public}d)", info.name.c_str(), info.type, info.phyWidth, info.phyHeight); in CreatePhysicalScreen()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_render_composer_adapter.cpp | 554 int32_t screenHeight = screenInfo_.phyHeight; in DealWithNodeGravity() 626 int32_t screenHeight = screenInfo_.phyHeight; in DealWithNodeGravity() 985 static_cast<int32_t>(screenInfo_.phyHeight)); in LayerCrop() 1205 int32_t boundHeight = static_cast<int32_t>(screenInfo_.phyHeight); in IsOutOfScreenRegion()
|