Searched defs:CANVAS_WIDTH (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DSkiaRenderPropertiesTests.cpp44 static const int CANVAS_WIDTH = 100; local
49 : TestCanvasBase(CANVAS_WIDTH, CANVAS_HEIGHT), mCallback(callback) {}
60 auto node = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT,
65 canvas.drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, paint);
H A DSkiaPipelineTests.cpp286 static const int CANVAS_WIDTH = 200; local
290 ClippedTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {
301 nodes.push_back(TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT,
303 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(CANVAS_WIDTH, CANVAS_HEIGHT));
312 SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), surface);
317 static const int CANVAS_WIDTH = 50; local
321 ClipReplaceTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {
343 SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), surface);
H A DRenderNodeDrawableTests.cpp348 static const int CANVAS_WIDTH = 400; local
355 : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT)
365 EXPECT_EQ(SkRect::MakeLTRB(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this));
401 auto receiverBackground = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT,
409 canvas.drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, SkPaint());
422 auto parent = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT,
474 static const int CANVAS_WIDTH = 400; local
478 ProjectionChildScrollTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {}
485 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this));
491 auto receiverBackground = TestUtils::createSkiaNode(0, 0, CANVAS_WIDTH, CANVAS_HEIGH
827 static const int CANVAS_WIDTH = 100; local
855 static const int CANVAS_WIDTH = 200; local
897 static const int CANVAS_WIDTH = 200; local
946 static const int CANVAS_WIDTH = 100; local
[all...]

Completed in 64 milliseconds