Home
last modified time | relevance | path

Searched refs:mDisplayList (Results 1 – 14 of 14) sorted by relevance

/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.cpp45 SkASSERT(mDisplayList.get() == nullptr); in initDisplayList()
48 mDisplayList = renderNode->detachAvailableList(); in initDisplayList()
50 if (!mDisplayList) { in initDisplayList()
51 mDisplayList.reset(new SkiaDisplayList()); in initDisplayList()
56 mDisplayList->setHasHolePunches(false); in initDisplayList()
75 mDisplayList->setHasHolePunches(true); in punchHole()
82 return std::move(mDisplayList); in finishRecording()
131 mDisplayList->allocateDrawable<StartReorderBarrierDrawable>(mDisplayList.get()); in enableZ()
171 mDisplayList->mChildFunctors.push_back(functorDrawable); in drawWebViewFunctor()
180 mDisplayList->appendVD(tree, mat); in drawVectorDrawable()
[all …]
H A DSkiaDisplayList.h49 size_t getUsedSize() const { return allocator.usedSize() + mDisplayList.usedSize(); } in getUsedSize()
51 return allocator.allocatedSize() + mDisplayList.allocatedSize(); in getAllocatedSize()
60 mDisplayList.reset(); in ~SkiaDisplayList()
84 bool isEmpty() const { return mDisplayList.empty(); } in isEmpty()
96 bool hasText() const { return mDisplayList.hasText(); } in hasText()
122 mDisplayList.applyColorTransform(transform); in applyColorTransform()
153 recorder->reset(&mDisplayList, bounds); in attachRecorder()
156 void draw(SkCanvas* canvas) { mDisplayList.draw(canvas); } in draw()
190 DisplayListData mDisplayList; variable
H A DReorderBarrierDrawables.cpp30 : mEndChildIndex(-1), mBeginChildIndex(data->mChildNodes.size()), mDisplayList(data) {} in StartReorderBarrierDrawable()
39 mChildren.push_back(const_cast<RenderNodeDrawable*>(&mDisplayList->mChildNodes[i])); in onDraw()
61 canvas->setMatrix(mDisplayList->mParentMatrix); in onDraw()
70 mStartBarrier->mEndChildIndex = mStartBarrier->mDisplayList->mChildNodes.size() - 1; in EndReorderBarrierDrawable()
113 canvas->setMatrix(mStartBarrier->mDisplayList->mParentMatrix); in onDraw()
168 canvas->setMatrix(mStartBarrier->mDisplayList->mParentMatrix); in drawShadow()
H A DDumpOpsCanvas.h35 , mDisplayList(displayList) in DumpOpsCanvas()
131 for (auto& child : mDisplayList.mChildNodes) { in getRenderNodeDrawable()
140 for (auto& child : mDisplayList.mChildFunctors) { in getFunctorDrawable()
150 const SkiaDisplayList& mDisplayList; variable
H A DSkiaDisplayList.cpp169 mDisplayList.reset(); in reset()
183 mDisplayList.draw(&canvas); in output()
H A DReorderBarrierDrawables.h52 SkiaDisplayList* mDisplayList; variable
H A DSkiaRecordingCanvas.h86 std::unique_ptr<SkiaDisplayList> mDisplayList; variable
/aosp12/frameworks/base/libs/hwui/
H A DRenderNode.cpp66 , mDisplayList(nullptr) in RenderNode()
107 mDisplayList.output(output, level); in output()
115 size += mDisplayList.getUsedSize(); in getUsageSize()
245 } else if (mDisplayList) { in prepareTreeImpl()
260 if (mDisplayList) { in prepareTreeImpl()
380 if (mDisplayList) { in syncDisplayList()
398 if (mDisplayList.hasText()) { in handleForceDark()
441 if (mDisplayList) { in deleteDisplayList()
442 mDisplayList.updateChildren( in deleteDisplayList()
444 mDisplayList.clear(this); in deleteDisplayList()
[all …]
H A DRenderNode.h112 bool isRenderable() const { return mDisplayList.hasContent(); } in isRenderable()
115 return mDisplayList.containsProjectionReceiver(); in hasProjectionReceiver()
176 return !mDisplayList.isValid() || properties().getAlpha() <= 0 || in nothingToDraw()
181 const DisplayList& getDisplayList() const { return mDisplayList; } in getDisplayList()
183 DisplayList& getDisplayList() { return mDisplayList; } in getDisplayList()
262 DisplayList mDisplayList; variable
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DResolverListAdapter.java80 List<DisplayResolveInfo> mDisplayList; field in ResolverListAdapter
102 mDisplayList = new ArrayList<>(); in ResolverListAdapter()
196 mDisplayList.clear(); in rebuildList()
427 mDisplayList.add(dri);
460 if (mDisplayList.size() > position) {
467 int totalSize = mDisplayList == null || mDisplayList.isEmpty() ? mPlaceholderCount :
468 mDisplayList.size();
476 return mDisplayList.size();
484 if (mDisplayList.size() > position) {
496 return mDisplayList.size();
[all …]
H A DChooserListAdapter.java294 allTargets.addAll(mDisplayList); in updateAlphabeticalList()
373 int ungroupedCount = mCallerTargets.size() + mDisplayList.size(); in getAlphaTargetCount()
H A DChooserActivity.java1911 int maxRankedResults = Math.min(currentListAdapter.mDisplayList.size(),
1915 if (currentListAdapter.mDisplayList.get(i)
2883 if (chooserListAdapter.mDisplayList == null
2884 || chooserListAdapter.mDisplayList.isEmpty()) {
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityInputFilterTest.java83 private final ArrayList<Display> mDisplayList = new ArrayList<>(); field in AccessibilityInputFilterTest
154 doReturn(mDisplayList).when(mAms).getValidDisplayList(); in setUp()
189 mA11yInputFilter.onDisplayAdded(mDisplayList.get(SECOND_DISPLAY)); in testEventHandler_shouldIncreaseAndHaveCorrectOrderAfterOnDisplayAdded()
338 mA11yInputFilter.onDisplayAdded(mDisplayList.get(SECOND_DISPLAY)); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayAdded()
384 mA11yInputFilter.refreshMagnificationMode(mDisplayList.get(DEFAULT_DISPLAY)); in testChangeMagnificationModeToWindow_expectedMagnificationGestureHandler()
407 mA11yInputFilter.refreshMagnificationMode(mDisplayList.get(DEFAULT_DISPLAY)); in testChangeMagnificationModeToWindow_magnifierFeature_expectedMagnificationGestureHandler()
431 mDisplayList.clear(); in setDisplayCount()
433 mDisplayList.add(createStubDisplay(new DisplayInfo())); in setDisplayCount()
H A DAbstractAccessibilityServiceConnectionTest.java153 private ArrayList<Integer> mDisplayList = new ArrayList<>(Arrays.asList( field in AbstractAccessibilityServiceConnectionTest
199 when(mMockA11yWindowManager.getDisplayListLocked()).thenReturn(mDisplayList); in setup()