Searched refs:childLayer (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTypeTransaction_test.cpp | 74 sp<SurfaceControl> childLayer; in TEST_P() local 76 childLayer = LayerTransactionTest::createLayer("childLayer", 0 /* buffer width */, in TEST_P() 81 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P() 83 .show(childLayer) in TEST_P() 86 .setCrop_legacy(childLayer, Rect(0, 0, 20, 30)) in TEST_P() 90 .setRelativeLayer(childLayer, parent->getHandle(), -1) in TEST_P() 91 .setLayer(childLayer, 1) in TEST_P() 103 .setLayer(childLayer, 1) in TEST_P() 104 .setRelativeLayer(childLayer, parent->getHandle(), -1) in TEST_P() 125 sp<SurfaceControl> childLayer; in TEST_P() local [all …]
|
D | RelativeZ_test.cpp | 70 sp<SurfaceControl> childLayer = in TEST_F() local 74 .setRelativeLayer(childLayer, mForegroundLayer->getHandle(), 1) in TEST_F() 75 .show(childLayer) in TEST_F() 86 Transaction{}.reparent(childLayer, nullptr).apply(); in TEST_F() 91 Transaction{}.reparent(childLayer, mBackgroundLayer->getHandle()).apply(); in TEST_F() 159 sp<SurfaceControl> childLayer = in TEST_F() local 165 .setRelativeLayer(childLayer, relativeToLayer->getHandle(), 1) in TEST_F() 166 .show(childLayer) in TEST_F() 191 Transaction{}.reparent(childLayer, nullptr).apply(); in TEST_F() 202 Transaction{}.reparent(childLayer, mForegroundLayer->getHandle()).apply(); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 1046 bool Layer::setChildLayer(const sp<Layer>& childLayer, int32_t z) { in setChildLayer() argument 1047 ssize_t idx = mCurrentChildren.indexOf(childLayer); in setChildLayer() 1051 if (childLayer->setLayer(z)) { in setChildLayer() 1053 mCurrentChildren.add(childLayer); in setChildLayer() 1059 bool Layer::setChildRelativeLayer(const sp<Layer>& childLayer, in setChildRelativeLayer() argument 1061 ssize_t idx = mCurrentChildren.indexOf(childLayer); in setChildRelativeLayer() 1065 if (childLayer->setRelativeLayer(relativeToHandle, relativeZ)) { in setChildRelativeLayer() 1067 mCurrentChildren.add(childLayer); in setChildRelativeLayer()
|
D | Layer.h | 802 bool setChildLayer(const sp<Layer>& childLayer, int32_t z); 803 bool setChildRelativeLayer(const sp<Layer>& childLayer,
|