Searched refs:halfSize (Results 1 - 3 of 3) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/ |
H A D | container_modal_view.cpp | 279 float halfSize = TITLE_ICON_SIZE.Value() / 2.0f;
in AddButtonHover() 281 float maxDis = sqrt(pow(halfSize, 2.0) + pow(halfSize, 2.0));
in AddButtonHover() 282 float curDis = sqrt(pow(buttonPattern->GetLocalLocation().GetX() - halfSize, 2.0) +
in AddButtonHover() 283 pow(buttonPattern->GetLocalLocation().GetY() - halfSize, 2.0));
in AddButtonHover() 330 float halfSize = TITLE_ICON_SIZE.Value() / 2.0f;
in AddButtonMouse() 332 float maxDis = sqrt(pow(halfSize, 2.0) + pow(halfSize, 2.0));
in AddButtonMouse() 334 pow(info.GetLocalLocation().GetX() - halfSize, 2.0) + pow(info.GetLocalLocation().GetY() - halfSize, 2. in AddButtonMouse() [all...] |
/foundation/communication/wifi/wifi/utils/inc/ |
H A D | magic_enum.h | 66 constexpr int halfSize = static_cast<int>(sizeof...(Is) / 2); in MakeIntegerListWrapper() local 67 return std::integer_sequence<int, (Is - halfSize)...>(); in MakeIntegerListWrapper()
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | screenshot_test.cpp | 156 Media::Size halfSize = {halfDefault_.width, halfDefault_.height}; in HWTEST_F() local 157 screenshot = dm.GetScreenshot(defaultId_, defaultScreen_, halfSize, defaultRot_); in HWTEST_F() 160 ASSERT_TRUE(Utils::SizeEqual(halfSize, screenSize)); in HWTEST_F()
|
Completed in 2 milliseconds