Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
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()
54 mDisplayList->attachRecorder(&mRecorder, SkIRect::MakeWH(width, height)); in initDisplayList()
56 mDisplayList->setHasHolePunches(false); in initDisplayList()
75 mDisplayList->setHasHolePunches(true); in punchHole()
82 return std::move(mDisplayList); in finishRecording()
101 drawDrawable(mDisplayList->allocateDrawable<AnimatedRoundRect>(left, top, right, bottom, rx, ry, in drawRoundRect()
109 drawDrawable(mDisplayList->allocateDrawable<AnimatedCircle>(x, y, radius, paint)); in drawCircle()
[all …]
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
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()
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
DSkiaDisplayList.cpp169 mDisplayList.reset(); in reset()
183 mDisplayList.draw(&canvas); in output()
DReorderBarrierDrawables.h52 SkiaDisplayList* mDisplayList; variable
DSkiaRecordingCanvas.h86 std::unique_ptr<SkiaDisplayList> mDisplayList; variable
/frameworks/base/libs/hwui/
DRenderNode.cpp66 , mDisplayList(nullptr) in RenderNode()
107 mDisplayList.output(output, level); in output()
115 size += mDisplayList.getUsedSize(); in getUsageSize()
122 size += mDisplayList.getAllocatedSize(); in getAllocatedSize()
245 } else if (mDisplayList) { in prepareTreeImpl()
246 willHaveFunctor = mDisplayList.hasFunctor(); in prepareTreeImpl()
260 if (mDisplayList) { in prepareTreeImpl()
261 info.out.hasFunctors |= mDisplayList.hasFunctor(); in prepareTreeImpl()
262 mHasHolePunches = mDisplayList.hasHolePunches(); in prepareTreeImpl()
263 bool isDirty = mDisplayList.prepareListAndChildren( in prepareTreeImpl()
[all …]
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
/frameworks/base/core/java/com/android/internal/app/
DResolverListAdapter.java80 List<DisplayResolveInfo> mDisplayList; field in ResolverListAdapter
102 mDisplayList = new ArrayList<>(); in ResolverListAdapter()
127 return mDisplayList.get(mLastChosenPosition); in getFilteredItem()
196 mDisplayList.clear(); in rebuildList()
417 mLastChosenPosition = mDisplayList.size() - 1;
427 mDisplayList.add(dri);
437 for (DisplayResolveInfo existingInfo : mDisplayList) {
460 if (mDisplayList.size() > position) {
461 return mDisplayList.get(position);
467 int totalSize = mDisplayList == null || mDisplayList.isEmpty() ? mPlaceholderCount :
[all …]
DChooserListAdapter.java294 allTargets.addAll(mDisplayList); in updateAlphabeticalList()
373 int ungroupedCount = mCallerTargets.size() + mDisplayList.size(); in getAlphaTargetCount()
DChooserActivity.java1911 int maxRankedResults = Math.min(currentListAdapter.mDisplayList.size(),
1915 if (currentListAdapter.mDisplayList.get(i)
2883 if (chooserListAdapter.mDisplayList == null
2884 || chooserListAdapter.mDisplayList.isEmpty()) {
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java82 private final ArrayList<Display> mDisplayList = new ArrayList<>(); field in AccessibilityInputFilterTest
153 doReturn(mDisplayList).when(mAms).getValidDisplayList(); in setUp()
287 mA11yInputFilter.refreshMagnificationMode(mDisplayList.get(DEFAULT_DISPLAY)); in testChangeMagnificationModeToWindow_expectedMagnificationGestureHandler()
310 mA11yInputFilter.refreshMagnificationMode(mDisplayList.get(DEFAULT_DISPLAY)); in testChangeMagnificationModeToWindow_magnifierFeature_expectedMagnificationGestureHandler()
334 mDisplayList.clear(); in setDisplayCount()
336 mDisplayList.add(createStubDisplay(new DisplayInfo())); in setDisplayCount()
DAbstractAccessibilityServiceConnectionTest.java152 private ArrayList<Integer> mDisplayList = new ArrayList<>(Arrays.asList( field in AbstractAccessibilityServiceConnectionTest
198 when(mMockA11yWindowManager.getDisplayListLocked()).thenReturn(mDisplayList); in setup()