/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RenderNode_Delegate.java | 75 /*package*/ static boolean nSetElevation(long renderNode, float lift) { in nSetElevation() argument 76 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetElevation() 85 /*package*/ static float nGetElevation(long renderNode) { in nGetElevation() argument 86 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetElevation() 94 /*package*/ static boolean nSetTranslationX(long renderNode, float translationX) { in nSetTranslationX() argument 95 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationX() 104 /*package*/ static float nGetTranslationX(long renderNode) { in nGetTranslationX() argument 105 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nGetTranslationX() 113 /*package*/ static boolean nSetTranslationY(long renderNode, float translationY) { in nSetTranslationY() argument 114 RenderNode_Delegate delegate = sManager.getDelegate(renderNode); in nSetTranslationY() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | RenderNode.java | 1572 private static native void nOutput(long renderNode); in nOutput() argument 1574 private static native int nGetUsageSize(long renderNode); in nGetUsageSize() argument 1575 private static native int nGetAllocatedSize(long renderNode); in nGetAllocatedSize() argument 1577 private static native void nRequestPositionUpdates(long renderNode, in nRequestPositionUpdates() argument 1582 private static native void nAddAnimator(long renderNode, long animatorPtr); in nAddAnimator() argument 1584 private static native void nEndAllAnimators(long renderNode); in nEndAllAnimators() argument 1591 private static native void nDiscardDisplayList(long renderNode); in nDiscardDisplayList() argument 1594 private static native boolean nIsValid(long renderNode); in nIsValid() argument 1599 private static native void nGetTransformMatrix(long renderNode, long nativeMatrix); in nGetTransformMatrix() argument 1602 private static native void nGetInverseTransformMatrix(long renderNode, long nativeMatrix); in nGetInverseTransformMatrix() argument [all …]
|
D | RecordingCanvas.java | 178 public void drawRenderNode(@NonNull RenderNode renderNode) { in drawRenderNode() argument 179 nDrawRenderNode(mNativeCanvasWrapper, renderNode.mNativeRenderNode); in drawRenderNode() 286 private static native void nFinishRecording(long renderer, long renderNode); in nFinishRecording() argument 288 private static native void nDrawRenderNode(long renderer, long renderNode); in nDrawRenderNode() argument
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_RenderNode.cpp | 46 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_output() local 47 renderNode->output(); in android_view_RenderNode_output() 51 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getUsageSize() local 52 return renderNode->getUsageSize(); in android_view_RenderNode_getUsageSize() 56 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getAllocatedSize() local 57 return renderNode->getAllocatedSize(); in android_view_RenderNode_getAllocatedSize() 61 RenderNode* renderNode = new RenderNode(); in android_view_RenderNode_create() local 62 renderNode->incStrong(0); in android_view_RenderNode_create() 65 renderNode->setName(textArray); in android_view_RenderNode_create() 68 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create() [all …]
|
D | android_graphics_DisplayListCanvas.cpp | 76 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_createDisplayListCanvas() local 77 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode)); in android_view_DisplayListCanvas_createDisplayListCanvas() 83 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_resetDisplayListCanvas() local 84 canvas->resetRecording(width, height, renderNode); in android_view_DisplayListCanvas_resetDisplayListCanvas() 104 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_finishRecording() local 105 canvas->finishRecording(renderNode); in android_view_DisplayListCanvas_finishRecording() 110 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_drawRenderNode() local 111 canvas->drawRenderNode(renderNode); in android_view_DisplayListCanvas_drawRenderNode()
|
D | android_graphics_HardwareRenderer.cpp | 382 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_addRenderNode() local 383 proxy->addRenderNode(renderNode, placeFront); in android_view_ThreadedRenderer_addRenderNode() 389 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_removeRenderNode() local 390 proxy->removeRenderNode(renderNode); in android_view_ThreadedRenderer_removeRenderNode() 396 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRendererd_drawRenderNode() local 397 proxy->drawRenderNode(renderNode); in android_view_ThreadedRendererd_drawRenderNode() 673 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() local 710 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 frame->renderNode->applyViewPropertyTransforms(*outMatrix); in computeTransformImpl() 236 const RenderProperties& props = frame->renderNode->properties(); in applyRenderNodeTransform() 285 const auto& headProperties = mHead->renderNode->properties(); in findNearestStretchEffect() 290 const auto& renderNode = frame->renderNode; in findNearestStretchEffect() local 291 const auto& frameRenderNodeProperties = renderNode->properties(); in findNearestStretchEffect()
|
D | RootRenderNode.cpp | 212 for (auto& renderNode : mPendingAnimatingRenderNodes) { in destroy() local 213 renderNode->animators().endAllStagingAnimators(); in destroy()
|
D | SkiaCanvas.h | 53 uirenderer::RenderNode* renderNode) override { in resetRecording() argument 155 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) override;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.cpp | 139 RenderNode* renderNode = mRenderNode.get(); in forceDraw() local 140 MarkDraw _marker{*canvas, *renderNode}; in forceDraw() 145 if ((mProjectedDisplayList == nullptr && !renderNode->isRenderable()) || in forceDraw() 146 (renderNode->nothingToDraw() && mComposeLayer)) { in forceDraw() 150 SkiaDisplayList* displayList = renderNode->getDisplayList().asSkiaDl(); in forceDraw() 207 RenderNode* renderNode = mRenderNode.get(); in drawContent() local 209 const RenderProperties& properties = renderNode->properties(); in drawContent() 227 SkiaDisplayList* displayList = renderNode->getDisplayList().asSkiaDl(); in drawContent() 230 if (renderNode->getLayerSurface() && mComposeLayer) { in drawContent() 246 snapshotImage = renderNode->getLayerSurface()->makeImageSnapshot(); in drawContent() [all …]
|
D | SkiaRecordingCanvas.h | 35 explicit SkiaRecordingCanvas(uirenderer::RenderNode* renderNode, int width, int height) { in SkiaRecordingCanvas() argument 36 initDisplayList(renderNode, width, height); in SkiaRecordingCanvas() 44 uirenderer::RenderNode* renderNode = nullptr) override { 45 initDisplayList(renderNode, width, height); 80 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) override; 98 void initDisplayList(uirenderer::RenderNode* renderNode, int width, int height);
|
D | SkiaRecordingCanvas.cpp | 42 void SkiaRecordingCanvas::initDisplayList(uirenderer::RenderNode* renderNode, int width, in initDisplayList() argument 47 if (renderNode) { in initDisplayList() 48 mDisplayList = renderNode->detachAvailableList(); in initDisplayList() 147 void SkiaRecordingCanvas::drawRenderNode(uirenderer::RenderNode* renderNode) { in drawRenderNode() argument 149 mDisplayList->mChildNodes.emplace_back(renderNode, asSkCanvas(), true, mCurrentBarrier); in drawRenderNode() 153 renderNode->mutateStagingProperties().setClipMayBeComplex(mRecorder.isClipMayBeComplex()); in drawRenderNode() 158 if (renderNode->stagingProperties().isProjectionReceiver()) { in drawRenderNode()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 78 sp<RenderNode> renderNode = new RenderNode(); in TEST() local 82 availableList = renderNode->detachAvailableList(); in TEST() 87 ASSERT_TRUE(skiaDL.reuseDisplayList(renderNode.get())); in TEST() 90 availableList = renderNode->detachAvailableList(); in TEST() 95 availableList = renderNode->detachAvailableList(); in TEST() 181 sp<RenderNode> renderNode = new RenderNode(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 184 skiaDL.mChildNodes.emplace_back(renderNode.get(), &dummyCanvas); in RENDERTHREAD_SKIA_PIPELINE_TEST() 188 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, in RENDERTHREAD_SKIA_PIPELINE_TEST() 191 ASSERT_EQ(renderNode.get(), n); in RENDERTHREAD_SKIA_PIPELINE_TEST() 365 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 | 976 final RenderNode renderNode = mView.mRenderNode; in setValue() local 979 renderNode.setTranslationX(value); in setValue() 982 renderNode.setTranslationY(value); in setValue() 985 renderNode.setTranslationZ(value); in setValue() 988 renderNode.setRotationZ(value); in setValue() 991 renderNode.setRotationX(value); in setValue() 994 renderNode.setRotationY(value); in setValue() 997 renderNode.setScaleX(value); in setValue() 1000 renderNode.setScaleY(value); in setValue() 1003 renderNode.setTranslationX(value - mView.mLeft); in setValue() [all …]
|
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/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/tests/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()
|
D | CanvasOpBuffer.h | 86 if (op->renderNode->stagingProperties().isProjectionReceiver()) { in push_container()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 95 int width, int height, uirenderer::RenderNode* renderNode = nullptr); 128 uirenderer::RenderNode* renderNode = nullptr) = 0; 148 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) = 0;
|
D | Canvas.cpp | 32 Canvas* Canvas::create_recording_canvas(int width, int height, uirenderer::RenderNode* renderNode) { in create_recording_canvas() argument 33 return new uirenderer::skiapipeline::SkiaRecordingCanvas(renderNode, width, height); in create_recording_canvas()
|