/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaRecordingCanvas.cpp | 37 SkASSERT(mDisplayList.get() == nullptr); in initDisplayList() 40 mDisplayList = renderNode->detachAvailableList(); in initDisplayList() 42 if (!mDisplayList) { in initDisplayList() 43 mDisplayList.reset(new SkiaDisplayList()); in initDisplayList() 46 mDisplayList->attachRecorder(&mRecorder, SkIRect::MakeWH(width, height)); in initDisplayList() 54 return mDisplayList.release(); in finishRecording() 69 drawDrawable(mDisplayList->allocateDrawable<AnimatedRoundRect>(left, top, right, bottom, rx, ry, in drawRoundRect() 77 drawDrawable(mDisplayList->allocateDrawable<AnimatedCircle>(x, y, radius, paint)); in drawCircle() 84 mDisplayList->allocateDrawable<EndReorderBarrierDrawable>(mCurrentBarrier); in insertReorderBarrier() 90 mDisplayList->allocateDrawable<StartReorderBarrierDrawable>( in insertReorderBarrier() [all …]
|
D | SkiaDisplayList.h | 50 mDisplayList.reset(); in ~SkiaDisplayList() 76 bool isEmpty() const override { return mDisplayList.empty(); } in isEmpty() 132 recorder->reset(&mDisplayList, bounds); in attachRecorder() 135 void draw(SkCanvas* canvas) { mDisplayList.draw(canvas); } in draw() 149 SkLiteDL mDisplayList; variable
|
D | DumpOpsCanvas.h | 35 , mDisplayList(displayList) in DumpOpsCanvas() 157 for (auto& child : mDisplayList.mChildNodes) { in getRenderNodeDrawable() 166 for (auto& child : mDisplayList.mChildFunctors) { in getGLFunctorDrawable() 176 SkiaDisplayList& mDisplayList; variable
|
D | ReorderBarrierDrawables.cpp | 33 : mEndChildIndex(0), mBeginChildIndex(data->mChildNodes.size()), mDisplayList(data) {} in StartReorderBarrierDrawable() 42 mChildren.push_back(const_cast<RenderNodeDrawable*>(&mDisplayList->mChildNodes[i])); in onDraw() 68 mStartBarrier->mEndChildIndex = mStartBarrier->mDisplayList->mChildNodes.size() - 1; in EndReorderBarrierDrawable()
|
D | SkiaDisplayList.cpp | 127 mDisplayList.reset(); in reset() 142 mDisplayList.draw(&canvas); in output()
|
D | ReorderBarrierDrawables.h | 51 SkiaDisplayList* mDisplayList; variable
|
D | SkiaRecordingCanvas.h | 80 std::unique_ptr<SkiaDisplayList> mDisplayList; variable
|
/frameworks/base/libs/hwui/ |
D | RenderNode.cpp | 58 , mDisplayList(nullptr) in RenderNode() 97 if (mDisplayList) { in output() 98 mDisplayList->output(output, level); in output() 168 if (mDisplayList) { in copyTo() 169 for (auto&& child : mDisplayList->getChildren()) { in copyTo() 180 if (mDisplayList && mDisplayList != mStagingDisplayList) { in getDebugSize() 181 size += mDisplayList->getUsedSize(); in getDebugSize() 286 } else if (mDisplayList) { in prepareTreeImpl() 287 willHaveFunctor = mDisplayList->hasFunctor(); in prepareTreeImpl() 301 if (mDisplayList) { in prepareTreeImpl() [all …]
|
D | RecordingCanvas.cpp | 34 LOG_ALWAYS_FATAL_IF(mDisplayList, "Destroyed a RecordingCanvas during a record!"); in ~RecordingCanvas() 38 LOG_ALWAYS_FATAL_IF(mDisplayList, "prepareDirty called a second time during a recording!"); in resetRecording() 39 mDisplayList = new DisplayList(); in resetRecording() 51 DisplayList* displayList = mDisplayList; in finishRecording() 52 mDisplayList = nullptr; in finishRecording() 68 LOG_ALWAYS_FATAL_IF(!mDisplayList, "attempting to get an SkCanvas when we are not recording!"); in asSkCanvas() 289 Vertex* rectData = (Vertex*)mDisplayList->allocator.create_trivial_array<Vertex>(vertexCount); in drawSimpleRects() 362 mDisplayList->ref(left); in drawRoundRect() 363 mDisplayList->ref(top); in drawRoundRect() 364 mDisplayList->ref(right); in drawRoundRect() [all …]
|
D | RenderNode.h | 113 bool isRenderable() const { return mDisplayList && !mDisplayList->isEmpty(); } in isRenderable() 116 return mDisplayList && mDisplayList->projectionReceiveIndex >= 0; in hasProjectionReceiver() 175 return mDisplayList == nullptr || properties().getAlpha() <= 0 || in nothingToDraw() 180 const DisplayList* getDisplayList() const { return mDisplayList; } in getDisplayList() 253 DisplayList* mDisplayList; variable
|
D | RecordingCanvas.h | 211 LinearAllocator& alloc() { return mDisplayList->allocator; } in alloc() 219 T* dstBuffer = (T*)mDisplayList->allocator.alloc<T>(count * sizeof(T)); in refBuffer() 230 mDisplayList->pathResources.push_back(cachedPath); in refPath() 257 mDisplayList->paints.emplace_back(cachedPaint); in refPaint() 276 mDisplayList->regions.push_back(std::move(copy)); in refRegion() 294 mDisplayList->bitmapResources.emplace_back(&bitmap); in refBitmap() 299 mDisplayList->patchResources.push_back(patch); in refPatch() 313 DisplayList* mDisplayList = nullptr; variable
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 1323 List<DisplayResolveInfo> mDisplayList; field in ResolverActivity.ResolveListAdapter 1338 mDisplayList = new ArrayList<>(); in ResolveListAdapter() 1361 return mDisplayList.get(mLastChosenPosition); in getFilteredItem() 1405 mDisplayList.clear(); in rebuildList() 1688 mLastChosenPosition = mDisplayList.size() - 1; in updateLastChosenPosition() 1698 for (DisplayResolveInfo existingInfo : mDisplayList) { in addResolveInfo() 1703 mDisplayList.add(dri); in addResolveInfo() 1721 if (mDisplayList.size() > position) { in targetInfoForPosition() 1722 return mDisplayList.get(position); in targetInfoForPosition() 1728 int totalSize = mDisplayList == null || mDisplayList.isEmpty() ? mPlaceholderCount : in getCount() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 47 skiaDL.mDisplayList.drawAnnotation(SkRect::MakeWH(200, 200), "testAnnotation", nullptr); in TEST()
|