Home | History | Annotate | Download | only in tests

Lines Matching refs:DEV_W

25 static const int DEV_W = 100, DEV_H = 100;
26 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
27 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
31 SkASSERT(x >= 0 && x < DEV_W);
103 bmp.allocN32Pixels(DEV_W, DEV_H);
106 for (int x = 0; x < DEV_W; ++x) {
129 texture->writePixels(0, 0, DEV_W, DEV_H, kSkia8888_GrPixelConfig, bmp.getPixels(),
320 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10),
322 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4),
328 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4),
330 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H / 4),
332 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, 0),
334 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H / 4),
336 SkIRect::MakeLTRB(DEV_W / 4, -10, 3 * DEV_W / 4, DEV_H / 4),
338 SkIRect::MakeLTRB(DEV_W + 1, -10, DEV_W + 10, -1),
340 SkIRect::MakeLTRB(DEV_W, -10, DEV_W + 10, 0),
342 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H + 10),
346 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W / 4, DEV_H + 10),
348 SkIRect::MakeLTRB(-10, DEV_H / 4, DEV_W / 4, 3 * DEV_H / 4),
354 SkIRect::MakeLTRB(-10, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10),
356 SkIRect::MakeLTRB(0, DEV_H, DEV_W, DEV_H + 10),
358 SkIRect::MakeLTRB(3 * DEV_W / 4, 3 * DEV_H / 4, DEV_W + 10, DEV_H + 10),
360 SkIRect::MakeLTRB(3 * DEV_W / 4, -10, DEV_W + 10, DEV_H + 10),
422 const SkImageInfo info = SkImageInfo::MakeN32Premul(DEV_W, DEV_H);
429 const SkImageInfo ii = SkImageInfo::MakeN32Premul(DEV_W, DEV_H);
480 desc.fWidth = DEV_W;