/frameworks/base/libs/hwui/ |
D | LayerUpdateQueue.cpp | 28 void LayerUpdateQueue::enqueueLayerWithDamage(RenderNode* renderNode, Rect damage) { in enqueueLayerWithDamage() argument 29 damage.roundOut(); in enqueueLayerWithDamage() 30 damage.doIntersect(0, 0, renderNode->getWidth(), renderNode->getHeight()); in enqueueLayerWithDamage() 31 if (!damage.isEmpty()) { in enqueueLayerWithDamage() 34 entry.damage.unionWith(damage); in enqueueLayerWithDamage() 38 mEntries.emplace_back(renderNode, damage); in enqueueLayerWithDamage()
|
D | LayerUpdateQueue.h | 38 Entry(RenderNode* renderNode, const Rect& damage) in Entry() 39 : renderNode(renderNode), damage(damage) {} in Entry() 41 Rect damage; member
|
/frameworks/base/libs/hwui/tests/unit/ |
D | LayerUpdateQueueTests.cpp | 52 EXPECT_EQ(Rect(25, 25, 75, 75), queue.entries()[0].damage); in TEST() 54 EXPECT_EQ(Rect(100, 100, 200, 200), queue.entries()[1].damage); // clipped to bounds in TEST() 56 EXPECT_EQ(Rect(0, 0, 1, 1), queue.entries()[2].damage); // rounded out in TEST() 69 EXPECT_EQ(Rect(10, 10, 40, 40), queue.entries()[0].damage); in TEST()
|
D | RenderNodeTests.cpp | 331 EXPECT_EQ(uirenderer::Rect(0, 0, 200, 400), info.layerUpdateQueue->entries().at(0).damage); in RENDERTHREAD_TEST()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTransaction_test.cpp | 117 auto queue = [&](int slot, const Region& damage, nsecs_t displayTime) { in TEST_F() argument 122 input.setSurfaceDamage(damage); in TEST_F()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 764 Error Layer::setSurfaceDamage(const Region& damage) in setSurfaceDamage() argument 770 if (damage.isRect() && mDamageRegion.isRect() && in setSurfaceDamage() 771 (damage.getBounds() == mDamageRegion.getBounds())) { in setSurfaceDamage() 774 mDamageRegion = damage; in setSurfaceDamage() 779 if (damage.isRect() && damage.getBounds() == Rect::INVALID_RECT) { in setSurfaceDamage() 783 const auto hwcRects = convertRegionToHwcRects(damage); in setSurfaceDamage()
|
D | AidlComposerHal.h | 127 const std::vector<IComposerClient::Rect>& damage, 154 const std::vector<IComposerClient::Rect>& damage) override;
|
D | ComposerHal.h | 166 const std::vector<IComposerClient::Rect>& damage, 194 const std::vector<IComposerClient::Rect>& damage) = 0;
|
D | HidlComposerHal.h | 229 const std::vector<IComposerClient::Rect>& damage, 256 const std::vector<IComposerClient::Rect>& damage) override;
|
D | HWC2.h | 328 [[nodiscard]] virtual hal::Error setSurfaceDamage(const android::Region& damage) = 0; 380 hal::Error setSurfaceDamage(const android::Region& damage) override;
|
D | HidlComposerHal.cpp | 612 const std::vector<IComposerClient::Rect>& damage, in setClientTarget() argument 621 mWriter.setClientTarget(slot, handle, acquireFence, dataspace, damage); in setClientTarget() 771 const std::vector<IComposerClient::Rect>& damage) { in setLayerSurfaceDamage() argument 774 mWriter.setLayerSurfaceDamage(damage); in setLayerSurfaceDamage()
|
D | AidlComposerHal.cpp | 718 const std::vector<IComposerClient::Rect>& damage, in setClientTarget() argument 732 translate<AidlRect>(damage), hdrSdrRatio); in setClientTarget() 963 const std::vector<IComposerClient::Rect>& damage) { in setLayerSurfaceDamage() argument 968 translate<AidlRect>(damage)); in setLayerSurfaceDamage()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaCpuPipeline.cpp | 42 bool rendered = renderLayerImpl(layerNode, layers.entries()[i].damage); in renderLayersImpl()
|
D | SkiaGpuPipeline.cpp | 48 bool rendered = renderLayerImpl(layerNode, layers.entries()[i].damage); in renderLayersImpl()
|
D | SkiaPipeline.cpp | 221 const Rect& layerDamage = layers.entries()[i].damage; in recordLayers()
|
/frameworks/native/libs/gui/include/gui/ |
D | IGraphicBufferProducer.h | 363 void setSurfaceDamage(const Region& damage) { surfaceDamage = damage; } in setSurfaceDamage()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 307 SkRect damage; member
|
D | CanvasContext.cpp | 703 swap.damage = windowDirty; in draw() 706 swap.damage = SkRect::MakeWH(max, max); in draw() 1117 dirty->join(mSwapHistory[i].damage); in computeDirtyRect()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 20872 final Rect damage = ai.mTmpInvalRect; in invalidateInternal() local 20873 damage.set(l, t, r, b); in invalidateInternal() 20874 p.invalidateChild(this, damage); in invalidateInternal()
|