/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaRecordingCanvas.cpp | 45 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 D | SkiaDisplayList.h | 49 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 D | ReorderBarrierDrawables.cpp | 30 : 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 D | DumpOpsCanvas.h | 35 , 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 D | SkiaDisplayList.cpp | 169 mDisplayList.reset(); in reset() 183 mDisplayList.draw(&canvas); in output()
|
H A D | ReorderBarrierDrawables.h | 52 SkiaDisplayList* mDisplayList; variable
|
H A D | SkiaRecordingCanvas.h | 86 std::unique_ptr<SkiaDisplayList> mDisplayList; variable
|
/aosp12/frameworks/base/libs/hwui/ |
H A D | RenderNode.cpp | 66 , 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 D | RenderNode.h | 112 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 D | ResolverListAdapter.java | 80 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 D | ChooserListAdapter.java | 294 allTargets.addAll(mDisplayList); in updateAlphabeticalList() 373 int ungroupedCount = mCallerTargets.size() + mDisplayList.size(); in getAlphaTargetCount()
|
H A D | ChooserActivity.java | 1911 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 D | AccessibilityInputFilterTest.java | 83 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 D | AbstractAccessibilityServiceConnectionTest.java | 153 private ArrayList<Integer> mDisplayList = new ArrayList<>(Arrays.asList( field in AbstractAccessibilityServiceConnectionTest 199 when(mMockA11yWindowManager.getDisplayListLocked()).thenReturn(mDisplayList); in setup()
|