Searched refs:CANVAS_HEIGHT (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeDrawableTests.cpp | 430 static const int CANVAS_HEIGHT = 400; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 436 : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT), mDrawCounter(drawCounter) {} in RENDERTHREAD_SKIA_PIPELINE_TEST() 445 EXPECT_EQ(SkRect::MakeLTRB(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), in RENDERTHREAD_SKIA_PIPELINE_TEST() 478 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST() 487 canvas.drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, Paint()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 506 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST() 562 static const int CANVAS_HEIGHT = 400; in RENDERTHREAD_TEST() local 565 ProjectionChildScrollTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {} in RENDERTHREAD_TEST() 572 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST() 579 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_TEST() [all …]
|
D | SkiaPipelineTests.cpp | 301 static const int CANVAS_HEIGHT = 200; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 304 ClippedTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {} in RENDERTHREAD_SKIA_PIPELINE_TEST() 315 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST() 317 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(CANVAS_WIDTH, CANVAS_HEIGHT)); in RENDERTHREAD_SKIA_PIPELINE_TEST() 326 SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), surface, SkMatrix::I()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 333 static const int CANVAS_HEIGHT = 100; in RENDERTHREAD_SKIA_PIPELINE_TEST() local 334 static const SkMatrix rotateMatrix = SkMatrix::MakeAll(0, -1, CANVAS_HEIGHT, 1, 0, 0, 0, 0, 1); in RENDERTHREAD_SKIA_PIPELINE_TEST() 338 ClippedTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {} in RENDERTHREAD_SKIA_PIPELINE_TEST() 342 EXPECT_EQ(SkRect::MakeLTRB(CANVAS_HEIGHT - dirty.fTop - dirty.height(), dirty.fLeft, in RENDERTHREAD_SKIA_PIPELINE_TEST() 343 CANVAS_HEIGHT - dirty.fTop, dirty.fLeft + dirty.width()), in RENDERTHREAD_SKIA_PIPELINE_TEST() [all …]
|
D | SkiaRenderPropertiesTests.cpp | 45 static const int CANVAS_HEIGHT = 100; in testProperty() local 49 : TestCanvasBase(CANVAS_WIDTH, CANVAS_HEIGHT), mCallback(callback) {} in testProperty() 61 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in testProperty() 66 canvas.drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, paint); in testProperty()
|