Lines Matching refs:y2
264 int16_t y2 = mask.GetBottom();
269 if (y2 != rectBefore.GetBottom()) {
270 UpdateWindowRegion(window, {x1, static_cast<int16_t>(y2 + 1), x2, rectBefore.GetBottom()});
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);
440 CalculateUpdateRegion(winNode->prev_, mask.GetRight() + 1, mask.GetTop(), x2, y2);
443 if (y2 != mask.GetBottom()) {
444 CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), mask.GetBottom() + 1, mask.GetRight(), y2);
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);
557 DrawRegion(winNode->next_, mask.GetRight() + 1, mask.GetTop(), x2, y2);
560 if (y2 != mask.GetBottom()) {
561 DrawRegion(winNode->next_, mask.GetLeft(), mask.GetBottom() + 1, mask.GetRight(), y2);
565 void LiteWM::DrawBackground(int16_t x1, int16_t y1, int16_t x2, int16_t y2)
568 Rect rectBg(x1, y1, x2, y2);
576 y2 = rect.GetBottom();
578 GRAPHIC_LOGD("DrawBackground, {%d,%d,%d,%d}", x1, y1, x2, y2);
580 for (int16_t y = y1; y <= y2; y++) {
598 int16_t y2 = rect.GetBottom();
602 for (int16_t y = y1; y <= y2; y++) {