Home
last modified time | relevance | path

Searched refs:RenderNode (Results 1 – 25 of 89) sorted by relevance

1234

/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp42 (reinterpret_cast<RenderNode*>(renderNodePtr)->mutateStagingProperties().prop(val) \
43 ? (reinterpret_cast<RenderNode*>(renderNodePtr)->setPropertyFieldsDirty(dirtyFlag), true) \
81 void onRenderNodeRemoved(JNIEnv* env, RenderNode* node) { in onRenderNodeRemoved()
100 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_output()
106 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getDebugSize()
112 RenderNode* renderNode = new RenderNode(); in android_view_RenderNode_create()
125 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_destroyRenderNode()
133 virtual void onMaybeRemovedFromTree(RenderNode* node) override { in android_view_RenderNode_setDisplayList()
134 maybeRemovedNodes.insert(sp<RenderNode>(node)); in android_view_RenderNode_setDisplayList()
136 std::set< sp<RenderNode> > maybeRemovedNodes; in android_view_RenderNode_setDisplayList()
[all …]
Dandroid_view_ThreadedRenderer.cpp77 void onRenderNodeRemoved(JNIEnv* env, RenderNode* node);
89 virtual void onMaybeRemovedFromTree(RenderNode* node) override { in onMaybeRemovedFromTree()
90 mMaybeRemovedNodes.insert(sp<RenderNode>(node)); in onMaybeRemovedFromTree()
95 std::set< sp<RenderNode> > mMaybeRemovedNodes;
146 class RootRenderNode : public RenderNode, ErrorHandler {
148 RootRenderNode(JNIEnv* env) : RenderNode() { in RootRenderNode()
167 RenderNode::prepareTree(info); in prepareTree()
178 void attachAnimatingNode(RenderNode* animatingNode) { in attachAnimatingNode()
184 RenderNode* node = mPendingAnimatingRenderNodes[i].get(); in doAttachAnimatingNodes()
200 std::vector< sp<RenderNode> > mPendingAnimatingRenderNodes;
[all …]
/frameworks/base/libs/hwui/
DAnimator.cpp85 void BaseRenderNodeAnimator::attach(RenderNode* target) { in attach()
150 RenderNode* oldTarget = mTarget; in pushStaging()
295 RenderNode::DirtyPropertyMask dirtyMask;
302 …{RenderNode::TRANSLATION_X, &RenderProperties::getTranslationX, &RenderProperties::setTranslationX…
303 …{RenderNode::TRANSLATION_Y, &RenderProperties::getTranslationY, &RenderProperties::setTranslationY…
304 …{RenderNode::TRANSLATION_X, &RenderProperties::getTranslationZ, &RenderProperties::setTranslationZ…
305 {RenderNode::SCALE_X, &RenderProperties::getScaleX, &RenderProperties::setScaleX },
306 {RenderNode::SCALE_Y, &RenderProperties::getScaleY, &RenderProperties::setScaleY },
307 {RenderNode::ROTATION, &RenderProperties::getRotation, &RenderProperties::setRotation },
308 {RenderNode::ROTATION_X, &RenderProperties::getRotationX, &RenderProperties::setRotationX },
[all …]
DAnimator.h37 class RenderNode; variable
73 void attach(RenderNode* target);
87 RenderNode* target() { return mTarget; } in target()
88 RenderNode* stagingTarget() { return mStagingTarget; } in stagingTarget()
120 virtual float getValue(RenderNode* target) const = 0;
121 virtual void setValue(RenderNode* target, float value) = 0;
129 RenderNode* mTarget;
130 RenderNode* mStagingTarget;
190 virtual float getValue(RenderNode* target) const override;
191 virtual void setValue(RenderNode* target, float value) override;
[all …]
DRenderNode.cpp44 void RenderNode::debugDumpLayers(const char* prefix) { in debugDumpLayers()
61 RenderNode::RenderNode() in RenderNode() function in android::uirenderer::RenderNode
70 RenderNode::~RenderNode() { in ~RenderNode()
84 void RenderNode::setStagingDisplayList(DisplayList* displayList, TreeObserver* observer) { in setStagingDisplayList()
100 void RenderNode::output(uint32_t level, const char* label) { in output()
127 void RenderNode::output(uint32_t level) { in output()
147 void RenderNode::copyTo(proto::RenderNode *pnode) { in copyTo()
219 int RenderNode::getDebugSize() { in getDebugSize()
220 int size = sizeof(RenderNode); in getDebugSize()
230 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree()
[all …]
DLayerUpdateQueue.h29 class RenderNode; variable
35 Entry(RenderNode* renderNode, const Rect& damage) in Entry()
38 RenderNode* renderNode;
43 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
DFrameBuilder.h72 void deferRenderNode(RenderNode& renderNode);
74 void deferRenderNode(float tx, float ty, Rect clipRect, RenderNode& renderNode);
76 void deferRenderNodeScene(const std::vector< sp<RenderNode> >& nodes,
179 const BeginLayerOp* beginLayerOp, RenderNode* renderNode);
193 void deferNodePropsAndOps(RenderNode& node);
201 void deferProjectedChildren(const RenderNode& renderNode);
203 void deferNodeOps(const RenderNode& renderNode);
DAnimationContext.h33 class RenderNode; variable
61 AnimationHandle(RenderNode& animatingNode, AnimationContext& context);
67 sp<RenderNode> mRenderNode;
89 ANDROID_API void addAnimatingRenderNode(RenderNode& node);
DRenderNode.h74 class RenderNode; variable
89 class RenderNode : public VirtualLightRefBase {
110 ANDROID_API RenderNode();
111 ANDROID_API virtual ~RenderNode();
133 void copyTo(proto::RenderNode* node);
239 virtual void onPositionUpdated(RenderNode& node, const TreeInfo& info) = 0;
243 virtual void onPositionLost(RenderNode& node, const TreeInfo* info) = 0;
DAnimatorManager.h31 class RenderNode; variable
38 AnimatorManager(RenderNode& parent);
67 RenderNode& mParent;
/frameworks/base/libs/hwui/tests/unit/
DLayerUpdateQueueTests.cpp33 static sp<RenderNode> createSyncedNode(uint32_t width, uint32_t height) { in createSyncedNode()
34 sp<RenderNode> node = TestUtils::createNode(0, 0, width, height, nullptr); in createSyncedNode()
40 sp<RenderNode> a = createSyncedNode(100, 100); in TEST()
41 sp<RenderNode> b = createSyncedNode(200, 200); in TEST()
42 sp<RenderNode> c = createSyncedNode(200, 200); in TEST()
60 sp<RenderNode> a = createSyncedNode(100, 100); in TEST()
73 sp<RenderNode> a = createSyncedNode(100, 100); in TEST()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h75 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
94 int64_t syncQueued, RenderNode* target);
100 void prepareAndDraw(RenderNode* node);
102 void buildLayer(RenderNode* node, TreeObserver* observer);
104 void markLayerInUse(RenderNode* node);
131 void addRenderNode(RenderNode* node, bool placeFront) { in addRenderNode()
136 void removeRenderNode(RenderNode* node) { in removeRenderNode()
220 std::vector< sp<RenderNode> > mRenderNodes;
230 std::set<RenderNode*> mPrefetchedLayers;
DRenderProxy.h41 class RenderNode; variable
71 … ANDROID_API RenderProxy(bool translucent, RenderNode* rootNode, IContextFactory* contextFactory);
96 ANDROID_API void buildLayer(RenderNode* node, TreeObserver* observer);
121 ANDROID_API void addRenderNode(RenderNode* node, bool placeFront);
122 ANDROID_API void removeRenderNode(RenderNode* node);
123 ANDROID_API void drawRenderNode(RenderNode* node);
DDrawFrameTask.h36 class RenderNode; variable
63 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode);
84 RenderNode* mTargetNode = nullptr;
/frameworks/base/libs/hwui/tests/common/scenes/
DShadowGrid2Animation.cpp30 std::vector< sp<RenderNode> > cards;
37 sp<RenderNode> card = createCard(x, y, dp(50), dp(50)); in createContent()
50 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
54 sp<RenderNode> createCard(int x, int y, int width, int height) { in createCard()
DShadowGridAnimation.cpp30 std::vector< sp<RenderNode> > cards;
37 sp<RenderNode> card = createCard(x, y, dp(100), dp(100)); in createContent()
50 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
54 sp<RenderNode> createCard(int x, int y, int width, int height) { in createCard()
DPartialDamageAnimation.cpp31 std::vector< sp<RenderNode> > cards;
45 sp<RenderNode> card = TestUtils::createNode(x, y, in createContent()
59 cards[0]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DHwLayerAnimation.cpp30 sp<RenderNode> card;
44 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DOvalAnimation.cpp30 sp<RenderNode> card;
47 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DRecentsAnimation.cpp50 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, thumb); in createContent()
64 mCards[ci]->setPropertyFieldsDirty(RenderNode::Y); in doFrame()
71 sp<RenderNode> createCard(int x, int y, int width, int height, in createCard()
86 std::vector< sp<RenderNode> > mCards;
DRectGridAnimation.cpp31 sp<RenderNode> card;
59 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DTextAnimation.cpp30 sp<RenderNode> card;
58 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DClippingAnimation.cpp30 sp<RenderNode> card;
65 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DSaveLayerAnimation.cpp30 sp<RenderNode> card;
63 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h157 static sp<RenderNode> createNode(int left, int top, int right, int bottom, in createNode()
165 sp<RenderNode> node = new RenderNode(); in createNode()
177 static void recordNode(RenderNode& node, in recordNode()
192 static void syncHierarchyPropertiesAndDisplayList(sp<RenderNode>& node) { in syncHierarchyPropertiesAndDisplayList()
196 static sp<RenderNode>& getSyncedNode(sp<RenderNode>& node) { in getSyncedNode()
239 static void syncHierarchyPropertiesAndDisplayListImpl(RenderNode* node) { in syncHierarchyPropertiesAndDisplayListImpl()

1234