/frameworks/base/graphics/java/android/graphics/ |
D | RenderNode.java | 1643 void registerAnimatingRenderNode(RenderNode renderNode, Animator animator); in registerAnimatingRenderNode() argument 1692 private static native void nOutput(long renderNode); in nOutput() argument 1694 private static native int nGetUsageSize(long renderNode); in nGetUsageSize() argument 1695 private static native int nGetAllocatedSize(long renderNode); in nGetAllocatedSize() argument 1697 private static native void nRequestPositionUpdates(long renderNode, in nRequestPositionUpdates() argument 1702 private static native void nAddAnimator(long renderNode, long animatorPtr); in nAddAnimator() argument 1704 private static native void nEndAllAnimators(long renderNode); in nEndAllAnimators() argument 1706 private static native void nForceEndAnimators(long renderNode); in nForceEndAnimators() argument 1713 private static native void nDiscardDisplayList(long renderNode); in nDiscardDisplayList() argument 1716 private static native boolean nIsValid(long renderNode); in nIsValid() argument [all …]
|
D | RecordingCanvas.java | 178 public void drawRenderNode(@NonNull RenderNode renderNode) { in drawRenderNode() argument 179 nDrawRenderNode(mNativeCanvasWrapper, renderNode.mNativeRenderNode); in drawRenderNode() 284 private static native void nFinishRecording(long renderer, long renderNode); in nFinishRecording() argument 286 private static native void nDrawRenderNode(long renderer, long renderNode); in nDrawRenderNode() argument
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 44 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_output() local 45 renderNode->output(); in android_view_RenderNode_output() 49 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getUsageSize() local 50 return renderNode->getUsageSize(); in android_view_RenderNode_getUsageSize() 54 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getAllocatedSize() local 55 return renderNode->getAllocatedSize(); in android_view_RenderNode_getAllocatedSize() 59 RenderNode* renderNode = new RenderNode(); in android_view_RenderNode_create() local 60 renderNode->incStrong(0); in android_view_RenderNode_create() 63 renderNode->setName(textArray); in android_view_RenderNode_create() 66 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create() [all …]
|
D | android_graphics_DisplayListCanvas.cpp | 73 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_createDisplayListCanvas() local 74 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode)); in android_view_DisplayListCanvas_createDisplayListCanvas() 80 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_resetDisplayListCanvas() local 81 canvas->resetRecording(width, height, renderNode); in android_view_DisplayListCanvas_resetDisplayListCanvas() 97 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_finishRecording() local 98 canvas->finishRecording(renderNode); in android_view_DisplayListCanvas_finishRecording() 103 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_drawRenderNode() local 104 canvas->drawRenderNode(renderNode); in android_view_DisplayListCanvas_drawRenderNode()
|
D | android_graphics_HardwareRenderer.cpp | 420 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_addRenderNode() local 421 proxy->addRenderNode(renderNode, placeFront); in android_view_ThreadedRenderer_addRenderNode() 427 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_removeRenderNode() local 428 proxy->removeRenderNode(renderNode); in android_view_ThreadedRenderer_removeRenderNode() 434 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRendererd_drawRenderNode() local 435 proxy->drawRenderNode(renderNode); in android_view_ThreadedRendererd_drawRenderNode() 727 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() local 764 RenderProxy proxy{true, renderNode, &factory}; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
|
/frameworks/base/libs/hwui/ |
D | LayerUpdateQueue.cpp | 28 void LayerUpdateQueue::enqueueLayerWithDamage(RenderNode* renderNode, Rect damage) { in enqueueLayerWithDamage() argument 30 damage.doIntersect(0, 0, renderNode->getWidth(), renderNode->getHeight()); in enqueueLayerWithDamage() 33 if (CC_UNLIKELY(entry.renderNode == renderNode)) { in enqueueLayerWithDamage() 38 mEntries.emplace_back(renderNode, damage); in enqueueLayerWithDamage()
|
D | LayerUpdateQueue.h | 38 Entry(RenderNode* renderNode, const Rect& damage) in Entry() 39 : renderNode(renderNode), damage(damage) {} in Entry() 40 sp<RenderNode> renderNode; member 45 void enqueueLayerWithDamage(RenderNode* renderNode, Rect dirty);
|
D | DamageAccumulator.cpp | 37 const RenderNode* renderNode; member 61 currentFrame->renderNode->applyViewPropertyTransforms(*outMatrix); in computeTransformImpl() 94 mHead->renderNode = transform; in pushTransform() 190 if (frame->type == TransformRenderNode && frame->renderNode->hasProjectionReceiver()) { in findProjectionReceiver() 202 mapRect(frame->renderNode->properties(), *rect, rect); in applyTransforms() 215 const RenderProperties& props = frame->renderNode->properties(); in applyRenderNodeTransform() 254 const RenderProperties& props = frame->renderNode->properties(); in computeClipAndTransform() 265 frame->renderNode->applyViewPropertyTransforms(transform); in computeClipAndTransform() 307 const auto& renderNode = frame->renderNode; in findNearestStretchEffect() local 308 const auto& frameRenderNodeProperties = renderNode->properties(); in findNearestStretchEffect()
|
D | RootRenderNode.cpp | 213 for (auto& renderNode : mPendingAnimatingRenderNodes) { in destroy() local 214 renderNode->animators().endAllStagingAnimators(); in destroy()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.cpp | 152 RenderNode* renderNode = mRenderNode.get(); in forceDraw() local 153 MarkDraw _marker{*canvas, *renderNode}; in forceDraw() 158 if ((mProjectedDisplayList == nullptr && !renderNode->isRenderable()) || in forceDraw() 159 (renderNode->nothingToDraw() && mComposeLayer)) { in forceDraw() 163 SkiaDisplayList* displayList = renderNode->getDisplayList().asSkiaDl(); in forceDraw() 221 RenderNode* renderNode = mRenderNode.get(); in drawContent() local 223 const RenderProperties& properties = renderNode->properties(); in drawContent() 241 SkiaDisplayList* displayList = renderNode->getDisplayList().asSkiaDl(); in drawContent() 244 if (renderNode->getLayerSurface() && mComposeLayer) { in drawContent() 260 snapshotImage = renderNode->getLayerSurface()->makeImageSnapshot(); in drawContent() [all …]
|
D | SkiaRecordingCanvas.h | 40 explicit SkiaRecordingCanvas(uirenderer::RenderNode* renderNode, int width, int height) { in SkiaRecordingCanvas() argument 41 initDisplayList(renderNode, width, height); in SkiaRecordingCanvas() 49 uirenderer::RenderNode* renderNode = nullptr) override { 50 initDisplayList(renderNode, width, height); 86 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) override; 104 void initDisplayList(uirenderer::RenderNode* renderNode, int width, int height);
|
D | SkiaRecordingCanvas.cpp | 57 void SkiaRecordingCanvas::initDisplayList(uirenderer::RenderNode* renderNode, int width, in initDisplayList() argument 62 if (renderNode) { in initDisplayList() 63 mDisplayList = renderNode->detachAvailableList(); in initDisplayList() 164 void SkiaRecordingCanvas::drawRenderNode(uirenderer::RenderNode* renderNode) { in drawRenderNode() argument 166 mDisplayList->mChildNodes.emplace_back(renderNode, asSkCanvas(), true, mCurrentBarrier); in drawRenderNode() 170 renderNode->mutateStagingProperties().setClipMayBeComplex(mRecorder.isClipMayBeComplex()); in drawRenderNode() 174 if (renderNode->stagingProperties().layerProperties().getBackdropImageFilter()) { in drawRenderNode() 176 mDisplayList->allocateDrawable<BackdropFilterDrawable>(renderNode, asSkCanvas()); in drawRenderNode() 183 if (renderNode->stagingProperties().isProjectionReceiver()) { in drawRenderNode()
|
D | BackdropFilterDrawable.h | 37 BackdropFilterDrawable(RenderNode* renderNode, SkCanvas* canvas) in BackdropFilterDrawable() argument 38 : mTargetRenderNode(renderNode), mBounds(canvas->getLocalClipBounds()) {} in BackdropFilterDrawable()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 77 sp<RenderNode> renderNode = new RenderNode(); in TEST() local 81 availableList = renderNode->detachAvailableList(); in TEST() 86 ASSERT_TRUE(skiaDL.reuseDisplayList(renderNode.get())); in TEST() 89 availableList = renderNode->detachAvailableList(); in TEST() 94 availableList = renderNode->detachAvailableList(); in TEST() 206 sp<RenderNode> renderNode = new RenderNode(); in RENDERTHREAD_TEST() local 209 skiaDL.mChildNodes.emplace_back(renderNode.get(), &dummyCanvas); in RENDERTHREAD_TEST() 213 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, in RENDERTHREAD_TEST() 216 ASSERT_EQ(renderNode.get(), n); in RENDERTHREAD_TEST() 390 sp<RenderNode> renderNode = new RenderNode(); in TEST() local [all …]
|
D | LayerUpdateQueueTests.cpp | 51 EXPECT_EQ(a.get(), queue.entries()[0].renderNode.get()); in TEST() 53 EXPECT_EQ(b.get(), queue.entries()[1].renderNode.get()); in TEST() 55 EXPECT_EQ(c.get(), queue.entries()[2].renderNode.get()); in TEST() 68 EXPECT_EQ(a.get(), queue.entries()[0].renderNode.get()); in TEST()
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 979 final RenderNode renderNode = mView.mRenderNode; in setValue() local 982 renderNode.setTranslationX(value); in setValue() 985 renderNode.setTranslationY(value); in setValue() 988 renderNode.setTranslationZ(value); in setValue() 991 renderNode.setRotationZ(value); in setValue() 994 renderNode.setRotationX(value); in setValue() 997 renderNode.setRotationY(value); in setValue() 1000 renderNode.setScaleX(value); in setValue() 1003 renderNode.setScaleY(value); in setValue() 1006 renderNode.setTranslationX(value - mView.mLeft); in setValue() [all …]
|
D | ViewAnimationHostBridge.java | 42 public void registerAnimatingRenderNode(RenderNode renderNode, Animator animator) { in registerAnimatingRenderNode() argument 43 mView.mAttachInfo.mViewRootImpl.registerAnimatingRenderNode(renderNode); in registerAnimatingRenderNode()
|
D | GhostView.java | 55 RenderNode renderNode = mView.updateDisplayListIfDirty(); in onDraw() local 56 if (renderNode.hasDisplayList()) { in onDraw() 58 dlCanvas.drawRenderNode(renderNode); in onDraw()
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/materials/ |
D | GlassView.kt | 154 renderNode.setRenderEffect( 160 private val renderNode = RenderNode("GlassRenderNode") constant 195 canvas.drawRenderNode(renderNode) in onDraw() 206 renderNode.setPosition(0, 0, getWidth(), getHeight()) in updateGlassRenderNode() 208 val canvas = renderNode.beginRecording() in updateGlassRenderNode() 225 renderNode.endRecording() in updateGlassRenderNode()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowIconDrawable.kt | 58 val renderNode = RenderNode("DoubleShadowNode") in createShadowRenderNode() constant 59 renderNode.setPosition(0, 0, mCanvasSize, mCanvasSize) in createShadowRenderNode() 76 renderNode.setRenderEffect(blend) in createShadowRenderNode() 77 return renderNode in createShadowRenderNode()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | ProjectionActivity.java | 48 RenderNode renderNode = updateDisplayListIfDirty(); in setProject() local 49 if (renderNode != null) { in setProject() 50 renderNode.setProjectBackwards(value); in setProject()
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 633 RenderNode renderNode = recordingCanvas.mNode; in draw() local 635 float left = renderNode.getLeft() in draw() 637 float top = renderNode.getTop() in draw() 639 float right = renderNode.getLeft() in draw() 641 float bottom = renderNode.getTop() in draw() 654 renderNode.stretch( in draw()
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOpBuffer.cpp | 29 updateFn(iter->renderNode.get()); in updateChildren()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 97 int width, int height, uirenderer::RenderNode* renderNode = nullptr); 130 uirenderer::RenderNode* renderNode = nullptr) = 0; 150 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) = 0;
|
D | Canvas.cpp | 34 Canvas* Canvas::create_recording_canvas(int width, int height, uirenderer::RenderNode* renderNode) { in create_recording_canvas() argument 35 return new uirenderer::skiapipeline::SkiaRecordingCanvas(renderNode, width, height); in create_recording_canvas()
|