Lines Matching refs:node
41 static DisplayListRenderer* startRecording(RenderNode* node) { in startRecording() argument
43 renderer->setViewport(node->getWidth(), node->getHeight()); in startRecording()
48 static void endRecording(DisplayListRenderer* renderer, RenderNode* node) { in endRecording() argument
50 node->setStagingDisplayList(renderer->finishRecording()); in endRecording()
55 sp<RenderNode> node = new RenderNode(); in createCard() local
56 node->mutateStagingProperties().setLeftTopRightBottom(x, y, x + width, y + height); in createCard()
57 node->mutateStagingProperties().setElevation(dp(16)); in createCard()
58 node->mutateStagingProperties().mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); in createCard()
59 node->mutateStagingProperties().mutableOutline().setShouldClip(true); in createCard()
60 node->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y | RenderNode::Z); in createCard()
62 DisplayListRenderer* renderer = startRecording(node.get()); in createCard()
64 endRecording(renderer, node.get()); in createCard()
66 return node; in createCard()