Lines Matching defs:rect
201 void ClearColorRect(const BufferHandle &handle, uint32_t color, const IRect &rect)
203 DISPLAY_TEST_LOGD("x %{public}d, y %{public}d w %{public}d h %{public}d color %x ", rect.x, rect.y, rect.w, rect.h,
205 for (int32_t x = 0; x < rect.w; x++) {
206 for (int32_t y = 0; y < rect.h; y++) {
207 SetPixel(handle, x + rect.x, y + rect.y, color);
227 IRect rect = { 0, 0, CELL_WIDTH, CELL_HEIGHT };
233 rect.x = x * CELL_WIDTH;
234 rect.y = y * CELL_HEIGHT;
235 ClearColorRect(handle, colors[count++], rect);
236 splitRects.push_back(rect);