Home
last modified time | relevance | path

Searched refs:rectSize (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/
H A Drosen_render_search.cpp166 Size rectSize; in Paint() local
170 rectSize = closeIconHotZoneRect_.GetSize(); in Paint()
173rectSize = searchTextRect_.GetSize() - Size(SEARCH_DIVIDER_WIDTH, 0.0) - Size(searchSpacing * 2.0,… in Paint()
177 border.SetBorderRadius(Radius(rectSize.Height() / 2.0)); in Paint()
179 canvas->drawRRect(MakeRRect(rectOffset + offset, rectSize, border), paint); in Paint()
183 canvas->DrawRoundRect(MakeRRect(rectOffset + offset, rectSize, border)); in Paint()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp401 int32_t rectSize = width * height; in CheckMulOverflow() local
402 if ((rectSize / width) != height) { in CheckMulOverflow()
406 int32_t bufferSize = rectSize * bytesPerPixel; in CheckMulOverflow()
407 if ((bufferSize / bytesPerPixel) != rectSize) { in CheckMulOverflow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dframe_node_modifier.cpp442 auto rectSize = renderContext->GetPaintRectWithoutTransform().GetSize(); in GetLayoutSize() local
443 size[0] = rectSize.Width(); in GetLayoutSize()
444 size[1] = rectSize.Height(); in GetLayoutSize()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv.cpp351 int32_t rectSize = GetYSize(rect.width, rect.height); in crop() local
353 …if (rect.top < 0 || rect.left < 0 || rectSize > pixelSize || rect.width <= 1 || rect.height <= 1 || in crop()