Searched refs:renderNode (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DLayerUpdateQueue.cpp28 void LayerUpdateQueue::enqueueLayerWithDamage(RenderNode* renderNode, Rect damage) { argument
30 damage.doIntersect(0, 0, renderNode->getWidth(), renderNode->getHeight());
33 if (CC_UNLIKELY(entry.renderNode == renderNode)) {
38 mEntries.emplace_back(renderNode, damage);
H A DLayerUpdateQueue.h35 Entry(RenderNode* renderNode, const Rect& damage) argument
36 : renderNode(renderNode)
38 RenderNode* renderNode; member in struct:android::uirenderer::LayerUpdateQueue::Entry
43 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
H A DLayer.cpp32 (renderNode.get() != NULL) ? renderNode->getName() : "", \
163 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument
165 this->renderNode = renderNode;
240 renderNode->computeOrdering();
241 renderNode->defer(deferredState, 0);
247 renderNode = nullptr;
256 renderer->startMark((renderNode.get() != nullptr) ? renderNode
[all...]
H A DLayerBuilder.h79 // saveLayer, renderNode is present for a HW layer.
81 const Rect& repaintRect, const BeginLayerOp* beginLayerOp, RenderNode* renderNode);
113 const RenderNode* renderNode; member in class:android::uirenderer::LayerBuilder
H A DDamageAccumulator.cpp37 const RenderNode* renderNode; member in union:android::uirenderer::DirtyStack::__anon1053
61 currentFrame->renderNode->applyViewPropertyTransforms(*outMatrix);
93 mHead->renderNode = transform;
172 && frame->renderNode->hasProjectionReceiver()) {
184 mapRect(frame->renderNode->properties(), *rect, rect);
197 const RenderProperties& props = frame->renderNode->properties();
H A DFrameBuilder.h72 void deferRenderNode(RenderNode& renderNode);
74 void deferRenderNode(float tx, float ty, Rect clipRect, RenderNode& renderNode);
123 if (layer.renderNode) {
179 const BeginLayerOp* beginLayerOp, RenderNode* renderNode);
201 void deferProjectedChildren(const RenderNode& renderNode);
203 void deferNodeOps(const RenderNode& renderNode);
H A DLayerBuilder.cpp201 const Rect& repaintRect, const BeginLayerOp* beginLayerOp, RenderNode* renderNode)
206 , offscreenBuffer(renderNode ? renderNode->getLayer() : nullptr)
208 , renderNode(renderNode) {}
339 if (renderNode) {
341 renderNode->getName(), width, height);
378 renderNode, renderNode ? renderNode
200 LayerBuilder(uint32_t width, uint32_t height, const Rect& repaintRect, const BeginLayerOp* beginLayerOp, RenderNode* renderNode) argument
[all...]
H A DFrameBuilder.cpp80 RenderNode* layerNode = layers.entries()[i].renderNode;
109 void FrameBuilder::deferRenderNode(RenderNode& renderNode) { argument
110 renderNode.computeOrdering();
113 deferNodePropsAndOps(renderNode);
117 void FrameBuilder::deferRenderNode(float tx, float ty, Rect clipRect, RenderNode& renderNode) { argument
118 renderNode.computeOrdering();
124 deferNodePropsAndOps(renderNode);
317 RenderNode* child = childOp->renderNode;
394 auto& node = *casterNodeOp.renderNode;
467 void FrameBuilder::deferProjectedChildren(const RenderNode& renderNode) { argument
511 deferNodeOps(const RenderNode& renderNode) argument
803 saveForLayer(uint32_t layerWidth, uint32_t layerHeight, float contentTranslateX, float contentTranslateY, const Rect& repaintRect, const Vector3& lightCenter, const BeginLayerOp* beginLayerOp, RenderNode* renderNode) argument
[all...]
H A DDisplayList.cpp89 referenceHolders.push_back(op->renderNode);
H A DRenderNode.cpp56 child->renderNode->debugDumpLayers(prefix);
118 rnOp->renderNode->output(level + 1, strout.str().c_str());
214 child->renderNode->copyTo(pnode->add_children());
475 child->renderNode->incParentRefCount();
505 child->renderNode->decParentRefCount(observer, info);
521 RenderNode* childNode = op->renderNode;
544 child->renderNode->destroyHardwareResources(observer, info);
711 childOp->renderNode->computeOrderingImpl(childOp, &mProjectedNodes, &mat4::identity());
742 RenderNode* child = childOp->renderNode;
829 RenderNode* child = childOp->renderNode;
[all...]
H A DRecordedOp.h183 RenderNodeOp(BASE_PARAMS_PAINTLESS, RenderNode* renderNode) argument
185 , renderNode(renderNode) {}
186 RenderNode * renderNode; // not const, since drawing modifies it member in struct:android::uirenderer::RenderNodeOp
H A DLayer.h113 void updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom);
338 sp<RenderNode> renderNode; member in class:android::uirenderer::Layer
H A DDisplayListOp.h1412 DrawRenderNodeOp(RenderNode* renderNode, const mat4& transformFromParent, bool clipIsSimple) argument
1414 renderNode->stagingProperties().getWidth(),
1415 renderNode->stagingProperties().getHeight(),
1417 , renderNode(renderNode)
1424 if (renderNode->isRenderable() && !skipInOrderDraw) {
1425 renderNode->defer(deferStruct, level + 1);
1431 if (renderNode->isRenderable() && !skipInOrderDraw) {
1432 renderNode->replay(replayStruct, level + 1);
1441 OP_LOG("Draw RenderNode %p %s", renderNode, renderNod
1450 RenderNode* renderNode; member in class:android::uirenderer::DrawRenderNodeOp
[all...]
H A DDisplayListCanvas.cpp213 void DisplayListCanvas::drawRenderNode(RenderNode* renderNode) { argument
214 LOG_ALWAYS_FATAL_IF(!renderNode, "missing rendernode");
216 renderNode,
569 if (op->renderNode->stagingProperties().isProjectionReceiver()) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java65 /*package*/ static void nDestroyRenderNode(long renderNode) { argument
66 sManager.removeJavaReferenceFor(renderNode);
70 /*package*/ static boolean nSetElevation(long renderNode, float lift) { argument
71 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
80 /*package*/ static float nGetElevation(long renderNode) { argument
81 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
89 /*package*/ static boolean nSetTranslationX(long renderNode, float translationX) { argument
90 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
99 /*package*/ static float nGetTranslationX(long renderNode) { argument
100 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
108 nSetTranslationY(long renderNode, float translationY) argument
118 nGetTranslationY(long renderNode) argument
127 nSetTranslationZ(long renderNode, float translationZ) argument
137 nGetTranslationZ(long renderNode) argument
146 nSetRotation(long renderNode, float rotation) argument
156 nGetRotation(long renderNode) argument
165 getMatrix(RenderNode renderNode, Matrix outMatrix) argument
183 nSetLeft(long renderNode, int left) argument
193 nSetTop(long renderNode, int top) argument
203 nSetRight(long renderNode, int right) argument
213 nSetBottom(long renderNode, int bottom) argument
223 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
238 nIsPivotExplicitlySet(long renderNode) argument
244 nSetPivotX(long renderNode, float pivotX) argument
255 nGetPivotX(long renderNode) argument
268 nSetPivotY(long renderNode, float pivotY) argument
279 nGetPivotY(long renderNode) argument
292 nSetScaleX(long renderNode, float scaleX) argument
302 nGetScaleX(long renderNode) argument
311 nSetScaleY(long renderNode, float scaleY) argument
321 nGetScaleY(long renderNode) argument
[all...]
/frameworks/base/core/java/android/view/
H A DRenderNode.java815 private static native void nDestroyRenderNode(long renderNode); argument
816 private static native void nSetDisplayList(long renderNode, long newData); argument
820 private static native void nGetTransformMatrix(long renderNode, long nativeMatrix); argument
821 private static native void nGetInverseTransformMatrix(long renderNode, long nativeMatrix); argument
822 private static native boolean nHasIdentityMatrix(long renderNode); argument
826 private static native boolean nOffsetTopAndBottom(long renderNode, int offset); argument
827 private static native boolean nOffsetLeftAndRight(long renderNode, int offset); argument
828 private static native boolean nSetLeftTopRightBottom(long renderNode, int left, int top, argument
830 private static native boolean nSetBottom(long renderNode, int bottom); argument
831 private static native boolean nSetRight(long renderNode, in argument
832 nSetTop(long renderNode, int top) argument
833 nSetLeft(long renderNode, int left) argument
834 nSetCameraDistance(long renderNode, float distance) argument
835 nSetPivotY(long renderNode, float pivotY) argument
836 nSetPivotX(long renderNode, float pivotX) argument
837 nSetLayerType(long renderNode, int layerType) argument
838 nSetLayerPaint(long renderNode, long paint) argument
839 nSetClipToBounds(long renderNode, boolean clipToBounds) argument
840 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument
842 nSetClipBoundsEmpty(long renderNode) argument
843 nSetProjectBackwards(long renderNode, boolean shouldProject) argument
844 nSetProjectionReceiver(long renderNode, boolean shouldRecieve) argument
845 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument
847 nSetOutlineConvexPath(long renderNode, long nativePath, float alpha) argument
849 nSetOutlineEmpty(long renderNode) argument
850 nSetOutlineNone(long renderNode) argument
851 nHasShadow(long renderNode) argument
852 nSetClipToOutline(long renderNode, boolean clipToOutline) argument
853 nSetRevealClip(long renderNode, boolean shouldClip, float x, float y, float radius) argument
855 nSetAlpha(long renderNode, float alpha) argument
856 nSetHasOverlappingRendering(long renderNode, boolean hasOverlappingRendering) argument
858 nSetElevation(long renderNode, float lift) argument
859 nSetTranslationX(long renderNode, float translationX) argument
860 nSetTranslationY(long renderNode, float translationY) argument
861 nSetTranslationZ(long renderNode, float translationZ) argument
862 nSetRotation(long renderNode, float rotation) argument
863 nSetRotationX(long renderNode, float rotationX) argument
864 nSetRotationY(long renderNode, float rotationY) argument
865 nSetScaleX(long renderNode, float scaleX) argument
866 nSetScaleY(long renderNode, float scaleY) argument
867 nSetStaticMatrix(long renderNode, long nativeMatrix) argument
868 nSetAnimationMatrix(long renderNode, long animationMatrix) argument
870 nHasOverlappingRendering(long renderNode) argument
871 nGetClipToOutline(long renderNode) argument
872 nGetAlpha(long renderNode) argument
873 nGetCameraDistance(long renderNode) argument
874 nGetScaleX(long renderNode) argument
875 nGetScaleY(long renderNode) argument
876 nGetElevation(long renderNode) argument
877 nGetTranslationX(long renderNode) argument
878 nGetTranslationY(long renderNode) argument
879 nGetTranslationZ(long renderNode) argument
880 nGetRotation(long renderNode) argument
881 nGetRotationX(long renderNode) argument
882 nGetRotationY(long renderNode) argument
883 nIsPivotExplicitlySet(long renderNode) argument
884 nGetPivotX(long renderNode) argument
885 nGetPivotY(long renderNode) argument
886 nOutput(long renderNode) argument
887 nGetDebugSize(long renderNode) argument
889 nRequestPositionUpdates(long renderNode, SurfaceView callback) argument
895 nAddAnimator(long renderNode, long animatorPtr) argument
896 nEndAllAnimators(long renderNode) argument
[all...]
H A DViewPropertyAnimator.java985 final RenderNode renderNode = mView.mRenderNode;
988 renderNode.setTranslationX(value);
991 renderNode.setTranslationY(value);
994 renderNode.setTranslationZ(value);
997 renderNode.setRotation(value);
1000 renderNode.setRotationX(value);
1003 renderNode.setRotationY(value);
1006 renderNode.setScaleX(value);
1009 renderNode.setScaleY(value);
1012 renderNode
[all...]
H A DDisplayListCanvas.java207 * @param renderNode The RenderNode to draw.
209 public void drawRenderNode(RenderNode renderNode) { argument
210 nDrawRenderNode(mNativeCanvasWrapper, renderNode.getNativeDisplayList());
213 private static native void nDrawRenderNode(long renderer, long renderNode); argument
H A DGhostView.java51 RenderNode renderNode = mView.updateDisplayListIfDirty();
52 if (renderNode.isValid()) {
54 dlCanvas.drawRenderNode(renderNode);
H A DView.java15997 final RenderNode renderNode = mRenderNode;
16000 return renderNode;
16004 || !renderNode.isValid()
16008 if (renderNode.isValid()
16014 return renderNode; // no work needed
16025 final DisplayListCanvas canvas = renderNode.start(width, height);
16053 renderNode.end(canvas);
16054 setDisplayListProperties(renderNode);
16060 return renderNode;
16077 public void onRenderNodeDetached(RenderNode renderNode) { argument
16702 setDisplayListProperties(RenderNode renderNode) argument
17280 setBackgroundRenderNodeProperties(RenderNode renderNode) argument
17293 getDrawableRenderNode(Drawable drawable, RenderNode renderNode) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp100 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
101 renderNode->output();
106 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
107 return renderNode->getDebugSize();
112 RenderNode* renderNode = new RenderNode(); local
113 renderNode->incStrong(0);
116 renderNode->setName(textArray);
119 renderNode->setUserContext(new RenderNodeContext(env, thiz));
120 return reinterpret_cast<jlong>(renderNode);
125 RenderNode* renderNode local
139 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
206 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
215 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
224 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
232 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
240 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
246 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
255 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
356 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
380 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
386 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
392 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
398 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
404 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
410 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
416 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
422 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
428 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
434 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
440 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
446 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
452 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
458 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
464 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
475 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
503 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
510 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
521 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
528 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
644 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
[all...]
H A Dandroid_view_DisplayListCanvas.cpp186 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
187 canvas->drawRenderNode(renderNode);
H A Dandroid_view_ThreadedRenderer.cpp191 for (auto& renderNode : mPendingAnimatingRenderNodes) {
192 renderNode->animators().endAllStagingAnimators();
646 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
647 proxy->addRenderNode(renderNode, placeFront);
653 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
654 proxy->removeRenderNode(renderNode);
660 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
661 proxy->drawRenderNode(renderNode);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DProjectionActivity.java49 RenderNode renderNode = updateDisplayListIfDirty();
50 if (renderNode != null) {
51 renderNode.setProjectBackwards(value);
/frameworks/base/libs/hwui/tests/unit/
H A DLayerUpdateQueueTests.cpp51 EXPECT_EQ(a.get(), queue.entries()[0].renderNode);
53 EXPECT_EQ(b.get(), queue.entries()[1].renderNode);
55 EXPECT_EQ(c.get(), queue.entries()[2].renderNode);
68 EXPECT_EQ(a.get(), queue.entries()[0].renderNode);

Completed in 408 milliseconds

12