Lines Matching defs:rect
692 for (auto rect : mDirtyRegion) {
693 int left = rect.left;
694 int right = rect.right;
695 int top = height - rect.bottom; // Flip from OpenGL convention
696 int bottom = height - rect.top; // Flip from OpenGL convention
988 android_native_rect_t const* rect = va_arg(args, android_native_rect_t*);
989 return setCrop(reinterpret_cast<Rect const*>(rect));
1288 int Surface::setCrop(Rect const* rect)
1293 if (rect == NULL || rect->isEmpty()) {
1296 realRect = *rect;
1299 ALOGV("Surface::setCrop rect=[%d %d %d %d]",
1510 Rect rect(rects[r].left, rects[r].bottom, rects[r].right, rects[r].top);
1511 mDirtyRegion.orSelf(rect);