Lines Matching defs:rect
88 Rect rect(GetRect());
95 rect.SetLeft(rect.GetX() + r);
96 rect.SetWidth(rect.GetWidth() - r);
97 rect.SetTop(rect.GetY() + r);
98 rect.SetHeight(rect.GetHeight() - r);
100 if (rect.IsContains(invalidatedArea)) {
103 invalidatedArea.Intersect(invalidatedArea, rect);
213 Rect rect(x, y, x + width - 1, y + height - 1);
214 UpdateRectInfo(key, rect);
217 void UIView::UpdateRectInfo(uint8_t key, const Rect& rect)
221 SetWidth(rect.GetWidth());
222 SetHeight(rect.GetHeight());
227 SetWidth(rect.GetWidth());
232 SetHeight(rect.GetHeight());
236 SetX(rect.GetX());
240 SetY(rect.GetY());
718 Rect rect = GetRect();
721 rect.Intersect(par->GetContentRect(), rect);
724 if (visible_ && touchable_ && rect.IsContains(point)) {
735 Rect rect = GetRect();
738 rect.Intersect(par->GetOrigContentRect(), rect);
741 if (visible_ && rect.IsContains(point)) {