Home
last modified time | relevance | path

Searched refs:RenderProperties (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp48 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 …]
DSkiaRenderPropertiesTests.cpp43 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()
DRenderNodeTests.cpp42 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 …]
DSkiaPipelineTests.cpp47 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 …]
DRenderPropertiesTests.cpp24 TEST(RenderProperties, layerValidity) { in TEST() argument
29 RenderProperties props; in TEST()
/frameworks/base/libs/hwui/
DAnimator.cpp316 {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 …]
DRenderProperties.cpp84 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()
DRenderNode.h138 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;
DRenderProperties.h51 class RenderProperties; variable
124 friend class RenderProperties; variable
140 class RenderProperties {
142 RenderProperties();
143 virtual ~RenderProperties();
189 RenderProperties& operator=(const RenderProperties& other);
DAnimator.h38 class RenderProperties; variable
211 typedef bool (RenderProperties::*SetFloatProperty)(float value);
212 typedef float (RenderProperties::*GetFloatProperty)() const;
DDamageAccumulator.cpp157 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/
DRenderNodeDrawable.h31 class RenderProperties; variable
67 const RenderProperties& getNodeProperties() const;
122 static void setViewProperties(const RenderProperties& properties, SkCanvas* canvas,
DBackdropFilterDrawable.h27 class RenderProperties; variable
55 bool prepareToDraw(SkCanvas* canvas, const RenderProperties& properties, int backdropImageWidth,
DBackdropFilterDrawable.cpp34 bool BackdropFilterDrawable::prepareToDraw(SkCanvas* canvas, const RenderProperties& properties, in prepareToDraw()
64 const RenderProperties& properties = mTargetRenderNode->properties(); in onDraw()
DRenderNodeDrawable.cpp60 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/
DTestUtils.h156 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();
DTestListViewSceneBase.h28 virtual void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth,
/frameworks/base/libs/hwui/tests/common/scenes/
DTvApp.cpp103 [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()
DMagnifierAnimation.cpp78 0, 0, width, height, [&](RenderProperties& props, Canvas& canvas) { in createContent()
88 100, 100, 500, 300, [&](RenderProperties& props, Canvas& canvas) { in createContent()
DStretchyListViewAnimation.cpp131 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()
DJankyScene.cpp36 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DHwLayerAnimation.cpp33 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DHwLayerSizeAnimation.cpp34 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DOvalAnimation.cpp32 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DRectGridAnimation.cpp36 card = TestUtils::createNode(50, 50, 250, 250, [](RenderProperties& props, Canvas& canvas) { in createContent()

12