Home
last modified time | relevance | path

Searched refs:TestCanvas (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp33 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
35 [width](RenderProperties& props, TestCanvas& canvas) { in createContent()
36 std::function<void(TestCanvas&, float, const SkPaint&)> ops[] = { in createContent()
37 [](TestCanvas& canvas, float size, const SkPaint& paint) { in createContent()
40 [](TestCanvas& canvas, float size, const SkPaint& paint) { in createContent()
43 [](TestCanvas& canvas, float size, const SkPaint& paint) { in createContent()
52 [](TestCanvas& canvas, float size, const SkPaint& paint) { in createContent()
56 [](TestCanvas& canvas, float size, const SkPaint& paint) { in createContent()
60 [](TestCanvas& canvas, float size, const SkPaint& paint) { in createContent()
63 [](TestCanvas& canvas, float size, const SkPaint& paint) { in createContent()
DPartialDamageAnimation.cpp32 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
47 [color](RenderProperties& props, TestCanvas& canvas) { in createContent()
61 TestUtils::recordNode(*cards[0], [curFrame](TestCanvas& canvas) { in doFrame()
DHwLayerAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
33 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
DListViewAnimation.cpp39 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
50 [this](RenderProperties& props, TestCanvas& canvas) { in createContent()
65 TestCanvas canvas( in doFrame()
122 [this, cardId](RenderProperties& props, TestCanvas& canvas) { in createCard()
DOvalAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
DRectGridAnimation.cpp32 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
37 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
DTextAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
DGlyphStressAnimation.cpp36 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
49 TestCanvas canvas( in doFrame()
DClippingAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
DSaveLayerAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
35 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
DShadowGrid2Animation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
56 [width, height](RenderProperties& props, TestCanvas& canvas) { in createCard()
DShadowGridAnimation.cpp31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
56 [width, height](RenderProperties& props, TestCanvas& canvas) { in createCard()
DOpPropAnimation.cpp44 void createContent(int width, int height, TestCanvas& canvas) override { in createContent()
46 [this, width, height](RenderProperties& props, TestCanvas& canvas) { in createContent()
DRecentsAnimation.cpp31 void createContent(int width, int height, TestCanvas& renderer) override { in createContent()
74 [&thumb, width, height](RenderProperties& props, TestCanvas& canvas) { in createCard()
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp29 [](RenderProperties& props, TestCanvas& canvas) { in TEST()
33 [&child](RenderProperties& props, TestCanvas& canvas) { in TEST()
42 TestUtils::recordNode(*parent, [](TestCanvas& canvas) { in TEST()
71 [&](RenderProperties& props, TestCanvas& canvas) { in TEST()
78 TestUtils::recordNode(*node, [&](TestCanvas& canvas) { in TEST()
87 TestUtils::recordNode(*node, [](TestCanvas& canvas) {}); in TEST()
DBakedOpDispatcherTests.cpp163 [](RenderProperties& props, TestCanvas& canvas) { in RENDERTHREAD_TEST()
200 [](RenderProperties& props, TestCanvas& canvas) { in validateLayerDraw()
DFrameBuilderTests.cpp451 [](RenderProperties& props, TestCanvas& canvas) { in RENDERTHREAD_TEST()
493 [](RenderProperties& props, TestCanvas& canvas) { in RENDERTHREAD_TEST()
580 [](RenderProperties& props, TestCanvas& canvas) { in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/tests/microbench/
DDisplayListCanvasBench.cpp31 typedef RecordingCanvas TestCanvas; typedef
33 typedef DisplayListCanvas TestCanvas; typedef
55 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_empty()
67 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_saverestore()
83 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_translate()
102 TestCanvas canvas(100, 100); in BM_DisplayListCanvas_record_simpleBitmapView()
DFrameBuilderBench.cpp102 [&scene](RenderProperties& props, TestCanvas& canvas) { in getSyncedSceneNode()
/frameworks/base/libs/hwui/tests/common/
DTestScene.h28 typedef RecordingCanvas TestCanvas; typedef
31 typedef DisplayListCanvas TestCanvas; typedef
68 virtual void createContent(int width, int height, TestCanvas& renderer) = 0;
DTestUtils.h42 typedef RecordingCanvas TestCanvas; typedef
44 typedef DisplayListCanvas TestCanvas;
158 std::function<void(RenderProperties& props, TestCanvas& canvas)> setup) { in createNode()
169 TestCanvas canvas(props.getWidth(), props.getHeight()); in createNode()
178 std::function<void(TestCanvas&)> contentCallback) { in recordNode()
179 TestCanvas canvas(node.stagingProperties().getWidth(), in recordNode()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp79 [&scene, width, height](RenderProperties& props, TestCanvas& canvas) { in run()