Lines Matching refs:relative
1593 sp<SurfaceControl> relative = mComposerClient->createSurface(String8("relativeTestSurface"), 10,
1595 fillSurfaceRGBA8(relative, 10, 10, 10);
1599 .setRelativeLayer(relative, mFGSurfaceControl->getHandle(), 1)
1600 .setPosition(relative, 64, 64)
1604 // The relative should be on top of the FG control.
1616 Transaction{}.hide(relative).apply();
1619 // Ensure that the relative was actually hidden, rather than
2296 sp<SurfaceControl> relative = mComposerClient->createSurface(String8("Relative surface"), 128,
2298 fillSurfaceRGBA8(relative, 255, 255, 255);
2301 t.setLayer(relative, INT32_MAX)
2302 .setRelativeLayer(mChild, relative->getHandle(), 1)
2385 sp<SurfaceControl> relative = mComposerClient->createSurface(String8("Relative surface"), 10,
2388 fillSurfaceRGBA8(relative, 100, 100, 100);
2392 // Set relative layer above fg layer so should be shown above when computing all layers.
2393 .setRelativeLayer(relative, fgHandle, 1)
2394 .show(relative)
2409 sp<SurfaceControl> relative =
2413 fillSurfaceRGBA8(relative, 100, 100, 100);
2417 // Set relative layer below fg layer but relative to child layer so it should be shown
2419 .setLayer(relative, -1)
2420 .setRelativeLayer(relative, child->getHandle(), 1)
2421 .show(relative)
2425 // relative value should be taken into account, placing it above child layer.