Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/
DScreenCapture_test.cpp141 sp<SurfaceControl> parentLayer; in TEST_F() local
143 parentLayer = createLayer("parent-test", 32, 32, in TEST_F()
147 ASSERT_NO_FATAL_FAILURE(fillBufferQueueLayerColor(parentLayer, Color::RED, 32, 32)); in TEST_F()
152 parentLayer.get())); in TEST_F()
155 Transaction().show(parentLayer).setLayer(parentLayer, INT32_MAX).show(childLayer).apply(true); in TEST_F()
182 sp<SurfaceControl> parentLayer; in TEST_F() local
183 ASSERT_NO_FATAL_FAILURE(parentLayer = createLayer("parent-test", 0, 0, in TEST_F()
190 parentLayer.get())); in TEST_F()
195 Transaction().setLayer(parentLayer, INT32_MAX).show(childLayer).apply(true); in TEST_F()
197 .setFlags(parentLayer, layer_state_t::eLayerSecure, layer_state_t::eLayerSecure) in TEST_F()
[all …]
DLayerRenderTypeTransaction_test.cpp671 sp<SurfaceControl> parentLayer; in TEST_P() local
674 ASSERT_NO_FATAL_FAILURE(parentLayer = createLayer("parentWithAlpha", 32, 32)); in TEST_P()
687 .reparent(colorLayer, parentLayer) in TEST_P()
689 .setAlpha(parentLayer, alpha) in TEST_P()
690 .setLayer(parentLayer, mLayerZBase + 1) in TEST_P()
1487 sp<SurfaceControl> parentLayer; in TEST_P() local
1489 ASSERT_NO_FATAL_FAILURE(parentLayer = createLayer("parent", 0 /* buffer width */, in TEST_P()
1494 ISurfaceComposerClient::eFXSurfaceEffect, parentLayer.get())); in TEST_P()
1497 .setCrop(parentLayer, Rect(0, 0, 100, 100)) in TEST_P()
1499 .setLayer(parentLayer, mLayerZBase + 1) in TEST_P()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp941 typename ParentBase::FlingerLayerType parentLayer = ParentBase::createLayer(test); in createLayer() local
942 parentLayer->addChild(layer); in createLayer()
943 test->mFlinger.setLayerDrawingParent(layer, parentLayer); in createLayer()
945 test->mAuxiliaryLayers.push_back(parentLayer); in createLayer()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h885 const sp<Layer>& layer, const wp<Layer>& parentLayer,