Home
last modified time | relevance | path

Searched refs:parentLayer (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp686 sp<SurfaceControl> parentLayer; in TEST_P() local
689 ASSERT_NO_FATAL_FAILURE(parentLayer = createLayer("parentWithAlpha", 32, 32)); in TEST_P()
702 .reparent(colorLayer, parentLayer) in TEST_P()
704 .setAlpha(parentLayer, alpha) in TEST_P()
705 .setLayer(parentLayer, mLayerZBase + 1) in TEST_P()
1506 sp<SurfaceControl> parentLayer; in TEST_P() local
1508 ASSERT_NO_FATAL_FAILURE(parentLayer = createLayer("parent", 0 /* buffer width */, in TEST_P()
1513 ISurfaceComposerClient::eFXSurfaceEffect, parentLayer.get())); in TEST_P()
1516 .setCrop(parentLayer, Rect(0, 0, 100, 100)) in TEST_P()
1518 .setLayer(parentLayer, mLayerZBase + 1) in TEST_P()
[all …]
DScreenCapture_test.cpp120 sp<SurfaceControl> parentLayer; in TEST_F() local
122 parentLayer = createLayer("parent-test", 32, 32, in TEST_F()
125 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(parentLayer, Color::RED, 32, 32)); in TEST_F()
130 parentLayer.get())); in TEST_F()
133 Transaction().show(parentLayer).setLayer(parentLayer, INT32_MAX).show(childLayer).apply(true); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp1011 typename ParentBase::FlingerLayerType parentLayer = ParentBase::createLayer(test); in createLayer() local
1012 parentLayer->addChild(layer); in createLayer()
1013 test->mFlinger.setLayerDrawingParent(layer, parentLayer); in createLayer()
1015 test->mAuxiliaryLayers.push_back(parentLayer); in createLayer()
DTestableSurfaceFlinger.h487 const sp<Layer>& parentLayer, uint32_t* outTransformHint) { in createLayer() argument
488 return mFlinger->createLayer(args, outHandle, parentHandle, outLayerId, parentLayer, in createLayer()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h835 const sp<Layer>& parentLayer = nullptr,
862 const sp<Layer>& lbc, const wp<Layer>& parentLayer, bool addToRoot,
DSurfaceFlinger.cpp4684 const sp<Layer>& parentLayer, uint32_t* outTransformHint) { in createLayer() argument
4685 ALOG_ASSERT(parentLayer == nullptr || parentHandle == nullptr, in createLayer()
4720 wp<Layer> parent(parentHandle != nullptr ? fromHandle(parentHandle) : parentLayer); in createLayer()
4725 if (parentLayer != nullptr) { in createLayer()