Home
last modified time | relevance | path

Searched refs:phyWidth (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_display_test.cpp102 uint32_t phyWidth = 0; variable
104 absDisplay->CalculateXYDpi(phyWidth, phyHeight);
105 phyWidth = 1;
106 absDisplay->CalculateXYDpi(phyWidth, phyHeight);
108 absDisplay->CalculateXYDpi(phyWidth, phyHeight);
109 phyWidth = 0;
110 absDisplay->CalculateXYDpi(phyWidth, phyHeight);
154 uint32_t phyWidth = UINT32_MAX; variable
156 absDisplay->CalculateXYDpi(phyWidth, phyHeight);
167 uint32_t phyWidth = UINT32_MAX; variable
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/
H A Drs_screen_capability.cpp20 …ScreenCapability::RSScreenCapability(std::string name, ScreenInterfaceType type, uint32_t phyWidth, in RSScreenCapability() argument
23 : name_(name), type_(type), phyWidth_(phyWidth), in RSScreenCapability()
39 void RSScreenCapability::SetPhyWidth(uint32_t phyWidth) in SetPhyWidth() argument
41 phyWidth_ = phyWidth; in SetPhyWidth()
168 uint32_t phyWidth; in Unmarshalling() local
181 if (!parcel.ReadUint32(phyWidth)) { in Unmarshalling()
203 phyWidth, phyHeight, supportLayers, virtualDispCount, supportWriteBack, props); in Unmarshalling()
/ohos5.0/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
66 rotation == ScreenRotation::ROTATION_180) ? phyWidth : phyHeight; in GetRotatedPhyWidth()
72 rotation == ScreenRotation::ROTATION_180) ? phyHeight : phyWidth; in GetRotatedPhyHeight()
77 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);
/ohos5.0/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_property.cpp167 void ScreenProperty::SetPhyWidth(uint32_t phyWidth) in SetPhyWidth() argument
169 phyWidth_ = phyWidth; in SetPhyWidth()
187 void ScreenProperty::SetDpiPhyBounds(uint32_t phyWidth, uint32_t phyHeight) in SetDpiPhyBounds() argument
189 dpiPhyWidth_ = phyWidth; in SetDpiPhyBounds()
385 void ScreenProperty::CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight) in CalculateXYDpi() argument
387 if (phyWidth == 0 || phyHeight == 0) { in CalculateXYDpi()
391 phyWidth_ = phyWidth; in CalculateXYDpi()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/display/
H A D_display_capability_v10.md22 | unsigned int [phyWidth](#phywidth) | 物理宽度 |
54 ### phyWidth subsection
57 unsigned int DisplayCapability::phyWidth
/ohos5.0/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
/ohos5.0/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_property.h75 void SetPhyWidth(uint32_t phyWidth);
81 void SetDpiPhyBounds(uint32_t phyWidth, uint32_t phyHeight);
200 void CalculateXYDpi(uint32_t phyWidth, uint32_t phyHeight);
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_property_test.cpp163 uint32_t phyWidth = UINT32_MAX; variable
164 property->SetPhyWidth(phyWidth);
190 uint32_t phyWidth = 0; variable
193 property->CalculateXYDpi(phyWidth, phyHeight);
194 phyWidth = 1;
196 property->CalculateXYDpi(phyWidth, phyHeight);
/ohos5.0/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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_composer_adapter_test.cpp80 info.phyWidth = width; in SetUp()
693 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH;
713 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K;
906 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH;
927 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K;
949 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH;
967 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH;
985 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K;
1004 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K;
1022 composerAdapter_->screenInfo_.phyWidth = DEFAULT_CANVAS_WIDTH_1K;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_display_type.h61 uint32_t phyWidth; /**< Physical width */ member
/ohos5.0/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()
/ohos5.0/base/tee/tee_client/services/cadaemon/src/tui_daemon/
H A Dtui_event.h38 uint32_t phyWidth; /* real width of the mobile : px */ member
H A Dtui_event.cpp203 mTUIPanelInfo.phyWidth = mTUIPanelInfo.width * INCH_CM_FACTOR / displayInfo->GetXDpi(); in TUIGetPannelInfo()
/ohos5.0/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);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_frame_rate_manager_test.cpp32 int32_t phyWidth = 685; variable
34 ScreenSize screenSize = {width, height, phyWidth, phyHeight};
H A Dhyper_graphic_manager_test.cpp32 int32_t phyWidth = 685; variable
34 ScreenSize screenSize = {width, height, phyWidth, phyHeight};
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/
H A Dfb_display.cpp70 displayCapability_.phyWidth = varInfo.xres; in Init()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/display_composer_v1_0/cpp_target/display/composer/v1_0/
H A Ddisplay_composer_type.cpp.txt124 if (!data.WriteUint32(dataBlock.phyWidth)) {
125 HDF_LOGE("%{public}s: write dataBlock.phyWidth failed!", __func__);
185 if (!data.ReadUint32(dataBlock.phyWidth)) {
186 HDF_LOGE("%{public}s: read dataBlock.phyWidth failed!", __func__);
/ohos5.0/drivers/peripheral/display/composer/test/common/
H A Dhdi_test_display.cpp36 cap_.name.c_str(), cap_.type, cap_.phyWidth, cap_.phyHeight); in Init()
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_device/drm/
H A Ddrm_connector.cpp128 cap.phyWidth = mPhyWidth; in GetDisplayCap()

12