/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeDrawableTests.cpp | 45 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() 72 [expectedDrawOrder, z](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() 81 std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) { in drawOrderedNode() 84 [expectedDrawOrder, setup](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() 109 auto parent = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in TEST() 149 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() 195 0, 0, 400, 800, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() 287 [](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 303 [](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 313 [&projectingRipple](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() [all …]
|
D | SkiaRenderPropertiesTests.cpp | 42 static void testProperty(std::function<void(RenderProperties&)> propSetupCallback, in testProperty() 62 [propSetupCallback](RenderProperties& props, SkiaRecordingCanvas& canvas) { in testProperty() 78 [](RenderProperties& properties) { in TEST() 90 [](RenderProperties& properties) { in TEST() 100 [](RenderProperties& properties) { in TEST() 111 [](RenderProperties& properties) { in TEST()
|
D | RenderNodeTests.cpp | 42 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() 46 [&child](RenderProperties& props, Canvas& canvas) { in TEST() 69 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() 73 [&child](RenderProperties& props, Canvas& canvas) { in TEST() 131 auto child = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() 135 [&child](RenderProperties& props, Canvas& canvas) { in TEST() 139 [&child](RenderProperties& props, Canvas& canvas) { in TEST() 237 auto node = TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in TEST() 284 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() 308 TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST()
|
D | SkiaPipelineTests.cpp | 46 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 66 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& bottomHalfGreenCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 93 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 115 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 126 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& blueCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 160 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 271 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 279 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 286 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 317 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() [all …]
|
D | RenderPropertiesTests.cpp | 24 TEST(RenderProperties, layerValidity) { in TEST() argument 29 RenderProperties props; in TEST()
|
/frameworks/base/libs/hwui/ |
D | Animator.cpp | 316 {RenderNode::TRANSLATION_X, &RenderProperties::getTranslationX, 317 &RenderProperties::setTranslationX}, 318 {RenderNode::TRANSLATION_Y, &RenderProperties::getTranslationY, 319 &RenderProperties::setTranslationY}, 320 {RenderNode::TRANSLATION_Z, &RenderProperties::getTranslationZ, 321 &RenderProperties::setTranslationZ}, 322 {RenderNode::SCALE_X, &RenderProperties::getScaleX, &RenderProperties::setScaleX}, 323 {RenderNode::SCALE_Y, &RenderProperties::getScaleY, &RenderProperties::setScaleY}, 324 {RenderNode::ROTATION, &RenderProperties::getRotation, &RenderProperties::setRotation}, 325 {RenderNode::ROTATION_X, &RenderProperties::getRotationX, &RenderProperties::setRotationX}, [all …]
|
D | RenderProperties.cpp | 77 RenderProperties::ComputedFields::ComputedFields() : mTransformMatrix(nullptr) {} in ComputedFields() 79 RenderProperties::ComputedFields::~ComputedFields() { in ~ComputedFields() 83 RenderProperties::RenderProperties() : mStaticMatrix(nullptr), mAnimationMatrix(nullptr) {} in RenderProperties() function in android::uirenderer::RenderProperties 85 RenderProperties::~RenderProperties() { in ~RenderProperties() 90 RenderProperties& RenderProperties::operator=(const RenderProperties& other) { in operator =() 117 void RenderProperties::debugOutputProperties(std::ostream& output, const int level) const { in debugOutputProperties() 187 void RenderProperties::updateMatrix() { in updateMatrix()
|
D | RenderNode.h | 143 const RenderProperties& properties() const { return mProperties; } in properties() 145 RenderProperties& animatorProperties() { return mProperties; } in animatorProperties() 147 const RenderProperties& stagingProperties() { return mStagingProperties; } in stagingProperties() 149 RenderProperties& mutateStagingProperties() { return mStagingProperties; } in mutateStagingProperties() 253 RenderProperties mProperties; 254 RenderProperties mStagingProperties;
|
D | RenderProperties.h | 54 class RenderProperties; variable 123 friend class RenderProperties; variable 138 class RenderProperties { 140 RenderProperties(); 141 virtual ~RenderProperties(); 187 RenderProperties& operator=(const RenderProperties& other);
|
D | Animator.h | 38 class RenderProperties; variable 211 typedef bool (RenderProperties::*SetFloatProperty)(float value); 212 typedef float (RenderProperties::*GetFloatProperty)() const;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.h | 30 class RenderProperties; variable 66 const RenderProperties& getNodeProperties() const; 121 static void setViewProperties(const RenderProperties& properties, SkCanvas* canvas,
|
D | RenderNodeDrawable.cpp | 51 const RenderProperties& childProperties = child.getNodeProperties(); in drawBackwardsProjectedNodes() 112 const RenderProperties& RenderNodeDrawable::getNodeProperties() const { in getNodeProperties() 157 const RenderProperties& properties = this->getNodeProperties(); in forceDraw() 213 const RenderProperties& properties = renderNode->properties(); in drawContent() 357 void RenderNodeDrawable::setViewProperties(const RenderProperties& properties, SkCanvas* canvas, in setViewProperties()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 164 std::function<void(RenderProperties& props, Canvas& canvas)> setup) { in createNode() 166 RenderProperties& props = node->mutateStagingProperties(); in createNode() 181 std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) { in createNode() 183 RenderProperties& props = node->mutateStagingProperties(); in createNode() 203 std::function<void(RenderProperties& props, skiapipeline::SkiaRecordingCanvas& canvas)> 211 RenderProperties& props = node->mutateStagingProperties();
|
D | TestListViewSceneBase.h | 28 virtual void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth,
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | TvApp.cpp | 98 [this, width, height, color](RenderProperties& props, Canvas& canvas) { in createBitmapNode() 109 [bitmap](RenderProperties& props, Canvas& canvas) { in createSharedBitmapNode() 117 [text, text2](RenderProperties& props, Canvas& canvas) { in createInfoNode() 135 [color](RenderProperties& props, Canvas& canvas) { in createColorNode() 149 RenderProperties& props, in createCard()
|
D | MagnifierAnimation.cpp | 40 0, 0, width, height, [&](RenderProperties& props, Canvas& canvas) { in createContent() 50 100, 100, 500, 300, [&](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | StretchyListViewAnimation.cpp | 122 void createListItem(RenderProperties& props, Canvas& canvas, int cardId, int itemWidth, in createListItem() 170 [this, id](RenderProperties& props, Canvas& canvas) { in createContent() 177 [this](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | JankyScene.cpp | 34 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | HwLayerAnimation.cpp | 31 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | HwLayerSizeAnimation.cpp | 32 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | OvalAnimation.cpp | 30 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | RectGridAnimation.cpp | 34 card = TestUtils::createNode(50, 50, 250, 250, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | ListOfFadedTextAnimation.cpp | 31 void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth, in createListItem()
|
D | TextAnimation.cpp | 30 card = TestUtils::createNode(0, 0, width, height, [](RenderProperties& props, in createContent()
|
D | ClippingAnimation.cpp | 32 card = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in createContent()
|