Home
last modified time | relevance | path

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

/test/xts/dcts/distributedhardware/distributedscreentest/
Dtest.cpp71 if (!screen->IsReal() && screen->GetWidth() > 0) { in QueryRemoteScreenInfo()
84 DHLOGE("width: : %d", screen->GetWidth()); in QueryRemoteScreenInfo()
200 …on> options = {{defaultDisplay->GetScreenId(), 0, 0}, {g_screenId, defaultDisplay->GetWidth(), 0}}; in StartExpand()
/test/testfwk/arkxtest/uitest/core/
Drect_algorithm.cpp139 if (width * height <= out.GetWidth() * out.GetHeight()) { in FindMaxVisibleRegion()
189 return out.GetHeight() > 0 && out.GetWidth() > 0; in ComputeMaxVisibleRegion()
Dselect_strategy.cpp69 … if (widget.IsVisible() && (visibleInParent.GetHeight() == 0 || visibleInParent.GetWidth() == 0)) { in CalcWidgetVisibleBounds()
139 if ((oriBounds.GetHeight() == 0 || oriBounds.GetWidth() == 0) && in RefreshWidgetBounds()
149 if (widgetVisibleBounds.GetHeight() <= 0 && widgetVisibleBounds.GetWidth() <= 0) { in RefreshWidgetBounds()
156 if (widgetVisibleBounds.GetHeight() <= 0 || widgetVisibleBounds.GetWidth() <= 0) { in RefreshWidgetBounds()
Dwidget_operator.cpp167 float_t widthScale = (float_t)(rootBound.GetWidth()) / (float_t)(rectBound.GetWidth()); in PinchWidget()
Dui_model.h133 FORCE_INLINE int32_t GetWidth() const in GetWidth() function
Dfrontend_api_handler.cpp1298 … (((direction == D_UP) || (direction == D_DOWN)) && width != window.bounds_.GetWidth())) { in RegisterUiWindowOperators()
/test/testfwk/arkxtest/uitest/test/
Dui_model_test.cpp35 ASSERT_EQ(rect.GetWidth(), 200 - 100); in TEST()
Drect_algorithm_test.cpp174 ASSERT_EQ(expectedRegion.GetHeight() > 0 && expectedRegion.GetWidth() > 0, visible); in TEST()
Dmock_element_node_iterator.h267 … nodeOriginRect.GetHeight() > 0 && nodeOriginRect.GetWidth() > 0 ? "true" : "false"); in WrapperNodeAttrToVec()
/test/testfwk/arkxtest/uitest/addon/
Dscreen_copy.cpp236 auto origWidth = newestFrame_->GetWidth(); in ScaleNewsetFrameLocked()
268 AdaptJpegSize(jpeg, scaledPixels->GetWidth(), scaledPixels->GetHeight()); in WaitAndConsumeFrames()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp564 if (rect.GetWidth() == 0) { in TakeScreenCap()
594 auto width = static_cast<uint32_t>(pixelMap->GetWidth()); in TakeScreenCap()
766 auto width = display->GetWidth(); in GetDisplaySize()
/test/ostest/wukong/common/src/
Dwukong_util.cpp53 auto width = static_cast<uint32_t>(pixelMap->GetWidth()); in TakeWuKongScreenCap()
409 screenWidth_ = display->GetWidth(); in GetScreenSize()
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/
Dbuffer_manager_utest.cpp173 EXPECT_EQ(true, buffer->GetWidth() == 2);
/test/xts/acts/multimedia_lite/camera_lite_posix/camera_native/src/
DActsMediaCameraTest.cpp1529 EXPECT_EQ(1920, surface->GetWidth()); in HWTEST_F()
1546 EXPECT_EQ(480, surface->GetWidth()); in HWTEST_F()