/frameworks/base/libs/hwui/tests/common/scenes/ |
D | ShapeAnimation.cpp | 33 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()
|
D | PartialDamageAnimation.cpp | 32 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()
|
D | HwLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 33 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | ListViewAnimation.cpp | 39 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()
|
D | OvalAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | RectGridAnimation.cpp | 32 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 37 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | TextAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | GlyphStressAnimation.cpp | 36 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 49 TestCanvas canvas( in doFrame()
|
D | ClippingAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 34 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | SaveLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 35 [](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | ShadowGrid2Animation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 56 [width, height](RenderProperties& props, TestCanvas& canvas) { in createCard()
|
D | ShadowGridAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 56 [width, height](RenderProperties& props, TestCanvas& canvas) { in createCard()
|
D | OpPropAnimation.cpp | 44 void createContent(int width, int height, TestCanvas& canvas) override { in createContent() 46 [this, width, height](RenderProperties& props, TestCanvas& canvas) { in createContent()
|
D | RecentsAnimation.cpp | 31 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/ |
D | RenderNodeTests.cpp | 29 [](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()
|
D | BakedOpDispatcherTests.cpp | 163 [](RenderProperties& props, TestCanvas& canvas) { in RENDERTHREAD_TEST() 200 [](RenderProperties& props, TestCanvas& canvas) { in validateLayerDraw()
|
D | FrameBuilderTests.cpp | 451 [](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/ |
D | DisplayListCanvasBench.cpp | 31 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()
|
D | FrameBuilderBench.cpp | 102 [&scene](RenderProperties& props, TestCanvas& canvas) { in getSyncedSceneNode()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestScene.h | 28 typedef RecordingCanvas TestCanvas; typedef 31 typedef DisplayListCanvas TestCanvas; typedef 68 virtual void createContent(int width, int height, TestCanvas& renderer) = 0;
|
D | TestUtils.h | 42 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/ |
D | TestSceneRunner.cpp | 79 [&scene, width, height](RenderProperties& props, TestCanvas& canvas) { in run()
|