/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 | 1486 private static native void nOutput(long renderNode); in nOutput() argument 1488 private static native int nGetDebugSize(long renderNode); in nGetDebugSize() argument 1490 private static native void nRequestPositionUpdates(long renderNode, in nRequestPositionUpdates() argument 1495 private static native void nAddAnimator(long renderNode, long animatorPtr); in nAddAnimator() argument 1497 private static native void nEndAllAnimators(long renderNode); in nEndAllAnimators() argument 1505 private static native void nSetDisplayList(long renderNode, long newData); in nSetDisplayList() argument 1513 private static native boolean nIsValid(long renderNode); in nIsValid() argument 1518 private static native void nGetTransformMatrix(long renderNode, long nativeMatrix); in nGetTransformMatrix() argument 1521 private static native void nGetInverseTransformMatrix(long renderNode, long nativeMatrix); in nGetInverseTransformMatrix() argument 1524 private static native boolean nHasIdentityMatrix(long renderNode); in nHasIdentityMatrix() argument [all …]
|
D | RecordingCanvas.java | 214 public void drawRenderNode(@NonNull RenderNode renderNode) { in drawRenderNode() argument 215 nDrawRenderNode(mNativeCanvasWrapper, renderNode.mNativeRenderNode); in drawRenderNode() 309 private static native void nDrawRenderNode(long renderer, long renderNode); in nDrawRenderNode() argument
|
D | HardwareRenderer.java | 1167 private static native Bitmap nCreateHardwareBitmap(long renderNode, int width, int height); in nCreateHardwareBitmap() argument
|
/frameworks/base/core/jni/ |
D | android_view_RenderNode.cpp | 52 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_output() local 53 renderNode->output(); in android_view_RenderNode_output() 57 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_RenderNode_getDebugSize() local 58 return renderNode->getDebugSize(); in android_view_RenderNode_getDebugSize() 62 RenderNode* renderNode = new RenderNode(); in android_view_RenderNode_create() local 63 renderNode->incStrong(0); in android_view_RenderNode_create() 66 renderNode->setName(textArray); in android_view_RenderNode_create() 69 return reinterpret_cast<jlong>(renderNode); in android_view_RenderNode_create() 72 static void releaseRenderNode(RenderNode* renderNode) { in releaseRenderNode() argument 73 renderNode->decStrong(0); in releaseRenderNode() [all …]
|
D | android_view_DisplayListCanvas.cpp | 109 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_createDisplayListCanvas() local 110 return reinterpret_cast<jlong>(Canvas::create_recording_canvas(width, height, renderNode)); in android_view_DisplayListCanvas_createDisplayListCanvas() 116 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_resetDisplayListCanvas() local 117 canvas->resetRecording(width, height, renderNode); in android_view_DisplayListCanvas_resetDisplayListCanvas() 137 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_DisplayListCanvas_drawRenderNode() local 138 canvas->drawRenderNode(renderNode); in android_view_DisplayListCanvas_drawRenderNode()
|
D | android_view_ThreadedRenderer.cpp | 352 for (auto& renderNode : mPendingAnimatingRenderNodes) { in destroy() local 353 renderNode->animators().endAllStagingAnimators(); in destroy() 816 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_addRenderNode() local 817 proxy->addRenderNode(renderNode, placeFront); in android_view_ThreadedRenderer_addRenderNode() 823 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_removeRenderNode() local 824 proxy->removeRenderNode(renderNode); in android_view_ThreadedRenderer_removeRenderNode() 830 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRendererd_drawRenderNode() local 831 proxy->drawRenderNode(renderNode); in android_view_ThreadedRendererd_drawRenderNode() 930 RenderNode* renderNode = reinterpret_cast<RenderNode*>(renderNodePtr); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() local 953 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() 172 if (frame->type == TransformRenderNode && frame->renderNode->hasProjectionReceiver()) { in findProjectionReceiver() 184 mapRect(frame->renderNode->properties(), *rect, rect); in applyTransforms() 197 const RenderProperties& props = frame->renderNode->properties(); in applyRenderNodeTransform()
|
D | SkiaCanvas.h | 50 uirenderer::RenderNode* renderNode) override { in resetRecording() argument 153 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) override;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.cpp | 137 RenderNode* renderNode = mRenderNode.get(); in forceDraw() local 138 MarkDraw _marker{*canvas, *renderNode}; in forceDraw() 143 if ((mProjectedDisplayList == nullptr && !renderNode->isRenderable()) || in forceDraw() 144 (renderNode->nothingToDraw() && mComposeLayer)) { in forceDraw() 148 SkiaDisplayList* displayList = (SkiaDisplayList*)renderNode->getDisplayList(); in forceDraw() 209 RenderNode* renderNode = mRenderNode.get(); in drawContent() local 211 const RenderProperties& properties = renderNode->properties(); in drawContent() 226 SkiaDisplayList* displayList = (SkiaDisplayList*)renderNode->getDisplayList(); in drawContent() 229 if (renderNode->getLayerSurface() && mComposeLayer) { in drawContent() 236 SkASSERT(renderNode->getLayerSurface()->width() >= bounds.width()); in drawContent() [all …]
|
D | SkiaRecordingCanvas.h | 33 explicit SkiaRecordingCanvas(uirenderer::RenderNode* renderNode, int width, int height) { in SkiaRecordingCanvas() argument 34 initDisplayList(renderNode, width, height); in SkiaRecordingCanvas() 42 uirenderer::RenderNode* renderNode) override { in resetRecording() argument 43 initDisplayList(renderNode, width, height); in resetRecording() 74 virtual void drawRenderNode(uirenderer::RenderNode* renderNode) override; 91 void initDisplayList(uirenderer::RenderNode* renderNode, int width, int height);
|
D | SkiaRecordingCanvas.cpp | 38 void SkiaRecordingCanvas::initDisplayList(uirenderer::RenderNode* renderNode, int width, in initDisplayList() argument 43 if (renderNode) { in initDisplayList() 44 mDisplayList = renderNode->detachAvailableList(); in initDisplayList() 112 void SkiaRecordingCanvas::drawRenderNode(uirenderer::RenderNode* renderNode) { in drawRenderNode() argument 114 mDisplayList->mChildNodes.emplace_back(renderNode, asSkCanvas(), true, mCurrentBarrier); in drawRenderNode() 118 renderNode->mutateStagingProperties().setClipMayBeComplex(mRecorder.isClipMayBeComplex()); in drawRenderNode() 123 if (renderNode->stagingProperties().isProjectionReceiver()) { in drawRenderNode()
|
D | SkiaPipeline.cpp | 97 RenderNode* layerNode = layers.entries()[i].renderNode.get(); in renderLayersImpl()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 75 sp<RenderNode> renderNode = new RenderNode(); in TEST() local 79 availableList = renderNode->detachAvailableList(); in TEST() 84 ASSERT_TRUE(skiaDL.reuseDisplayList(renderNode.get(), nullptr)); in TEST() 87 availableList = renderNode->detachAvailableList(); in TEST() 92 availableList = renderNode->detachAvailableList(); in TEST() 182 sp<RenderNode> renderNode = new RenderNode(); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 185 skiaDL.mChildNodes.emplace_back(renderNode.get(), &dummyCanvas); in RENDERTHREAD_SKIA_PIPELINE_TEST() 189 [&hasRun, renderNode, infoPtr](RenderNode* n, TreeObserver& observer, TreeInfo& i, in RENDERTHREAD_SKIA_PIPELINE_TEST() 192 ASSERT_EQ(renderNode.get(), n); in RENDERTHREAD_SKIA_PIPELINE_TEST() 367 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()
|
D | RenderNodeDrawableTests.cpp | 633 static int drawNode(RenderThread& renderThread, const sp<RenderNode>& renderNode) { in drawNode() argument 636 CanvasContext::create(renderThread, false, renderNode.get(), &contextFactory)); in drawNode() 640 renderNode->prepareTree(info); in drawNode() 644 RenderNodeDrawable drawable(renderNode.get(), &canvas, false); in drawNode() 1000 TEST(RenderNodeDrawable, renderNode) { in TEST() argument
|
D | RenderNodeTests.cpp | 327 EXPECT_EQ(rootNode.get(), info.layerUpdateQueue->entries().at(0).renderNode.get()); in RENDERTHREAD_TEST()
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 975 final RenderNode renderNode = mView.mRenderNode; in setValue() local 978 renderNode.setTranslationX(value); in setValue() 981 renderNode.setTranslationY(value); in setValue() 984 renderNode.setTranslationZ(value); in setValue() 987 renderNode.setRotationZ(value); in setValue() 990 renderNode.setRotationX(value); in setValue() 993 renderNode.setRotationY(value); in setValue() 996 renderNode.setScaleX(value); in setValue() 999 renderNode.setScaleY(value); in setValue() 1002 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()
|
D | View.java | 20801 final RenderNode renderNode = mRenderNode; in updateDisplayListIfDirty() local 20804 return renderNode; in updateDisplayListIfDirty() 20808 || !renderNode.hasDisplayList() in updateDisplayListIfDirty() 20812 if (renderNode.hasDisplayList() in updateDisplayListIfDirty() 20818 return renderNode; // no work needed in updateDisplayListIfDirty() 20829 final RecordingCanvas canvas = renderNode.beginRecording(width, height); in updateDisplayListIfDirty() 20860 renderNode.endRecording(); in updateDisplayListIfDirty() 20861 setDisplayListProperties(renderNode); in updateDisplayListIfDirty() 20867 return renderNode; in updateDisplayListIfDirty() 21580 void setDisplayListProperties(RenderNode renderNode) { in setDisplayListProperties() argument [all …]
|
/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/libs/hwui/hwui/ |
D | Canvas.h | 112 int width, int height, uirenderer::RenderNode* renderNode = nullptr); 159 uirenderer::RenderNode* renderNode = nullptr) = 0; 178 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()
|