Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp44 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 …]
DSkiaRenderPropertiesTests.cpp41 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()
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()
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()
DSkiaPipelineTests.cpp44 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 …]
DRenderPropertiesTests.cpp24 TEST(RenderProperties, layerValidity) { in TEST() argument
29 RenderProperties props; in TEST()
/frameworks/base/libs/hwui/
DAnimator.cpp318 {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 …]
DRenderProperties.cpp69 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()
DRenderNode.h136 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;
DRenderProperties.h49 class RenderProperties; variable
110 friend class RenderProperties; variable
123 class ANDROID_API RenderProperties {
125 RenderProperties();
126 virtual ~RenderProperties();
172 RenderProperties& operator=(const RenderProperties& other);
DAnimator.h38 class RenderProperties; variable
211 typedef bool (RenderProperties::*SetFloatProperty)(float value);
212 typedef float (RenderProperties::*GetFloatProperty)() const;
DDamageAccumulator.cpp140 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/
DRenderNodeDrawable.h30 class RenderProperties; variable
66 const RenderProperties& getNodeProperties() const;
121 static void setViewProperties(const RenderProperties& properties, SkCanvas* canvas,
DRenderNodeDrawable.cpp48 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/
DTvApp.cpp98 [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()
DMagnifierAnimation.cpp40 0, 0, width, height, [&](RenderProperties& props, Canvas& canvas) { in createContent()
50 100, 100, 500, 300, [&](RenderProperties& props, Canvas& canvas) { in createContent()
DJankyScene.cpp34 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DHwLayerSizeAnimation.cpp32 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DHwLayerAnimation.cpp31 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DOvalAnimation.cpp30 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
DRectGridAnimation.cpp34 card = TestUtils::createNode(50, 50, 250, 250, [](RenderProperties& props, Canvas& canvas) { in createContent()
DTextAnimation.cpp30 card = TestUtils::createNode(0, 0, width, height, [](RenderProperties& props, in createContent()
DListOfFadedTextAnimation.cpp31 void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth, in createListItem()
DSaveLayerAnimation.cpp34 card = TestUtils::createNode(0, 0, 400, 800, [](RenderProperties& props, Canvas& canvas) { in createContent()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h173 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();
DTestListViewSceneBase.h28 virtual void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth,

12