Home | History | Annotate | Download | only in tests

Lines Matching refs:DEV_W

21 static const int DEV_W = 100, DEV_H = 100;
22 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
23 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
28 SkASSERT(x >= 0 && x < DEV_W);
114 bmp.allocN32Pixels(DEV_W, DEV_H);
116 for (int x = 0; x < DEV_W; ++x) {
206 if (canvasInfo.width() != DEV_W ||
216 for (int cx = 0; cx < DEV_W; ++cx) {
241 const char* pad = reinterpret_cast<const char*>(canvasPixels + DEV_W);
242 for (size_t px = 0; px < canvasRowBytes - 4 * DEV_W; ++px) {
310 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10),
312 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4),
318 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4),
320 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4),
322 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0),
324 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4),
326 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4),
328 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1),
330 SkIRect::MakeLTRB(DEV_W, -10, DEV_W + 10, 0),
332 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H + 10),
336 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W / 4, DEV_H + 10),
338 SkIRect::MakeLTRB(-10, DEV_H / 4, DEV_W / 4, 3 * DEV_H / 4),
344 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10),
346 SkIRect::MakeLTRB(0, DEV_H, DEV_W, DEV_H + 10),
348 SkIRect::MakeLTRB(3 * DEV_W / 4, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10),
350 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H + 10),
395 const SkImageInfo info = SkImageInfo::MakeN32Premul(DEV_W, DEV_H);
397 const size_t rowBytes = tightRowBytes ? info.minRowBytes() : 4 * DEV_W + 100;
411 const SkImageInfo ii = SkImageInfo::MakeN32Premul(DEV_W, DEV_H);