Searched defs:renderNode (Results 1 - 24 of 24) sorted by relevance

/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.h36 Entry(RenderNode* renderNode, const Rect& damage) argument
37 : renderNode(renderNode)
39 sp<RenderNode> renderNode; member in struct:android::uirenderer::LayerUpdateQueue::Entry
44 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
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::__anon1227
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 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 DRecordedOp.h184 RenderNodeOp(BASE_PARAMS_PAINTLESS, RenderNode* renderNode) argument
186 , renderNode(renderNode) {}
187 RenderNode * renderNode; // not const, since drawing modifies it member in struct:android::uirenderer::RenderNodeOp
H A DFrameBuilder.cpp81 RenderNode* layerNode = layers.entries()[i].renderNode.get();
110 void FrameBuilder::deferRenderNode(RenderNode& renderNode) { argument
111 renderNode.computeOrdering();
114 deferNodePropsAndOps(renderNode);
118 void FrameBuilder::deferRenderNode(float tx, float ty, Rect clipRect, RenderNode& renderNode) { argument
119 renderNode.computeOrdering();
125 deferNodePropsAndOps(renderNode);
320 RenderNode* child = childOp->renderNode;
397 auto& node = *casterNodeOp.renderNode;
470 void FrameBuilder::deferProjectedChildren(const RenderNode& renderNode) { argument
514 deferNodeOps(const RenderNode& renderNode) argument
809 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 DRecordingCanvas.cpp583 void RecordingCanvas::drawRenderNode(RenderNode* renderNode) { argument
584 auto&& stagingProps = renderNode->stagingProperties();
589 renderNode);
598 if (renderNode->stagingProperties().isProjectionReceiver()) {
H A DSkiaCanvas.cpp769 void SkiaCanvas::drawRenderNode(uirenderer::RenderNode* renderNode) { argument
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.h33 explicit SkiaRecordingCanvas(uirenderer::RenderNode* renderNode, int width, int height) { argument
34 initDisplayList(renderNode, width, height);
42 uirenderer::RenderNode* renderNode) override {
43 initDisplayList(renderNode, width, height);
72 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) override;
84 * @param renderNode is optional and used to recycle an old display list.
88 void initDisplayList(uirenderer::RenderNode* renderNode, int width, int height);
H A DRenderNodeDrawable.cpp102 RenderNode* renderNode = mRenderNode.get(); local
104 SkRect dimensions = SkRect::MakeWH(renderNode->getWidth(), renderNode->getHeight());
105 canvas->drawAnnotation(dimensions, renderNode->getName(), nullptr);
111 if (!renderNode->isRenderable() || (renderNode->nothingToDraw() && mComposeLayer)) {
115 SkASSERT(renderNode->getDisplayList()->isSkiaDL());
116 SkiaDisplayList* displayList = (SkiaDisplayList*)renderNode->getDisplayList();
155 RenderNode* renderNode = mRenderNode.get(); local
157 const RenderProperties& properties = renderNode
[all...]
H A DSkiaRecordingCanvas.cpp34 void SkiaRecordingCanvas::initDisplayList(uirenderer::RenderNode* renderNode, int width, argument
39 if (renderNode) {
40 mDisplayList = renderNode->detachAvailableList();
100 void SkiaRecordingCanvas::drawRenderNode(uirenderer::RenderNode* renderNode) { argument
102 mDisplayList->mChildNodes.emplace_back(renderNode, asSkCanvas(), true, mCurrentBarrier);
107 if (renderNode->stagingProperties().isProjectionReceiver()) {
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaDisplayListTests.cpp68 sp<RenderNode> renderNode = new RenderNode(); local
72 availableList = renderNode->detachAvailableList();
77 ASSERT_TRUE(skiaDL.reuseDisplayList(renderNode.get(), nullptr));
80 availableList = renderNode->detachAvailableList();
85 availableList = renderNode->detachAvailableList();
149 sp<RenderNode> renderNode = new RenderNode(); local
152 skiaDL.mChildNodes.emplace_back(renderNode.get(), &dummyCanvas);
155 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, bool r) {
157 ASSERT_EQ(renderNode.get(), n);
169 sp<RenderNode> renderNode local
[all...]
H A DRenderNodeDrawableTests.cpp537 static int drawNode(RenderThread& renderThread, const sp<RenderNode>& renderNode) argument
541 renderThread, false, renderNode.get(), &contextFactory));
545 renderNode->prepareTree(info);
549 RenderNodeDrawable drawable(renderNode.get(), &canvas, false);
896 TEST(RenderNodeDrawable, renderNode) {
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp31 Canvas* Canvas::create_recording_canvas(int width, int height, uirenderer::RenderNode* renderNode) { argument
33 return new uirenderer::skiapipeline::SkiaRecordingCanvas(renderNode, width, height);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java77 /*package*/ static boolean nSetElevation(long renderNode, float lift) { argument
78 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
87 /*package*/ static float nGetElevation(long renderNode) { argument
88 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
96 /*package*/ static boolean nSetTranslationX(long renderNode, float translationX) { argument
97 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
106 /*package*/ static float nGetTranslationX(long renderNode) { argument
107 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
115 /*package*/ static boolean nSetTranslationY(long renderNode, float translationY) { argument
116 RenderNode_Delegate delegate = sManager.getDelegate(renderNode);
125 nGetTranslationY(long renderNode) argument
134 nSetTranslationZ(long renderNode, float translationZ) argument
144 nGetTranslationZ(long renderNode) argument
153 nSetRotation(long renderNode, float rotation) argument
163 nGetRotation(long renderNode) argument
172 getMatrix(RenderNode renderNode, Matrix outMatrix) argument
190 nSetLeft(long renderNode, int left) argument
200 nSetTop(long renderNode, int top) argument
210 nSetRight(long renderNode, int right) argument
220 nSetBottom(long renderNode, int bottom) argument
230 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
245 nIsPivotExplicitlySet(long renderNode) argument
251 nSetPivotX(long renderNode, float pivotX) argument
262 nGetPivotX(long renderNode) argument
275 nSetPivotY(long renderNode, float pivotY) argument
286 nGetPivotY(long renderNode) argument
299 nSetScaleX(long renderNode, float scaleX) argument
309 nGetScaleX(long renderNode) argument
318 nSetScaleY(long renderNode, float scaleY) argument
328 nGetScaleY(long renderNode) argument
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayListCanvas.java186 * @param renderNode The RenderNode to draw.
188 public void drawRenderNode(RenderNode renderNode) { argument
189 nDrawRenderNode(mNativeCanvasWrapper, renderNode.getNativeDisplayList());
258 private static native void nDrawRenderNode(long renderer, long renderNode); argument
H A DRenderNode.java828 private static native void nOutput(long renderNode); argument
829 private static native int nGetDebugSize(long renderNode); argument
830 private static native void nRequestPositionUpdates(long renderNode, SurfaceView callback); argument
834 private static native void nAddAnimator(long renderNode, long animatorPtr); argument
835 private static native void nEndAllAnimators(long renderNode); argument
843 private static native void nSetDisplayList(long renderNode, long newData); argument
851 private static native boolean nIsValid(long renderNode); argument
856 private static native void nGetTransformMatrix(long renderNode, long nativeMatrix); argument
858 private static native void nGetInverseTransformMatrix(long renderNode, long nativeMatrix); argument
860 private static native boolean nHasIdentityMatrix(long renderNode); argument
865 nOffsetTopAndBottom(long renderNode, int offset) argument
867 nOffsetLeftAndRight(long renderNode, int offset) argument
869 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
872 nSetBottom(long renderNode, int bottom) argument
874 nSetRight(long renderNode, int right) argument
876 nSetTop(long renderNode, int top) argument
878 nSetLeft(long renderNode, int left) argument
880 nSetCameraDistance(long renderNode, float distance) argument
882 nSetPivotY(long renderNode, float pivotY) argument
884 nSetPivotX(long renderNode, float pivotX) argument
886 nSetLayerType(long renderNode, int layerType) argument
888 nSetLayerPaint(long renderNode, long paint) argument
890 nSetClipToBounds(long renderNode, boolean clipToBounds) argument
892 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument
895 nSetClipBoundsEmpty(long renderNode) argument
897 nSetProjectBackwards(long renderNode, boolean shouldProject) argument
899 nSetProjectionReceiver(long renderNode, boolean shouldRecieve) argument
901 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument
904 nSetOutlineConvexPath(long renderNode, long nativePath, float alpha) argument
907 nSetOutlineEmpty(long renderNode) argument
909 nSetOutlineNone(long renderNode) argument
911 nHasShadow(long renderNode) argument
913 nSetClipToOutline(long renderNode, boolean clipToOutline) argument
915 nSetRevealClip(long renderNode, boolean shouldClip, float x, float y, float radius) argument
918 nSetAlpha(long renderNode, float alpha) argument
920 nSetHasOverlappingRendering(long renderNode, boolean hasOverlappingRendering) argument
923 nSetElevation(long renderNode, float lift) argument
925 nSetTranslationX(long renderNode, float translationX) argument
927 nSetTranslationY(long renderNode, float translationY) argument
929 nSetTranslationZ(long renderNode, float translationZ) argument
931 nSetRotation(long renderNode, float rotation) argument
933 nSetRotationX(long renderNode, float rotationX) argument
935 nSetRotationY(long renderNode, float rotationY) argument
937 nSetScaleX(long renderNode, float scaleX) argument
939 nSetScaleY(long renderNode, float scaleY) argument
941 nSetStaticMatrix(long renderNode, long nativeMatrix) argument
943 nSetAnimationMatrix(long renderNode, long animationMatrix) argument
946 nHasOverlappingRendering(long renderNode) argument
948 nGetClipToOutline(long renderNode) argument
950 nGetAlpha(long renderNode) argument
952 nGetCameraDistance(long renderNode) argument
954 nGetScaleX(long renderNode) argument
956 nGetScaleY(long renderNode) argument
958 nGetElevation(long renderNode) argument
960 nGetTranslationX(long renderNode) argument
962 nGetTranslationY(long renderNode) argument
964 nGetTranslationZ(long renderNode) argument
966 nGetRotation(long renderNode) argument
968 nGetRotationX(long renderNode) argument
970 nGetRotationY(long renderNode) argument
972 nIsPivotExplicitlySet(long renderNode) argument
974 nGetPivotX(long renderNode) argument
976 nGetPivotY(long renderNode) argument
[all...]
H A DThreadedRenderer.java1038 private static native Bitmap nCreateHardwareBitmap(long renderNode, int width, int height); argument
H A DView.java18013 final RenderNode renderNode = mRenderNode;
18016 return renderNode;
18020 || !renderNode.isValid()
18024 if (renderNode.isValid()
18030 return renderNode; // no work needed
18041 final DisplayListCanvas canvas = renderNode.start(width, height);
18073 renderNode.end(canvas);
18074 setDisplayListProperties(renderNode);
18080 return renderNode;
18716 void setDisplayListProperties(RenderNode renderNode) { argument
19347 setBackgroundRenderNodeProperties(RenderNode renderNode) argument
19360 getDrawableRenderNode(Drawable drawable, RenderNode renderNode) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_DisplayListCanvas.cpp118 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
119 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode));
125 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
126 canvas->resetRecording(width, height, renderNode);
156 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
157 canvas->drawRenderNode(renderNode);
H A Dandroid_view_RenderNode.cpp51 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
52 renderNode->output();
56 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
57 return renderNode->getDebugSize();
61 RenderNode* renderNode = new RenderNode(); local
62 renderNode->incStrong(0);
65 renderNode->setName(textArray);
68 return reinterpret_cast<jlong>(renderNode);
71 static void releaseRenderNode(RenderNode* renderNode) { argument
72 renderNode
82 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
142 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
151 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
159 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
166 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
173 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
179 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
187 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
270 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
291 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
296 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
301 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
306 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
311 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
316 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
321 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
326 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
331 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
336 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
341 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
346 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
351 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
356 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
361 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
371 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
398 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
404 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
415 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
422 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
525 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
[all...]
H A Dandroid_view_ThreadedRenderer.cpp334 for (auto& renderNode : mPendingAnimatingRenderNodes) {
335 renderNode->animators().endAllStagingAnimators();
832 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
833 proxy->addRenderNode(renderNode, placeFront);
839 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
840 proxy->removeRenderNode(renderNode);
846 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
847 proxy->drawRenderNode(renderNode);
874 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); local
897 RenderProxy proxy{false, renderNode,
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java193 RenderNode renderNode; field in class:Editor.TextRenderNode
198 renderNode = RenderNode.create(name, null);
203 return isDirty || !renderNode.isValid();
459 ? mTextRenderNodes[i].renderNode : null;
1778 RenderNode blockDisplayList = mTextRenderNodes[blockIndex].renderNode;

Completed in 300 milliseconds