Lines Matching refs:x1
261 int16_t x1 = mask.GetLeft(); in Resize() local
270 … UpdateWindowRegion(window, {x1, static_cast<int16_t>(y2 + 1), x2, rectBefore.GetBottom()}); in Resize()
415 void LiteWM::CalculateUpdateRegion(const ListNode<LiteWindow*>* winNode, int16_t x1, int16_t y1, in… in CalculateUpdateRegion() argument
417 Rect rect(x1, y1, x2, y2); in CalculateUpdateRegion()
431 if (x1 != mask.GetLeft()) { in CalculateUpdateRegion()
432 CalculateUpdateRegion(winNode->prev_, x1, y1, mask.GetLeft() - 1, y2); in CalculateUpdateRegion()
449 CalculateUpdateRegion(winNode->prev_, x1, y1, x2, y2); in CalculateUpdateRegion()
508 void LiteWM::DrawRegion(const ListNode<LiteWindow*>* winNode, int16_t x1, int16_t y1, int16_t x2, i… in DrawRegion() argument
515 DrawBackground(x1, y1, x2, y2); in DrawRegion()
525 Rect rect(x1, y1, x2, y2); in DrawRegion()
531 DrawRegion(winNode->next_, x1, y1, x2, y2); in DrawRegion()
548 if (x1 != mask.GetLeft()) { in DrawRegion()
549 DrawRegion(winNode->next_, x1, y1, mask.GetLeft() - 1, y2); in DrawRegion()
565 void LiteWM::DrawBackground(int16_t x1, int16_t y1, int16_t x2, int16_t y2) in DrawBackground() argument
568 Rect rectBg(x1, y1, x2, y2); in DrawBackground()
573 x1 = rect.GetLeft(); in DrawBackground()
578 GRAPHIC_LOGD("DrawBackground, {%d,%d,%d,%d}", x1, y1, x2, y2); in DrawBackground()
579 int32_t len = static_cast<int32_t>(x2 - x1 + 1) * layerData_->bytePerPixel; in DrawBackground()
582 if (memset_s(buf1 + x1, len, 0, len) != EOK) { in DrawBackground()
595 int16_t x1 = rect.GetLeft(); in DrawMouseCursor() local
601 uint8_t* dstBuf = layerData_->virAddr + y1 * layerData_->stride + x1 * sizeof(LayerColorType); in DrawMouseCursor()
605 for (int16_t x = x1; x <= x2; x++) { in DrawMouseCursor()