Home
last modified time | relevance | path

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

/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DLayersTrace.java323 private void addChild(Layer childLayer) { in addChild() argument
324 this.mChildren.add(childLayer); in addChild()
/frameworks/native/services/surfaceflinger/
DLayer.cpp950 bool Layer::setChildLayer(const sp<Layer>& childLayer, int32_t z) { in setChildLayer() argument
951 ssize_t idx = mCurrentChildren.indexOf(childLayer); in setChildLayer()
955 if (childLayer->setLayer(z)) { in setChildLayer()
957 mCurrentChildren.add(childLayer); in setChildLayer()
963 bool Layer::setChildRelativeLayer(const sp<Layer>& childLayer, in setChildRelativeLayer() argument
965 ssize_t idx = mCurrentChildren.indexOf(childLayer); in setChildRelativeLayer()
969 if (childLayer->setRelativeLayer(relativeToHandle, relativeZ)) { in setChildRelativeLayer()
971 mCurrentChildren.add(childLayer); in setChildRelativeLayer()
DLayer.h676 bool setChildLayer(const sp<Layer>& childLayer, int32_t z);
677 bool setChildRelativeLayer(const sp<Layer>& childLayer,
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp1076 sp<SurfaceControl> childLayer; in TEST_P() local
1078 childLayer = LayerTransactionTest::createLayer("childLayer", 0 /* buffer width */, in TEST_P()
1083 .setColor(childLayer, half3{1.0f, 0.0f, 0.0f}) in TEST_P()
1085 .show(childLayer) in TEST_P()
1088 .setCrop_legacy(childLayer, Rect(0, 0, 20, 30)) in TEST_P()
1092 .setRelativeLayer(childLayer, parent->getHandle(), -1) in TEST_P()
1093 .setLayer(childLayer, 1) in TEST_P()
1105 .setLayer(childLayer, 1) in TEST_P()
1106 .setRelativeLayer(childLayer, parent->getHandle(), -1) in TEST_P()
1126 sp<SurfaceControl> childLayer; in TEST_P() local
[all …]