Lines Matching refs:y1
263 int16_t y1 = mask.GetTop();
266 UpdateWindowRegion(window, {static_cast<int16_t>(x2 + 1), y1, rectBefore.GetRight(),
415 void LiteWM::CalculateUpdateRegion(const ListNode<LiteWindow*>* winNode, int16_t x1, int16_t y1, int16_t x2, int16_t y2)
417 Rect rect(x1, y1, x2, y2);
432 CalculateUpdateRegion(winNode->prev_, x1, y1, mask.GetLeft() - 1, y2);
435 if (y1 != mask.GetTop()) {
436 CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), y1, x2, mask.GetTop() - 1);
449 CalculateUpdateRegion(winNode->prev_, x1, y1, x2, y2);
508 void LiteWM::DrawRegion(const ListNode<LiteWindow*>* winNode, int16_t x1, int16_t y1, int16_t x2, int16_t y2)
515 DrawBackground(x1, y1, x2, y2);
525 Rect rect(x1, y1, x2, y2);
531 DrawRegion(winNode->next_, x1, y1, x2, y2);
549 DrawRegion(winNode->next_, x1, y1, mask.GetLeft() - 1, y2);
552 if (y1 != mask.GetTop()) {
553 DrawRegion(winNode->next_, mask.GetLeft(), y1, x2, mask.GetTop() - 1);
565 void LiteWM::DrawBackground(int16_t x1, int16_t y1, int16_t x2, int16_t y2)
568 Rect rectBg(x1, y1, x2, y2);
575 y1 = rect.GetTop();
578 GRAPHIC_LOGD("DrawBackground, {%d,%d,%d,%d}", x1, y1, x2, y2);
580 for (int16_t y = y1; y <= y2; y++) {
597 int16_t y1 = rect.GetTop();
601 uint8_t* dstBuf = layerData_->virAddr + y1 * layerData_->stride + x1 * sizeof(LayerColorType);
602 for (int16_t y = y1; y <= y2; y++) {