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

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

Completed in 1252 milliseconds