Searched refs:rectSize (Results 1 – 4 of 4) sorted by relevance
166 Size rectSize; in Paint() local170 rectSize = closeIconHotZoneRect_.GetSize(); in Paint()173 …rectSize = 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()
401 int32_t rectSize = width * height; in CheckMulOverflow() local402 if ((rectSize / width) != height) { in CheckMulOverflow()406 int32_t bufferSize = rectSize * bytesPerPixel; in CheckMulOverflow()407 if ((bufferSize / bytesPerPixel) != rectSize) { in CheckMulOverflow()
442 auto rectSize = renderContext->GetPaintRectWithoutTransform().GetSize(); in GetLayoutSize() local443 size[0] = rectSize.Width(); in GetLayoutSize()444 size[1] = rectSize.Height(); in GetLayoutSize()
351 int32_t rectSize = GetYSize(rect.width, rect.height); in crop() local353 …if (rect.top < 0 || rect.left < 0 || rectSize > pixelSize || rect.width <= 1 || rect.height <= 1 || in crop()