Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp60 LOG_FATAL_IF(mDisplayList.get() != nullptr); in initDisplayList()
63 mDisplayList = renderNode->detachAvailableList(); in initDisplayList()
65 if (!mDisplayList) { in initDisplayList()
66 mDisplayList.reset(new SkiaDisplayList()); in initDisplayList()
69 mDisplayList->attachRecorder(&mRecorder, SkIRect::MakeWH(width, height)); in initDisplayList()
71 mDisplayList->setHasHolePunches(false); in initDisplayList()
92 mDisplayList->setHasHolePunches(true); in punchHole()
99 return std::move(mDisplayList); in finishRecording()
118 drawDrawable(mDisplayList->allocateDrawable<AnimatedRoundRect>(left, top, right, bottom, rx, ry, in drawRoundRect()
126 drawDrawable(mDisplayList->allocateDrawable<AnimatedCircle>(x, y, radius, paint)); in drawCircle()
[all …]
DSkiaDisplayList.h51 size_t getUsedSize() const { return allocator.usedSize() + mDisplayList.usedSize(); } in getUsedSize()
53 return allocator.allocatedSize() + mDisplayList.allocatedSize(); in getAllocatedSize()
62 mDisplayList.reset(); in ~SkiaDisplayList()
86 bool isEmpty() const { return mDisplayList.empty(); } in isEmpty()
98 bool hasText() const { return mDisplayList.hasText(); } in hasText()
100 bool hasFill() const { return mDisplayList.hasFill(); } in hasFill()
126 mDisplayList.applyColorTransform(transform); in applyColorTransform()
159 recorder->reset(&mDisplayList, bounds); in attachRecorder()
162 void draw(SkCanvas* canvas) { mDisplayList.draw(canvas); } in draw()
197 DisplayListData mDisplayList; variable
DReorderBarrierDrawables.cpp36 : mEndChildIndex(-1), mBeginChildIndex(data->mChildNodes.size()), mDisplayList(data) {} in StartReorderBarrierDrawable()
45 mChildren.push_back(const_cast<RenderNodeDrawable*>(&mDisplayList->mChildNodes[i])); in onDraw()
67 canvas->setMatrix(mDisplayList->mParentMatrix); in onDraw()
76 mStartBarrier->mEndChildIndex = mStartBarrier->mDisplayList->mChildNodes.size() - 1; in EndReorderBarrierDrawable()
119 canvas->setMatrix(mStartBarrier->mDisplayList->mParentMatrix); in onDraw()
174 canvas->setMatrix(mStartBarrier->mDisplayList->mParentMatrix); in drawShadow()
DDumpOpsCanvas.h37 , mDisplayList(displayList) in DumpOpsCanvas()
130 for (auto& child : mDisplayList.mChildNodes) { in getRenderNodeDrawable()
139 for (auto& child : mDisplayList.mChildFunctors) { in getFunctorDrawable()
149 const SkiaDisplayList& mDisplayList; variable
DSkiaDisplayList.cpp177 mDisplayList.reset(); in reset()
192 mDisplayList.draw(&canvas); in output()
DReorderBarrierDrawables.h52 SkiaDisplayList* mDisplayList; variable
DSkiaRecordingCanvas.h92 std::unique_ptr<SkiaDisplayList> mDisplayList; variable
/frameworks/base/libs/hwui/
DRenderNode.cpp67 , mDisplayList(nullptr) in RenderNode()
108 mDisplayList.output(output, level); in output()
115 if (mDisplayList) { in visit()
116 mDisplayList.visit(func); in visit()
123 size += mDisplayList.getUsedSize(); in getUsageSize()
130 size += mDisplayList.getAllocatedSize(); in getAllocatedSize()
254 } else if (mDisplayList) { in prepareTreeImpl()
255 willHaveFunctor = mDisplayList.hasFunctor(); in prepareTreeImpl()
275 if (mDisplayList) { in prepareTreeImpl()
276 info.out.hasFunctors |= mDisplayList.hasFunctor(); in prepareTreeImpl()
[all …]
DRenderNode.h111 bool isRenderable() const { return mDisplayList.hasContent(); } in isRenderable()
114 return mDisplayList.containsProjectionReceiver(); in hasProjectionReceiver()
171 return !mDisplayList.isValid() || properties().getAlpha() <= 0 || in nothingToDraw()
176 const DisplayList& getDisplayList() const { return mDisplayList; } in getDisplayList()
178 DisplayList& getDisplayList() { return mDisplayList; } in getDisplayList()
262 DisplayList mDisplayList; variable
/frameworks/base/core/java/com/android/internal/app/
DResolverListAdapter.java83 List<DisplayResolveInfo> mDisplayList; field in ResolverListAdapter
110 mDisplayList = new ArrayList<>(); in ResolverListAdapter()
140 return mDisplayList.get(mLastChosenPosition); in getFilteredItem()
205 mDisplayList.clear(); in rebuildList()
535 mLastChosenPosition = mDisplayList.size() - 1;
545 mDisplayList.add(dri);
555 for (DisplayResolveInfo existingInfo : mDisplayList) {
578 if (mDisplayList.size() > position) {
579 return mDisplayList.get(position);
585 int totalSize = mDisplayList == null || mDisplayList.isEmpty() ? mPlaceholderCount :
[all …]
DChooserListAdapter.java351 allTargets.addAll(mDisplayList); in updateAlphabeticalList()
436 int ungroupedCount = mCallerTargets.size() + mDisplayList.size(); in getAlphaTargetCount()
DResolverActivity.java1796 mMultiProfilePagerAdapter.getActiveListAdapter().mDisplayList.get(0);
1801 final DisplayResolveInfo otherProfileResolveInfo = inactiveAdapter.mDisplayList.get(0);
1869 mMultiProfilePagerAdapter.getActiveListAdapter().mDisplayList;
1871 mMultiProfilePagerAdapter.getInactiveListAdapter().mDisplayList;
DChooserActivity.java1969 int maxRankedResults = Math.min(currentListAdapter.mDisplayList.size(),
1973 if (currentListAdapter.mDisplayList.get(i)
2835 if (chooserListAdapter.mDisplayList == null
2836 || chooserListAdapter.mDisplayList.isEmpty()) {
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java83 private final ArrayList<Display> mDisplayList = new ArrayList<>(); field in AccessibilityInputFilterTest
154 doReturn(mDisplayList).when(mAms).getValidDisplayList(); in setUp()
188 mA11yInputFilter.onDisplayAdded(mDisplayList.get(SECOND_DISPLAY)); in testEventHandler_shouldIncreaseAndHaveCorrectOrderAfterOnDisplayAdded()
337 mA11yInputFilter.onDisplayAdded(mDisplayList.get(SECOND_DISPLAY)); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayAdded()
383 mA11yInputFilter.refreshMagnificationMode(mDisplayList.get(DEFAULT_DISPLAY)); in testChangeMagnificationModeToWindow_expectedMagnificationGestureHandler()
406 mA11yInputFilter.refreshMagnificationMode(mDisplayList.get(DEFAULT_DISPLAY)); in testChangeMagnificationModeToWindow_magnifierFeature_expectedMagnificationGestureHandler()
430 mDisplayList.clear(); in setDisplayCount()
432 mDisplayList.add(createStubDisplay(new DisplayInfo())); in setDisplayCount()
DAbstractAccessibilityServiceConnectionTest.java163 private ArrayList<Integer> mDisplayList = new ArrayList<>(Arrays.asList( field in AbstractAccessibilityServiceConnectionTest
214 when(mMockA11yWindowManager.getDisplayListLocked(anyInt())).thenReturn(mDisplayList); in setup()