HomeSort by relevance Sort by last modified time
    Searched refs:DEV_W (Results 1 - 2 of 2) sorted by null

  /external/skia/tests/
WritePixelsTest.cpp 14 static const int DEV_W = 100, DEV_H = 100;
15 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
16 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
22 SkASSERT(x >= 0 && x < DEV_W);
131 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H);
137 for (int x = 0; x < DEV_W; ++x) {
225 if (devBmp.width() != DEV_W ||
239 for (int cx = 0; cx < DEV_W; ++cx) {
262 const char* pad = reinterpret_cast<const char*>(canvasPixels + 4 * DEV_W);
263 for (size_t px = 0; px < canvasRowBytes - 4 * DEV_W; ++px)
    [all...]
ReadPixelsTest.cpp 15 static const int DEV_W = 100, DEV_H = 100;
16 static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
17 static const SkRect DEV_RECT_S = SkRect::MakeWH(DEV_W * SK_Scalar1,
22 SkASSERT(x >= 0 && x < DEV_W);
103 bmp.setConfig(SkBitmap::kARGB_8888_Config, DEV_W, DEV_H);
109 for (int x = 0; x < DEV_W; ++x) {
257 SkIRect::MakeLTRB(-10, -10, DEV_W + 10, DEV_H + 10),
259 SkIRect::MakeLTRB(DEV_W / 4, DEV_H / 4, 3 * DEV_W / 4, 3 * DEV_H / 4),
265 SkIRect::MakeLTRB(-10, -10, DEV_W / 4, DEV_H / 4)
    [all...]

Completed in 149 milliseconds