/frameworks/native/services/surfaceflinger/tests/ |
D | MirrorLayer_test.cpp | 72 sp<SurfaceControl> mirrorLayer = mClient->mirrorSurface(mChildLayer.get()); in TEST_F() local 73 ASSERT_NE(mirrorLayer, nullptr); in TEST_F() 77 .reparent(mirrorLayer, mParentLayer) in TEST_F() 78 .setPosition(mirrorLayer, 500, 500) in TEST_F() 79 .show(mirrorLayer) in TEST_F() 83 Transaction().setPosition(mirrorLayer, 550, 550).apply(); in TEST_F() 173 sp<SurfaceControl> mirrorLayer = mClient->mirrorSurface(mChildLayer.get()); in TEST_F() local 175 .reparent(mirrorLayer, mParentLayer) in TEST_F() 176 .setPosition(mirrorLayer, 500, 500) in TEST_F() 177 .show(mirrorLayer) in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerLifecycleManager.cpp | 424 RequestedLayerState* mirrorLayer = getLayerFromId(mirroringLayerId); in updateDisplayMirrorLayers() local 425 bool canBeMirrored = canMirrorRootLayer(*mirrorLayer, rootLayer); in updateDisplayMirrorLayers() 427 std::find(mirrorLayer->mirrorIds.begin(), mirrorLayer->mirrorIds.end(), in updateDisplayMirrorLayers() 428 rootLayer.id) != mirrorLayer->mirrorIds.end(); in updateDisplayMirrorLayers() 431 mirrorLayer->mirrorIds.emplace_back(rootLayer.id); in updateDisplayMirrorLayers() 432 linkLayer(rootLayer.id, mirrorLayer->id); in updateDisplayMirrorLayers() 433 mirrorLayer->changes |= RequestedLayerState::Changes::Mirror; in updateDisplayMirrorLayers() 435 swapErase(mirrorLayer->mirrorIds, rootLayer.id); in updateDisplayMirrorLayers() 436 unlinkLayer(rootLayer.id, mirrorLayer->id); in updateDisplayMirrorLayers() 437 mirrorLayer->changes |= RequestedLayerState::Changes::Mirror; in updateDisplayMirrorLayers()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHierarchyTest.cpp | 314 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 11); in TEST_F() 330 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 11); in TEST_F() 341 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 11); in TEST_F() 363 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 11); in TEST_F() 395 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 12); in TEST_F() 765 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 11); in TEST_F() 784 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 2); in TEST_F()
|
D | LayerHierarchyTest.h | 169 virtual void mirrorLayer(uint32_t id, uint32_t parentId, uint32_t layerIdToMirror) { in mirrorLayer() function 536 void mirrorLayer(uint32_t id, uint32_t parent, uint32_t layerToMirror) override { in mirrorLayer() function 537 LayerHierarchyTestBase::mirrorLayer(id, parent, layerToMirror); in mirrorLayer()
|
D | TestableSurfaceFlinger.h | 582 auto mirrorLayer(const LayerCreationArgs& args, const sp<IBinder>& mirrorFromHandle, in mirrorLayer() function 584 return mFlinger->mirrorLayer(args, mirrorFromHandle, outResult); in mirrorLayer()
|
D | LayerSnapshotTest.cpp | 516 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 11); in TEST_F() 1333 mirrorLayer(/*layer*/ 14, /*parent*/ 1, /*layerToMirror*/ 11); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 107 status_t status = mFlinger->mirrorLayer(args, mirrorFromHandle, *outResult); in mirrorSurface()
|
D | SurfaceFlinger.cpp | 5974 status_t SurfaceFlinger::mirrorLayer(const LayerCreationArgs& args, in mirrorLayer() function in android::SurfaceFlinger 5981 sp<Layer> mirrorLayer; in mirrorLayer() local 5993 status_t result = createEffectLayer(mirrorArgs, &outResult.handle, &mirrorLayer); in mirrorLayer() 5998 mirrorLayer->setClonedChild(mirrorFrom->createClone()); in mirrorLayer() 6001 outResult.layerId = mirrorLayer->sequence; in mirrorLayer() 6002 outResult.layerName = String16(mirrorLayer->getDebugName()); in mirrorLayer() 6003 return addClientLayer(mirrorArgs, outResult.handle, mirrorLayer /* layer */, in mirrorLayer()
|
D | SurfaceFlinger.h | 875 status_t mirrorLayer(const LayerCreationArgs& args, const sp<IBinder>& mirrorFromHandle,
|