/frameworks/base/libs/hwui/tests/common/ |
TestScene.h | 28 typedef RecordingCanvas TestCanvas; 31 typedef DisplayListCanvas TestCanvas; 68 virtual void createContent(int width, int height, TestCanvas& renderer) = 0;
|
TestUtils.h | 42 typedef RecordingCanvas TestCanvas; 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/unit/ |
RenderNodeTests.cpp | 42 [](RenderProperties& props, TestCanvas& canvas) { 46 [&child](RenderProperties& props, TestCanvas& canvas) { 55 TestUtils::recordNode(*parent, [](TestCanvas& canvas) { 84 [&](RenderProperties& props, TestCanvas& canvas) { 91 TestUtils::recordNode(*node, [&](TestCanvas& canvas) { 100 TestUtils::recordNode(*node, [](TestCanvas& canvas) {}); 116 [](RenderProperties& props, TestCanvas& canvas) {
|
BakedOpDispatcherTests.cpp | 163 [](RenderProperties& props, TestCanvas& canvas) { 200 [](RenderProperties& props, TestCanvas& canvas) {
|
FrameBuilderTests.cpp | 451 [](RenderProperties& props, TestCanvas& canvas) { 493 [](RenderProperties& props, TestCanvas& canvas) { 580 [](RenderProperties& props, TestCanvas& canvas) { [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
ShapeAnimation.cpp | 33 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& canvas, float size, const SkPaint& paint) [all...] |
HwLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 33 [](RenderProperties& props, TestCanvas& canvas) {
|
OvalAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 34 [](RenderProperties& props, TestCanvas& canvas) {
|
PartialDamageAnimation.cpp | 32 void createContent(int width, int height, TestCanvas& canvas) override { 47 [color](RenderProperties& props, TestCanvas& canvas) { 61 TestUtils::recordNode(*cards[0], [curFrame](TestCanvas& canvas) {
|
ClippingAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 34 [](RenderProperties& props, TestCanvas& canvas) {
|
GlyphStressAnimation.cpp | 36 void createContent(int width, int height, TestCanvas& canvas) override { 49 TestCanvas canvas(
|
RectGridAnimation.cpp | 32 void createContent(int width, int height, TestCanvas& canvas) override { 37 [](RenderProperties& props, TestCanvas& canvas) {
|
SaveLayerAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 35 [](RenderProperties& props, TestCanvas& canvas) {
|
ShadowGrid2Animation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 56 [width, height](RenderProperties& props, TestCanvas& canvas) {
|
ShadowGridAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 56 [width, height](RenderProperties& props, TestCanvas& canvas) {
|
TextAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& canvas) override { 34 [](RenderProperties& props, TestCanvas& canvas) {
|
OpPropAnimation.cpp | 44 void createContent(int width, int height, TestCanvas& canvas) override { 46 [this, width, height](RenderProperties& props, TestCanvas& canvas) {
|
RecentsAnimation.cpp | 31 void createContent(int width, int height, TestCanvas& renderer) override { 74 [&thumb, width, height](RenderProperties& props, TestCanvas& canvas) {
|
ListViewAnimation.cpp | 39 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/microbench/ |
DisplayListCanvasBench.cpp | 31 typedef RecordingCanvas TestCanvas; 33 typedef DisplayListCanvas TestCanvas; 55 TestCanvas canvas(100, 100); 67 TestCanvas canvas(100, 100); 83 TestCanvas canvas(100, 100); 102 TestCanvas canvas(100, 100);
|
FrameBuilderBench.cpp | 102 [&scene](RenderProperties& props, TestCanvas& canvas) {
|
/frameworks/base/libs/hwui/tests/macrobench/ |
TestSceneRunner.cpp | 79 [&scene, width, height](RenderProperties& props, TestCanvas& canvas) {
|