/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeDrawableTests.cpp | 44 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() 71 [expectedDrawOrder, z](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() 80 std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) { in drawOrderedNode() 83 [expectedDrawOrder, setup](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() 108 auto parent = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in TEST() 148 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() 194 0, 0, 400, 800, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() 286 [](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 302 [](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 312 [&projectingRipple](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() [all …]
|
D | SkiaRenderPropertiesTests.cpp | 41 static void testProperty(std::function<void(RenderProperties&)> propSetupCallback, in testProperty() 61 [propSetupCallback](RenderProperties& props, SkiaRecordingCanvas& canvas) { in testProperty() 77 [](RenderProperties& properties) { in TEST() 89 [](RenderProperties& properties) { in TEST() 99 [](RenderProperties& properties) { in TEST() 110 [](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() 247 auto node = TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in TEST() 280 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() 304 TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST()
|
D | SkiaPipelineTests.cpp | 44 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 64 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 97 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& bottomHalfGreenCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 124 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 146 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 157 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& blueCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 191 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 302 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 310 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() 317 [&transparentPaint](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 | 318 {RenderNode::TRANSLATION_X, &RenderProperties::getTranslationX, 319 &RenderProperties::setTranslationX}, 320 {RenderNode::TRANSLATION_Y, &RenderProperties::getTranslationY, 321 &RenderProperties::setTranslationY}, 322 {RenderNode::TRANSLATION_Z, &RenderProperties::getTranslationZ, 323 &RenderProperties::setTranslationZ}, 324 {RenderNode::SCALE_X, &RenderProperties::getScaleX, &RenderProperties::setScaleX}, 325 {RenderNode::SCALE_Y, &RenderProperties::getScaleY, &RenderProperties::setScaleY}, 326 {RenderNode::ROTATION, &RenderProperties::getRotation, &RenderProperties::setRotation}, 327 {RenderNode::ROTATION_X, &RenderProperties::getRotationX, &RenderProperties::setRotationX}, [all …]
|
D | RenderProperties.cpp | 69 RenderProperties::ComputedFields::ComputedFields() : mTransformMatrix(nullptr) {} in ComputedFields() 71 RenderProperties::ComputedFields::~ComputedFields() { in ~ComputedFields() 75 RenderProperties::RenderProperties() : mStaticMatrix(nullptr), mAnimationMatrix(nullptr) {} in RenderProperties() function in android::uirenderer::RenderProperties 77 RenderProperties::~RenderProperties() { in ~RenderProperties() 82 RenderProperties& RenderProperties::operator=(const RenderProperties& other) { in operator =() 109 void RenderProperties::debugOutputProperties(std::ostream& output, const int level) const { in debugOutputProperties() 179 void RenderProperties::updateMatrix() { in updateMatrix()
|
D | RenderNode.h | 136 const RenderProperties& properties() const { return mProperties; } in properties() 138 RenderProperties& animatorProperties() { return mProperties; } in animatorProperties() 140 const RenderProperties& stagingProperties() { return mStagingProperties; } in stagingProperties() 142 RenderProperties& mutateStagingProperties() { return mStagingProperties; } in mutateStagingProperties() 244 RenderProperties mProperties; 245 RenderProperties mStagingProperties;
|
D | RenderProperties.h | 49 class RenderProperties; variable 110 friend class RenderProperties; variable 123 class ANDROID_API RenderProperties { 125 RenderProperties(); 126 virtual ~RenderProperties(); 172 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;
|
D | DamageAccumulator.cpp | 140 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { in mapRect() 197 const RenderProperties& props = frame->renderNode->properties(); in applyRenderNodeTransform()
|
/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 | 48 const RenderProperties& childProperties = child.getNodeProperties(); in drawBackwardsProjectedNodes() 106 const RenderProperties& RenderNodeDrawable::getNodeProperties() const { in getNodeProperties() 151 const RenderProperties& properties = this->getNodeProperties(); in forceDraw() 211 const RenderProperties& properties = renderNode->properties(); in drawContent() 269 void RenderNodeDrawable::setViewProperties(const RenderProperties& properties, SkCanvas* canvas, in setViewProperties()
|
/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 | JankyScene.cpp | 34 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 | HwLayerAnimation.cpp | 31 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 | TextAnimation.cpp | 30 card = TestUtils::createNode(0, 0, width, height, [](RenderProperties& props, in createContent()
|
D | ListOfFadedTextAnimation.cpp | 31 void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth, in createListItem()
|
D | SaveLayerAnimation.cpp | 34 card = TestUtils::createNode(0, 0, 400, 800, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 173 std::function<void(RenderProperties& props, Canvas& canvas)> setup) { in createNode() 175 RenderProperties& props = node->mutateStagingProperties(); in createNode() 190 std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) { in createNode() 192 RenderProperties& props = node->mutateStagingProperties(); in createNode() 212 std::function<void(RenderProperties& props, skiapipeline::SkiaRecordingCanvas& canvas)> 219 RenderProperties& props = node->mutateStagingProperties();
|
D | TestListViewSceneBase.h | 28 virtual void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth,
|