Home | History | Annotate | Download | only in tests

Lines Matching refs:DEV_W

22 static const int DEV_W = 100, DEV_H = 100;
23 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
24 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
29 SkASSERT(x >= 0 && x < DEV_W);
138 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H);
144 for (int x = 0; x < DEV_W; ++x) {
233 if (devBmp.width() != DEV_W ||
246 for (int cx = 0; cx < DEV_W; ++cx) {
269 const char* pad = reinterpret_cast<const char*>(canvasPixels + 4 * DEV_W);
270 for (size_t px = 0; px < canvasRowBytes - 4 * DEV_W; ++px) {
310 size_t rowBytes = c.fTightRowBytes ? 0 : 4 * DEV_W + 100;
311 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H, rowBytes);
328 desc.fWidth = DEV_W;
368 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10),
370 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4),
376 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4),
378 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4),
380 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0),
382 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4),
384 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4),
386 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1),
388 SkIRect::MakeLTRB(DEV_W, -10, DEV_W + 10, 0),
390 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H + 10),
394 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W / 4, DEV_H + 10),
396 SkIRect::MakeLTRB(-10, DEV_H / 4, DEV_W / 4, 3 * DEV_H / 4),
402 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10),
404 SkIRect::MakeLTRB(0, DEV_H, DEV_W, DEV_H + 10),
406 SkIRect::MakeLTRB(3 * DEV_W / 4, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10),
408 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H + 10),