Home
last modified time | relevance | path

Searched refs:phyWidth (Results 1 - 25 of 40) sorted by relevance

12

/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_display_test.cpp106 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 Drs_screen_capability.cpp21 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 Drs_screen_info.h39 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 Drs_screen_capability.h34 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 Dscreen_property.cpp157 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 Dhgm_screen.cpp27 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 Dhgm_screen.h39 int32_t phyWidth; member
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_property.h76 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 Dscreen_property_test.cpp99 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 Dabstract_display.cpp79 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 Dabstract_screen.cpp472 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 Dhdi_display_type.h61 uint32_t phyWidth; /**< Physical width */ member
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_composer_adapter_test.cpp77 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 Drs_hardware_thread_test.cpp109 info.phyWidth = width; in CreateComposerAdapterWithScreenInfo()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/
H A Drs_uni_render_composer_adapter_unit_test.cpp77 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 Drs_hardware_thread_unit_test.cpp107 info.phyWidth = width; in CreateComposerAdapterWithScreenInfo()
/foundation/window/window_manager/dmserver/include/
H A Dabstract_display.h97 void CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight);
H A Dabstract_screen.h70 void SetPhyWidth(uint32_t phyWidth);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsscreencapability_fuzzer/
H A Drsscreencapability_fuzzer.cpp138 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 Dhyper_graphic_manager_test.cpp32 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 Ddrawing_sample.cpp213 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 Dhdi_device_impl.cpp147 info.phyWidth = hdiInfo.phyWidth; in GetScreenCapability()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.cpp206 .phyWidth = 1921,
511 capability_.name.c_str(), capability_.phyWidth, capability_.phyHeight, in CapabilityDump()
/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dhello_composer.cpp326 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 Drs_uni_render_composer_adapter.cpp553 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()

Completed in 20 milliseconds

12