/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_display_test.cpp | 106 uint32_t phyWidth = 0; in HWTEST_F() local 108 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 109 phyWidth = 1; in HWTEST_F() 110 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 112 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 113 phyWidth = 0; in HWTEST_F() 114 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 158 uint32_t phyWidth = UINT32_MAX; in HWTEST_F() local 160 absDisplay->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 171 uint32_t phyWidth in HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/ |
H A D | rs_screen_capability.cpp | 21 RSScreenCapability::RSScreenCapability(std::string name, ScreenInterfaceType type, uint32_t phyWidth,
in RSScreenCapability() argument 24 : name_(name), type_(type), phyWidth_(phyWidth),
in RSScreenCapability() 40 void RSScreenCapability::SetPhyWidth(uint32_t phyWidth)
in SetPhyWidth() argument 42 phyWidth_ = phyWidth;
in SetPhyWidth() 169 uint32_t phyWidth;
in Unmarshalling() local 182 if (!parcel.ReadUint32(phyWidth)) {
in Unmarshalling() 204 phyWidth, phyHeight, supportLayers, virtualDispCount, supportWriteBack, props);
in Unmarshalling()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/ |
H A D | rs_screen_info.h | 39 uint32_t phyWidth = 0; // physical screen resolution member 62 return (rotation == ScreenRotation::ROTATION_0 || rotation == ScreenRotation::ROTATION_180) ? phyWidth in GetRotatedPhyWidth() 69 : phyWidth; in GetRotatedPhyHeight() 74 return (width == 0) ? 1.f : static_cast<float>(phyWidth) / width; in GetRogWidthRatio()
|
H A D | rs_screen_capability.h | 34 RSScreenCapability(std::string name, ScreenInterfaceType type, uint32_t phyWidth,
43 void SetPhyWidth(uint32_t phyWidth);
|
/foundation/window/window_manager/window_scene/session/screen/src/ |
H A D | screen_property.cpp | 157 void ScreenProperty::SetPhyWidth(uint32_t phyWidth) in SetPhyWidth() argument 159 phyWidth_ = phyWidth; in SetPhyWidth() 177 void ScreenProperty::SetDpiPhyBounds(uint32_t phyWidth, uint32_t phyHeight) in SetDpiPhyBounds() argument 179 dpiPhyWidth_ = phyWidth; in SetDpiPhyBounds() 330 void ScreenProperty::CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight) in CalculateXYDpi() argument 332 if (phyWidth == 0 || phyHeight == 0) { in CalculateXYDpi() 336 phyWidth_ = phyWidth; 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() 34 if (screenSize.phyWidth != 0) {
in HgmScreen() 35 xDpi_ = screenSize.width / (screenSize.phyWidth / INCH_2_MM);
in HgmScreen()
|
H A D | hgm_screen.h | 39 int32_t phyWidth;
member
|
/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_property.h | 76 void SetPhyWidth(uint32_t phyWidth); 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 | 99 uint32_t phyWidth = UINT32_MAX; in HWTEST_F() local 100 property->SetPhyWidth(phyWidth); in HWTEST_F() 126 uint32_t phyWidth = 0; in HWTEST_F() local 129 property->CalculateXYDpi(phyWidth, phyHeight); in HWTEST_F() 130 phyWidth = 1; in HWTEST_F() 132 property->CalculateXYDpi(phyWidth, 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() 85 phyWidth_ = phyWidth;
in CalculateXYDpi()
|
H A D | abstract_screen.cpp | 472 void AbstractScreen::SetPhyWidth(uint32_t phyWidth)
in SetPhyWidth() argument 474 phyWidth_ = phyWidth;
in SetPhyWidth()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_display_type.h | 61 uint32_t phyWidth; /**< Physical width */ member
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_composer_adapter_test.cpp | 77 info.phyWidth = width; in SetUp() 690 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 710 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 903 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 924 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 946 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 964 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 982 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 1001 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 1019 composerAdapter_->screenInfo_.phyWidth in HWTEST_F() [all...] |
H A D | rs_hardware_thread_test.cpp | 109 info.phyWidth = width; in CreateComposerAdapterWithScreenInfo()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_uni_render_composer_adapter_unit_test.cpp | 77 info.phyWidth = width; in SetUp() 576 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 596 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 903 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 924 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 946 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 964 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH; in HWTEST_F() 982 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 1001 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K; in HWTEST_F() 1019 composerAdapter_->screenInfo_.phyWidth in HWTEST_F() [all...] |
H A D | rs_hardware_thread_unit_test.cpp | 107 info.phyWidth = width; 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 | 70 void SetPhyWidth(uint32_t phyWidth);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsscreencapability_fuzzer/ |
H A D | rsscreencapability_fuzzer.cpp | 138 uint32_t phyWidth = GetData<uint32_t>();
in DoSetPhyWidth() local 139 capability.SetPhyWidth(phyWidth);
in DoSetPhyWidth()
|
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hyper_graphic_manager_test.cpp | 32 int32_t phyWidth = 685;
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 | 213 LOGI("ScreenCapability: name(%{public}s), type(%{public}d), phyWidth(%{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 | 147 info.phyWidth = hdiInfo.phyWidth; in GetScreenCapability()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.cpp | 206 .phyWidth = 1921,
511 capability_.name.c_str(), capability_.phyWidth, capability_.phyHeight,
in CapabilityDump()
|
/foundation/graphic/graphic_2d/rosen/samples/composer/ |
H A D | hello_composer.cpp | 326 LOGI("ScreenCapability: name(%{public}s), type(%{public}d), phyWidth(%{public}d), " in CreatePhysicalScreen() 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 | 553 int32_t screenWidth = screenInfo_.phyWidth; in DealWithNodeGravity() 625 int32_t screenWidth = screenInfo_.phyWidth; in DealWithNodeGravity() 984 RectI screenRectI(0, 0, static_cast<int32_t>(screenInfo_.phyWidth), in LayerCrop() 1204 int32_t boundWidth = static_cast<int32_t>(screenInfo_.phyWidth); in IsOutOfScreenRegion()
|