Home
last modified time | relevance | path

Searched refs:CANVAS_WIDTH (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp428 static const int CANVAS_WIDTH = 400; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
435 : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT), mDrawCounter(drawCounter) {} in RENDERTHREAD_SKIA_PIPELINE_TEST()
444 EXPECT_EQ(SkRect::MakeLTRB(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), in RENDERTHREAD_SKIA_PIPELINE_TEST()
477 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST()
486 canvas.drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, SkPaint()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
505 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST()
560 static const int CANVAS_WIDTH = 400; in RENDERTHREAD_TEST() local
564 ProjectionChildScrollTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {} in RENDERTHREAD_TEST()
571 EXPECT_EQ(SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), TestUtils::getClipBounds(this)); in RENDERTHREAD_TEST()
578 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_TEST()
[all …]
DSkiaPipelineTests.cpp331 static const int CANVAS_WIDTH = 200; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
335 ClippedTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {} in RENDERTHREAD_SKIA_PIPELINE_TEST()
346 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST()
348 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(CANVAS_WIDTH, CANVAS_HEIGHT)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
357 SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), surface, SkMatrix::I()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
363 static const int CANVAS_WIDTH = 200; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
369 ClippedTestCanvas() : SkCanvas(CANVAS_WIDTH, CANVAS_HEIGHT) {} in RENDERTHREAD_SKIA_PIPELINE_TEST()
383 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in RENDERTHREAD_SKIA_PIPELINE_TEST()
385 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(CANVAS_WIDTH, CANVAS_HEIGHT)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
393 SkRect::MakeWH(CANVAS_WIDTH, CANVAS_HEIGHT), surface, rotateMatrix); in RENDERTHREAD_SKIA_PIPELINE_TEST()
[all …]
DSkiaRenderPropertiesTests.cpp43 static const int CANVAS_WIDTH = 100; in testProperty() local
48 : TestCanvasBase(CANVAS_WIDTH, CANVAS_HEIGHT), mCallback(callback) {} in testProperty()
60 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, in testProperty()
65 canvas.drawRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT, paint); in testProperty()