/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_display_test.cpp | 102 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 D | rs_screen_capability.cpp | 20 …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 D | rs_screen_info.h | 39 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 D | rs_screen_capability.h | 34 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 D | screen_property.cpp | 167 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.md | 22 | 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 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
|
/ohos5.0/foundation/window/window_manager/window_scene/session/screen/include/ |
H A D | screen_property.h | 75 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 D | screen_property_test.cpp | 163 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 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_composer_adapter_test.cpp | 80 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 D | hdi_display_type.h | 61 uint32_t phyWidth; /**< Physical width */ member
|
/ohos5.0/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()
|
/ohos5.0/base/tee/tee_client/services/cadaemon/src/tui_daemon/ |
H A D | tui_event.h | 38 uint32_t phyWidth; /* real width of the mobile : px */ member
|
H A D | tui_event.cpp | 203 mTUIPanelInfo.phyWidth = mTUIPanelInfo.width * INCH_CM_FACTOR / displayInfo->GetXDpi(); in TUIGetPannelInfo()
|
/ohos5.0/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);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_frame_rate_manager_test.cpp | 32 int32_t phyWidth = 685; variable 34 ScreenSize screenSize = {width, height, phyWidth, phyHeight};
|
H A D | hyper_graphic_manager_test.cpp | 32 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 D | fb_display.cpp | 70 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 D | display_composer_type.cpp.txt | 124 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 D | hdi_test_display.cpp | 36 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 D | drm_connector.cpp | 128 cap.phyWidth = mPhyWidth; in GetDisplayCap()
|