Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeDrawableTests.cpp45 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 …]
DSkiaRenderPropertiesTests.cpp42 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()
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()
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()
DSkiaPipelineTests.cpp46 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 …]
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.cpp77 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()
DRenderNode.h143 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;
DRenderProperties.h54 class RenderProperties; variable
123 friend class RenderProperties; variable
138 class RenderProperties {
140 RenderProperties();
141 virtual ~RenderProperties();
187 RenderProperties& operator=(const RenderProperties& other);
DAnimator.h38 class RenderProperties; variable
211 typedef bool (RenderProperties::*SetFloatProperty)(float value);
212 typedef float (RenderProperties::*GetFloatProperty)() const;
/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.cpp51 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/
DTestUtils.h164 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();
DTestListViewSceneBase.h28 virtual void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth,
/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()
DStretchyListViewAnimation.cpp122 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()
DJankyScene.cpp34 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()
DHwLayerSizeAnimation.cpp32 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()
DListOfFadedTextAnimation.cpp31 void createListItem(RenderProperties& props, Canvas& canvas, int id, int itemWidth, in createListItem()
DTextAnimation.cpp30 card = TestUtils::createNode(0, 0, width, height, [](RenderProperties& props, in createContent()
DClippingAnimation.cpp32 card = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in createContent()

12