Searched refs:skiaCanvas (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasFrontendTests.cpp | 52 SkNoDrawCanvas skiaCanvas(100, 100); in TEST() local 56 EXPECT_EQ(1, skiaCanvas.getSaveCount()); in TEST() 59 skiaCanvas.save(); in TEST() 61 EXPECT_EQ(2, skiaCanvas.getSaveCount()); in TEST() 64 skiaCanvas.restore(); in TEST() 66 EXPECT_EQ(1, skiaCanvas.getSaveCount()); in TEST() 69 skiaCanvas.restore(); in TEST() 71 EXPECT_EQ(1, skiaCanvas.getSaveCount()); in TEST() 79 SkNoDrawCanvas skiaCanvas(100, 100); in TEST() local 82 skiaCanvas.translate(10, 10); in TEST() [all …]
|
D | CanvasOpTests.cpp | 625 SkNoDrawCanvas skiaCanvas(100, 100); in TEST() local 629 EXPECT_EQ(1, skiaCanvas.getSaveCount()); in TEST() 632 skiaCanvas.save(); in TEST() 634 EXPECT_EQ(2, skiaCanvas.getSaveCount()); in TEST() 637 skiaCanvas.restore(); in TEST() 639 EXPECT_EQ(1, skiaCanvas.getSaveCount()); in TEST() 642 skiaCanvas.restore(); in TEST() 644 EXPECT_EQ(1, skiaCanvas.getSaveCount()); in TEST()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 118 Canvas* Canvas::create_canvas(SkCanvas* skiaCanvas) { in create_canvas() argument 119 return new SkiaCanvas(skiaCanvas); in create_canvas() 133 void SkiaCanvas::reset(SkCanvas* skiaCanvas) { in reset() argument 134 if (mCanvas != skiaCanvas) { in reset() 135 mCanvas = skiaCanvas; in reset()
|
D | SkiaCanvas.h | 171 void reset(SkCanvas* skiaCanvas);
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 109 static Canvas* create_canvas(SkCanvas* skiaCanvas);
|