Searched refs:CANVAS_HEIGHT (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DSkiaRenderPropertiesTests.cpp45 static const int CANVAS_HEIGHT = 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 DRenderNodeDrawableTests.cpp349 static const int CANVAS_HEIGHT = 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,
475 static const int CANVAS_HEIGHT = 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_HEIGHT,
828 static const int CANVAS_HEIGHT = 200; local
856 static const int CANVAS_HEIGHT = 200; local
898 static const int CANVAS_HEIGHT = 200; local
947 static const int CANVAS_HEIGHT = 100; local
[all...]
H A DSkiaPipelineTests.cpp287 static const int CANVAS_HEIGHT = 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);
318 static const int CANVAS_HEIGHT = 50; local
321 ClipReplaceTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {
343 SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), surface);

Completed in 69 milliseconds