/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeDrawableTests.cpp | 48 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in TEST() 75 [expectedDrawOrder, z](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() 84 std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) { in drawOrderedNode() 87 [expectedDrawOrder, setup](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() 112 auto parent = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in TEST() 152 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() 198 0, 0, 400, 800, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() 290 [](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 306 [](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 316 [&projectingRipple](RenderProperties& properties, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() [all …]
|
D | SkiaRenderPropertiesTests.cpp | 43 static void testProperty(std::function<void(RenderProperties&)> propSetupCallback, in testProperty() 63 [propSetupCallback](RenderProperties& props, SkiaRecordingCanvas& canvas) { in testProperty() 79 [](RenderProperties& properties) { in TEST() 91 [](RenderProperties& properties) { in TEST() 101 [](RenderProperties& properties) { in TEST() 112 [](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() 236 auto node = TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in TEST() 283 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() 307 TestUtils::createNode(0, 0, 200, 400, [&](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() [all …]
|
D | SkiaPipelineTests.cpp | 47 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_TEST() 67 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& bottomHalfGreenCanvas) { in RENDERTHREAD_TEST() 94 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_TEST() 116 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_TEST() 127 0, 0, 2, 2, [](RenderProperties& props, SkiaRecordingCanvas& blueCanvas) { in RENDERTHREAD_TEST() 161 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 272 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 280 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 287 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() 319 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_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 | 84 RenderProperties::ComputedFields::ComputedFields() : mTransformMatrix(nullptr) {} in ComputedFields() 86 RenderProperties::ComputedFields::~ComputedFields() { in ~ComputedFields() 90 RenderProperties::RenderProperties() : mStaticMatrix(nullptr), mAnimationMatrix(nullptr) {} in RenderProperties() function in android::uirenderer::RenderProperties 92 RenderProperties::~RenderProperties() { in ~RenderProperties() 97 RenderProperties& RenderProperties::operator=(const RenderProperties& other) { in operator =() 124 void RenderProperties::debugOutputProperties(std::ostream& output, const int level) const { in debugOutputProperties() 194 void RenderProperties::updateMatrix() { in updateMatrix()
|
D | RenderNode.h | 138 const RenderProperties& properties() const { return mProperties; } in properties() 140 RenderProperties& animatorProperties() { return mProperties; } in animatorProperties() 142 const RenderProperties& stagingProperties() { return mStagingProperties; } in stagingProperties() 144 RenderProperties& mutateStagingProperties() { return mStagingProperties; } in mutateStagingProperties() 253 RenderProperties mProperties; 254 RenderProperties mStagingProperties;
|
D | RenderProperties.h | 51 class RenderProperties; variable 124 friend class RenderProperties; variable 140 class RenderProperties { 142 RenderProperties(); 143 virtual ~RenderProperties(); 189 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 | 157 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { in mapRect() 215 const RenderProperties& props = frame->renderNode->properties(); in applyRenderNodeTransform() 254 const RenderProperties& props = frame->renderNode->properties(); in computeClipAndTransform()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.h | 31 class RenderProperties; variable 67 const RenderProperties& getNodeProperties() const; 122 static void setViewProperties(const RenderProperties& properties, SkCanvas* canvas,
|
D | BackdropFilterDrawable.h | 27 class RenderProperties; variable 55 bool prepareToDraw(SkCanvas* canvas, const RenderProperties& properties, int backdropImageWidth,
|
D | BackdropFilterDrawable.cpp | 34 bool BackdropFilterDrawable::prepareToDraw(SkCanvas* canvas, const RenderProperties& properties, in prepareToDraw() 64 const RenderProperties& properties = mTargetRenderNode->properties(); in onDraw()
|
D | RenderNodeDrawable.cpp | 60 const RenderProperties& childProperties = child.getNodeProperties(); in drawBackwardsProjectedNodes() 121 const RenderProperties& RenderNodeDrawable::getNodeProperties() const { in getNodeProperties() 166 const RenderProperties& properties = this->getNodeProperties(); in forceDraw() 223 const RenderProperties& properties = renderNode->properties(); in drawContent() 379 void RenderNodeDrawable::setViewProperties(const RenderProperties& properties, SkCanvas* canvas, in setViewProperties()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.h | 156 std::function<void(RenderProperties& props, Canvas& canvas)> setup) { in createNode() 158 RenderProperties& props = node->mutateStagingProperties(); in createNode() 173 std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) { in createNode() 175 RenderProperties& props = node->mutateStagingProperties(); in createNode() 195 std::function<void(RenderProperties& props, skiapipeline::SkiaRecordingCanvas& canvas)> 203 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 | 103 [this, width, height, color](RenderProperties& props, Canvas& canvas) { in createBitmapNode() 114 [bitmap](RenderProperties& props, Canvas& canvas) { in createSharedBitmapNode() 122 [text, text2](RenderProperties& props, Canvas& canvas) { in createInfoNode() 140 [color](RenderProperties& props, Canvas& canvas) { in createColorNode() 154 RenderProperties& props, in createCard()
|
D | MagnifierAnimation.cpp | 78 0, 0, width, height, [&](RenderProperties& props, Canvas& canvas) { in createContent() 88 100, 100, 500, 300, [&](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | StretchyListViewAnimation.cpp | 131 void createListItem(RenderProperties& props, Canvas& canvas, int cardId, int itemWidth, in createListItem() 179 [this, id](RenderProperties& props, Canvas& canvas) { in createContent() 186 [this](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | JankyScene.cpp | 36 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | HwLayerAnimation.cpp | 33 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | HwLayerSizeAnimation.cpp | 34 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | OvalAnimation.cpp | 32 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
|
D | RectGridAnimation.cpp | 36 card = TestUtils::createNode(50, 50, 250, 250, [](RenderProperties& props, Canvas& canvas) { in createContent()
|