/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryTest.cpp | 110 void setDefaultLayerVote(Layer* layer, in setDefaultLayerVote() 126 void recordFramesAndExpect(const sp<MockLayer>& layer, nsecs_t& time, Fps frameRate, in recordFramesAndExpect() 161 const auto layer = createLayer(); in TEST_F() local 188 const auto layer = createLayer(); in TEST_F() local 216 const auto layer = createLayer(); in TEST_F() local 290 const auto layer = createLayer("GameFrameRateLayer", uid); in TEST_F() local 352 const auto layer = createLayer(); in TEST_F() local 379 const auto layer = createLayer(); in TEST_F() local 401 const auto layer = createLayer(); in TEST_F() local 429 const auto layer = createLayer(); in TEST_F() local [all …]
|
D | LayerHistoryIntegrationTest.cpp | 67 void setBufferWithPresentTime(sp<Layer>& layer, nsecs_t time) { in setBufferWithPresentTime() 116 void setDefaultLayerVote(Layer* layer, in setDefaultLayerVote() 126 const auto layer = in createLegacyAndFrontedEndLayer() local 138 auto destroyLayer(sp<Layer>& layer) { in destroyLayer() 145 void recordFramesAndExpect(sp<Layer>& layer, nsecs_t& time, Fps frameRate, in recordFramesAndExpect() 447 auto layer = createLegacyAndFrontedEndLayer(1); in TEST_F() local 549 auto layer = createLegacyAndFrontedEndLayer(1); in TEST_F() local 594 auto layer = createLegacyAndFrontedEndLayer(1); in TEST_F() local 679 auto layer = createLegacyAndFrontedEndLayer(1); in TEST_F() local 727 auto layer = createLegacyAndFrontedEndLayer(1); in TEST_F() local [all …]
|
D | LayerTest.cpp | 44 sp<Layer> layer = GetParam()->createLayer(mFlinger); in TEST_P() local 51 sp<Layer> layer = GetParam()->createLayer(mFlinger); in TEST_P() local 62 sp<Layer> layer = GetParam()->createLayer(mFlinger); in TEST_P() local 74 sp<Layer> layer = GetParam()->createLayer(mFlinger); in TEST_P() local
|
D | TransactionSurfaceFrameTest.cpp | 63 void commitTransaction(Layer* layer) { layer->commitTransaction(); } in commitTransaction() 71 sp<Layer> layer = createLayer(); in PresentedSurfaceFrameForBufferlessTransaction() local 86 sp<Layer> layer = createLayer(); in PresentedSurfaceFrameForBufferTransaction() local 120 sp<Layer> layer = createLayer(); in DroppedSurfaceFrameForBufferTransaction() local 178 sp<Layer> layer = createLayer(); in BufferlessSurfaceFramePromotedToBufferSurfaceFrame() local 219 sp<Layer> layer = createLayer(); in BufferlessSurfaceFrameNotCreatedIfBufferSufaceFrameExists() local 245 sp<Layer> layer = createLayer(); in MultipleSurfaceFramesPresentedTogether() local 306 sp<Layer> layer = createLayer(); in PendingSurfaceFramesRemovedAfterClassification() local 358 sp<Layer> layer = createLayer(); in BufferSurfaceFrame_ReplaceValidTokenBufferWithInvalidTokenBuffer() local 447 sp<Layer> layer = createLayer(); in MultipleCommitsBeforeLatch() local
|
D | FrameRateSelectionStrategyTest.cpp | 72 void FrameRateSelectionStrategyTest::addChild(sp<Layer> layer, sp<Layer> child) { in addChild() 76 void FrameRateSelectionStrategyTest::removeChild(sp<Layer> layer, sp<Layer> child) { in removeChild() 81 for (auto layer : mLayers) { in commitTransaction() local 97 auto layer = mLayers.emplace_back(layerFactory->createLayer(mFlinger)); in TEST_P() local
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | CachedSet.cpp | 61 CachedSet::CachedSet(const LayerState* layer, std::chrono::steady_clock::time_point lastUpdate) in CachedSet() 66 CachedSet::CachedSet(Layer layer) in CachedSet() 74 void CachedSet::addLayer(const LayerState* layer, in addLayer() 102 for (const Layer& layer : mLayers) { in getComponentDisplayCost() local 129 for (const Layer& layer : mLayers) { in hasBufferUpdate() local 145 [](Layer layer) { return CachedSet(std::move(layer)); }); in decompose() 198 for (const auto& layer : mLayers) { in render() local 327 [](const Layer& layer) { return layer.getState()->hasBlurBehind(); }); in hasBlurBehind() 341 for (const auto& layer : mLayers) { in addHolePunchLayerIfFeasible() local 369 return std::any_of(mLayers.cbegin(), mLayers.cend(), [](const Layer& layer) { in hasKnownColorShift() [all …]
|
D | Flattener.cpp | 42 for (auto& layer : cachedSet.getConstituentLayers()) { in isSameStack() local 157 for (const CachedSet& layer : mLayers) { in dumpLayers() local 220 for (const LayerState* layer : layers) { in calculateDisplayCost() local 264 for (const auto& layer : mLayers) { in computeLayersHash() local 279 for (const LayerState* layer : layers) { in mergeWithCachedSets() local 289 for (const LayerState* layer : layers) { in mergeWithCachedSets() local 294 for (const CachedSet& layer : mLayers) { in mergeWithCachedSets() local 409 for (const CachedSet& layer : merged) { in mergeWithCachedSets() local 508 for (const CachedSet& layer : mLayers) { in buildCachedSets() local
|
D | LayerState.cpp | 28 LayerState::LayerState(compositionengine::OutputLayer* layer) in LayerState() 30 mColorTransform({[](auto layer) { in LayerState() 45 ftl::Flags<LayerStateField> LayerState::update(compositionengine::OutputLayer* layer) { in update() 180 for (const auto layer : layers) { in getNonBufferHash() local
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTransactionTest.h | 63 auto layer = variable 84 auto layer = client->createSurface(String8(name), width, height, format, flags, variable 113 ANativeWindow_Buffer getBufferQueueLayerBuffer(const sp<SurfaceControl>& layer) { in getBufferQueueLayerBuffer() 123 void postBufferQueueLayerBuffer(const sp<SurfaceControl>& layer) { in postBufferQueueLayerBuffer() 130 virtual void fillBufferQueueLayerColor(const sp<SurfaceControl>& layer, const Color& color, in fillBufferQueueLayerColor() 140 virtual void fillBufferLayerColor(const sp<SurfaceControl>& layer, const Color& color, in fillBufferLayerColor() 155 void fillLayerColor(uint32_t mLayerType, const sp<SurfaceControl>& layer, const Color& color, in fillLayerColor() 169 void fillLayerQuadrant(uint32_t mLayerType, const sp<SurfaceControl>& layer, in fillLayerQuadrant() 187 virtual void fillBufferQueueLayerQuadrant(const sp<SurfaceControl>& layer, int32_t bufferWidth, in fillBufferQueueLayerQuadrant() 210 virtual void fillBufferStateLayerQuadrant(const sp<SurfaceControl>& layer, int32_t bufferWidth, in fillBufferStateLayerQuadrant()
|
D | LayerRenderTypeTransaction_test.cpp | 55 sp<SurfaceControl> layer; in TEST_P() local 78 sp<SurfaceControl> layer; in TEST_P() local 100 sp<SurfaceControl> layer; in TEST_P() local 118 sp<SurfaceControl> layer; in TEST_P() local 140 sp<SurfaceControl> layer; in TEST_P() local 273 sp<SurfaceControl> layer; in TEST_P() local 317 sp<SurfaceControl> layer; in TEST_P() local 476 sp<SurfaceControl> layer; in setBackgroundColorHelper() local 697 sp<SurfaceControl> layer; in TEST_P() local 739 sp<SurfaceControl> layer; in TEST_P() local [all …]
|
D | LayerTransaction_test.cpp | 29 sp<SurfaceControl> layer; in TEST_F() local 41 sp<SurfaceControl> layer; in TEST_F() local 50 sp<SurfaceControl> layer; in TEST_F() local 80 sp<SurfaceControl> layer; in TEST_F() local 162 sp<SurfaceControl> layer; in TEST_F() local 175 sp<SurfaceControl> layer; in TEST_F() local 218 sp<SurfaceControl> layer; in TEST_F() local
|
D | ReleaseBufferCallback_test.cpp | 84 static void submitBuffer(const sp<SurfaceControl>& layer, sp<GraphicBuffer> buffer, in submitBuffer() 126 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 164 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 221 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 249 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 292 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 345 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 392 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 414 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local 446 sp<SurfaceControl> layer = createBufferStateLayer(); in TEST_F() local [all …]
|
D | LayerCallback_test.cpp | 58 static int fillBuffer(Transaction& transaction, const sp<SurfaceControl>& layer, in fillBuffer() 80 const sp<SurfaceControl>& layer = nullptr, bool setBuffer = true, in fillTransaction() 166 sp<SurfaceControl> layer; in TEST_F() local 185 sp<SurfaceControl> layer; in TEST_F() local 208 sp<SurfaceControl> layer; in TEST_F() local 230 sp<SurfaceControl> layer; in TEST_F() local 268 sp<SurfaceControl> layer; in TEST_F() local 420 sp<SurfaceControl> layer; in TEST_F() local 487 sp<SurfaceControl> layer; in TEST_F() local 512 sp<SurfaceControl> layer; in TEST_F() local [all …]
|
/frameworks/native/libs/renderengine/skia/ |
D | Cache.cpp | 72 LayerSettings layer{ in drawShadowLayers() local 136 LayerSettings layer{ in drawImageLayers() local 175 LayerSettings layer{ in drawSolidLayers() local 201 LayerSettings layer{ in drawBlurLayers() local 241 LayerSettings layer{ in drawClippedLayers() local 273 LayerSettings layer{ in drawPIPImageLayer() local 306 LayerSettings layer{ in drawHolePunchLayer() local 335 LayerSettings layer{ in drawImageDimmedLayers() local 368 LayerSettings layer{ in drawTransparentImageDimmedLayers() local 419 LayerSettings layer{ in drawClippedDimmedImageLayers() local [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 262 Layer layer; in EnumerateLayers() local 332 void* LayerLibrary::GetGPA(const Layer& layer, const std::string_view gpa_name) const { in GetGPA() argument 446 for (auto& layer : g_layer_libraries) { in DiscoverLayersInPathList() local 471 void* GetLayerGetProcAddr(const Layer& layer, in GetLayerGetProcAddr() 498 auto layer = in FindLayer() local 506 const VkLayerProperties& GetLayerProperties(const Layer& layer) { in GetLayerProperties() 510 bool IsLayerGlobal(const Layer& layer) { in IsLayerGlobal() 514 const VkExtensionProperties* GetLayerInstanceExtensions(const Layer& layer, in GetLayerInstanceExtensions() 520 const VkExtensionProperties* GetLayerDeviceExtensions(const Layer& layer, in GetLayerDeviceExtensions() 526 const VkExtensionProperties* FindLayerInstanceExtension(const Layer& layer, in FindLayerInstanceExtension() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_TextureLayer.cpp | 30 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_prepare() local 39 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_setLayerPaint() local 48 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_setTransform() local 55 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_setSurfaceTexture() local 62 DeferredLayerUpdater* layer = reinterpret_cast<DeferredLayerUpdater*>(layerUpdaterPtr); in TextureLayer_updateSurfaceTexture() local
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerLifecycleManager.cpp | 46 RequestedLayerState& layer = *newLayer.get(); in addLayers() local 101 RequestedLayerState& layer = it->second.owner; in onHandlesDestroyed() local 122 RequestedLayerState& layer = it->second.owner; in onHandlesDestroyed() local 168 RequestedLayerState* layer = it->get(); in onHandlesDestroyed() local 195 RequestedLayerState* layer = getLayerFromId(layerId); in applyTransactions() local 285 for (auto layer : mAddedLayers) { in commitChanges() local 292 for (auto& layer : mLayers) { in commitChanges() local 410 RequestedLayerState& layer = it->second.owner; in fixRelativeZLoop() local
|
D | LayerHierarchy.cpp | 48 LayerHierarchy::LayerHierarchy(RequestedLayerState* layer) : mLayer(layer) {} in LayerHierarchy() 205 for (auto& layer : layers) { in init() local 209 for (const auto& layer : layers) { in init() local 217 auto layer = hierarchy->mLayer; in attachToParent() local 241 auto layer = hierarchy->mLayer; in attachToRelativeParent() local 296 void LayerHierarchyBuilder::onLayerAdded(RequestedLayerState* layer) { in onLayerAdded() 313 void LayerHierarchyBuilder::onLayerDestroyed(RequestedLayerState* layer) { in onLayerDestroyed() 343 void LayerHierarchyBuilder::updateMirrorLayer(RequestedLayerState* layer) { in updateMirrorLayer() 369 for (auto& layer : layers) { in doUpdate() local 376 for (auto& layer : layers) { in doUpdate() local [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | ScreenshotUtils.java | 57 int layer) { in BufferConsumer() 97 Rect crop, int layer) { in takeScreenshot() 113 SurfaceControl parentSc, Rect crop, int layer) { in takeScreenshot()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerVector.cpp | 66 const auto& layer = (*this)[i]; in traverseInZOrder() local 77 const auto& layer = (*this)[i]; in traverseInReverseZOrder() local 88 const auto& layer = (*this)[i]; in traverse() local
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | BlackFrame.java | 37 final int layer; field in BlackFrame.BlackSurface 40 BlackSurface(SurfaceControl.Transaction transaction, int layer, in BlackSurface() 85 Rect outer, Rect inner, int layer, DisplayContent dc, boolean forceDefaultOrientation, in BlackFrame()
|
/frameworks/native/opengl/libs/EGL/ |
D | GLES_layers.md | 108 ### Example Passive Layer Initialization 169 ### Example Active Layer Initialization
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | AidlComposerHal.cpp | 418 int64_t layer; in createLayer() local 448 Error AidlComposer::destroyLayer(Display display, Layer layer) { in destroyLayer() 501 for (const auto& layer : changedLayers) { in getChangedCompositionTypes() local 585 for (const auto& layer : displayRequests.layerRequests) { in getDisplayRequests() local 887 Error AidlComposer::setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) { in setCursorPosition() 900 Error AidlComposer::setLayerBuffer(Display display, Layer layer, uint32_t slot, in setLayerBuffer() 919 Error AidlComposer::setLayerBufferSlotsToClear(Display display, Layer layer, in setLayerBufferSlotsToClear() 962 Error AidlComposer::setLayerSurfaceDamage(Display display, Layer layer, in setLayerSurfaceDamage() 976 Error AidlComposer::setLayerBlendMode(Display display, Layer layer, in setLayerBlendMode() 990 Error AidlComposer::setLayerColor(Display display, Layer layer, const Color& color) { in setLayerColor() [all …]
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.h | 53 void registerLayer(Layer* layer) { mActiveLayers.insert(layer); } in registerLayer() 54 void unregisterLayer(Layer* layer) { mActiveLayers.erase(layer); } in unregisterLayer()
|
/frameworks/av/media/libstagefright/ |
D | FrameCaptureProcessor.cpp | 110 const sp<Layer> &layer, const Rect &sourceCrop, const sp<GraphicBuffer> &buffer) { in capture() 136 status_t FrameCaptureProcessor::onCapture(const sp<Layer> &layer, in onCapture() 202 sp<Layer> layer = static_cast<Layer*>(layerObj.get()); in onMessageReceived() local
|