Home
last modified time | relevance | path

Searched refs:GetWidth (Results 1 – 25 of 43) sorted by relevance

12

/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_page_size_test.cpp63 EXPECT_EQ((uint32_t)0, pageSize.GetWidth());
115 EXPECT_EQ((uint32_t)6, printpageSize.GetWidth());
173 EXPECT_EQ((uint32_t)6, printpageSize.GetWidth());
187 EXPECT_EQ(copyPageSize.GetWidth(), printpageSize.GetWidth());
201 EXPECT_EQ(copyPageSize.GetWidth(), printpageSize.GetWidth());
/base/msdp/device_status/rust/subsystem/binding/multimedia/src/
Dfusion_image_framework.cpp81 …if (sPixelMap->GetWidth() > MAX_PIXEL_MAP_WIDTH || sPixelMap->GetHeight() > MAX_PIXEL_MAP_HEIGHT) { in CPixelMapDeserialize()
83 sPixelMap->GetWidth(), sPixelMap->GetHeight()); in CPixelMapDeserialize()
/base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getwidth_fuzzer/
Dgetwidth_fuzzer.cpp34 display.GetWidth(); in DoSomethingInterestingWithMyAPI()
/base/update/updater/services/ui/view/component/
Dbox_progress_adapter.cpp103 static_cast<int16_t>(GetX() - ep_->GetWidth() / halfDivisor + GetWidth() * rate), in GetPosOfEp()
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_page_size.cpp110 uint32_t PrintPageSize::GetWidth() const in GetWidth() function in OHOS::Print::PrintPageSize
132 parcel.WriteUint32(GetWidth()); in Marshalling()
/base/web/webview/ohos_adapter/graphic_adapter/src/
Dsurface_adapter_impl.cpp52 int32_t SurfaceBufferAdapterImpl::GetWidth() const in GetWidth() function in OHOS::NWeb::SurfaceBufferAdapterImpl
58 return buffer_->GetWidth(); in GetWidth()
/base/web/webview/ohos_adapter/interfaces/
Ddisplay_manager_adapter.h64 virtual int32_t GetWidth() = 0;
Dgraphic_adapter.h53 virtual int32_t GetWidth() const = 0;
Dcamera_manager_adapter.h140 virtual int32_t GetWidth() const = 0;
/base/web/webview/ohos_adapter/display_manager_adapter/src/
Ddisplay_manager_adapter_impl.cpp98 int32_t DisplayAdapterImpl::GetWidth() in GetWidth() function in OHOS::NWeb::DisplayAdapterImpl
101 return display_->GetWidth(); in GetWidth()
/base/web/webview/test/unittest/ohos_adapter/graphic_adapter_test/
Dsurface_adapter_impl_test.cpp119 EXPECT_EQ(bufferAdapter->GetWidth(), -1);
154 EXPECT_GE(bufferAdapter->GetWidth(), 0);
/base/msdp/device_status/services/interaction/drag/src/
Ddrag_drawing.cpp280 g_drawingInfo.rootNodeWidth = g_drawingInfo.pixelMap->GetWidth() + adjustSize; in UpdateShadowPic()
759 …pixelMapNode->SetBounds(0, adjustSize, g_drawingInfo.pixelMap->GetWidth(), g_drawingInfo.pixelMap-… in InitCanvas()
760 …pixelMapNode->SetFrame(0, adjustSize, g_drawingInfo.pixelMap->GetWidth(), g_drawingInfo.pixelMap->… in InitCanvas()
1100 if ((g_drawingInfo.pixelMap->GetWidth() + adjustSize) > stylePixelMap_->GetWidth()) { in Draw()
1101 … svgTouchPositionX = g_drawingInfo.pixelMap->GetWidth() + adjustSize - stylePixelMap_->GetWidth(); in Draw()
1109 …SetBounds(svgTouchPositionX, (TWELVE_SIZE - EIGHT_SIZE) * scalingValue, stylePixelMap_->GetWidth(), in Draw()
1111 …>SetFrame(svgTouchPositionX, (TWELVE_SIZE - EIGHT_SIZE) * scalingValue, stylePixelMap_->GetWidth(), in Draw()
1113 dragStyleNode->SetBgImageWidth(stylePixelMap_->GetWidth()); in Draw()
1122 g_drawingInfo.rootNodeWidth = g_drawingInfo.pixelMap->GetWidth() + adjustSize; in Draw()
1140 int32_t pixelMapWidth = g_drawingInfo.pixelMap->GetWidth(); in Draw()
[all …]
Ddrag_data_manager.cpp109 width = pixelMap->GetWidth(); in GetShadowOffset()
/base/web/webview/ohos_adapter/graphic_adapter/include/
Dsurface_adapter_impl.h32 int32_t GetWidth() const override;
/base/msdp/device_status/frameworks/native/interaction/src/
Ddrag_manager_impl.cpp45 (dragData.shadowInfo.x < -dragData.shadowInfo.pixelMap->GetWidth()) || in StartDrag()
184 (shadowInfo.x < -shadowInfo.pixelMap->GetWidth()) || in UpdateShadowPic()
/base/web/webview/ohos_adapter/display_manager_adapter/include/
Ddisplay_manager_adapter_impl.h46 int32_t GetWidth() override;
/base/update/updater/services/ui/
Dupdater_ui_env.cpp92 …RootView::GetInstance()->Resize(Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight(… in InitRootView()
Dupdater_ui_config.cpp88 … if (screenW != Screen::GetInstance().GetWidth() || screenH != Screen::GetInstance().GetHeight()) { in SelectConfig()
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_component_unittest.cpp48 EXPECT_EQ(view.GetWidth(), common.w); in CheckCommInfo()
192 epView.GetWidth() / halfDivisor + boxProgress.GetWidth() * rate));
210 EXPECT_EQ(imgView.GetWidth(), commonInfo.w);
/base/web/webview/ohos_nweb/include/
Dnweb_context_menu_params.h116 virtual int32_t GetWidth() = 0;
/base/print/print_fwk/frameworks/helper/src/
Dprint_page_size_helper.cpp33 NapiPrintUtils::SetUint32Property(env, jsObj, PARAM_PAGESIZE_WIDTH, pageSize.GetWidth()); in MakeJsObject()
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Dprint_page_size.h167 [[nodiscard]] uint32_t GetWidth() const;
/base/web/webview/test/unittest/display_manager_adapter_impl_test/
Ddisplay_manager_adapter_impl_test.cpp95 EXPECT_EQ(displayAdapterImpl->GetWidth(), -1);
243 EXPECT_NE(displayAdapterImpl->GetWidth(), -1);
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_panel.cpp126 if (static_cast<int32_t>(width) > defaultDisplay->GetWidth() || in Resize()
130 defaultDisplay->GetWidth(), defaultDisplay->GetHeight(), width, height); in Resize()
/base/powermgr/battery_manager/charger/src/
Dcharger_animation.cpp89 OHOS::Screen::GetInstance().GetWidth(), OHOS::Screen::GetInstance().GetHeight()); in InitRootView()

12