Home
last modified time | relevance | path

Searched refs:mBackgroundLayer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
DUnfoldBackgroundController.java39 private SurfaceControl mBackgroundLayer; field in UnfoldBackgroundController
53 if (mBackgroundLayer != null) { in ensureBackground()
55 transaction.setColor(mBackgroundLayer, expectedColor); in ensureBackground()
65 mBackgroundLayer = colorLayerBuilder.build(); in ensureBackground()
68 .setColor(mBackgroundLayer, expectedColor) in ensureBackground()
69 .show(mBackgroundLayer) in ensureBackground()
70 .setLayer(mBackgroundLayer, BACKGROUND_LAYER_Z_INDEX); in ensureBackground()
79 if (mBackgroundLayer == null) return; in removeBackground()
80 if (mBackgroundLayer.isValid()) { in removeBackground()
81 transaction.remove(mBackgroundLayer); in removeBackground()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DRelativeZ_test.cpp42 mBackgroundLayer = createColorLayer("Background layer", Color::RED); in SetUp()
49 t.setLayer(mBackgroundLayer, INT32_MAX - 2).show(mBackgroundLayer); in SetUp()
56 mBackgroundLayer = 0; in TearDown()
60 sp<SurfaceControl> mBackgroundLayer; member in android::RelativeZTest
73 createColorLayer("Child layer", Color::BLUE, mBackgroundLayer.get()); in TEST_F()
90 Transaction{}.reparent(childLayer, mBackgroundLayer).apply(); in TEST_F()
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp186 mBackgroundLayer = in SetUp()
192 .setLayer(mBackgroundLayer, layerPositionBottom) in SetUp()
193 .setPosition(mBackgroundLayer, 100, 100) in SetUp()
194 .setColor(mBackgroundLayer, half3{0.5, 0.5, 0.5}) in SetUp()
195 .show(mBackgroundLayer) in SetUp()
213 .show(mBackgroundLayer) in SetUp()
234 sp<SurfaceControl> mBackgroundLayer; member