Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/
DLayerUpdate_test.cpp51 mFGSurfaceControl = createLayer(String8("FG Test Surface"), 64, 64, 0); in SetUp()
53 ASSERT_TRUE(mFGSurfaceControl != nullptr); in SetUp()
54 ASSERT_TRUE(mFGSurfaceControl->isValid()); in SetUp()
56 TransactionUtils::fillSurfaceRGBA8(mFGSurfaceControl, 195, 63, 63); in SetUp()
70 t.setLayer(mFGSurfaceControl, INT32_MAX - 1) in SetUp()
71 .setPosition(mFGSurfaceControl, 64, 64) in SetUp()
72 .show(mFGSurfaceControl); in SetUp()
84 mFGSurfaceControl = 0; in TearDown()
99 sp<SurfaceControl> mFGSurfaceControl; member in android::LayerUpdateTest
114 .setRelativeLayer(relative, mFGSurfaceControl->getHandle(), 1) in TEST_F()
[all …]
DSurfaceInterceptor_test.cpp146 mFGSurfaceControl.clear(); in TearDown()
153 sp<SurfaceControl> mFGSurfaceControl; member in android::SurfaceInterceptorTest
282 mFGSurfaceControl = in setupBackgroundSurface()
285 ASSERT_TRUE(mFGSurfaceControl != nullptr); in setupBackgroundSurface()
286 ASSERT_TRUE(mFGSurfaceControl->isValid()); in setupBackgroundSurface()
293 .setLayer(mFGSurfaceControl, INT_MAX - 3) in setupBackgroundSurface()
294 .show(mFGSurfaceControl) in setupBackgroundSurface()
405 t.reparent(mBGSurfaceControl, mFGSurfaceControl->getHandle()); in reparentUpdate()
409 t.setRelativeLayer(mBGSurfaceControl, mFGSurfaceControl->getHandle(), RELATIVE_Z); in relativeParentUpdate()
417 t.reparentChildren(mBGSurfaceControl, mFGSurfaceControl->getHandle()); in reparentChildrenUpdate()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp1010 mFGSurfaceControl = mComposerClient->createSurface(String8("FG Test Surface"), 64, 64, in SetUp()
1012 ASSERT_TRUE(mFGSurfaceControl != nullptr); in SetUp()
1013 ASSERT_TRUE(mFGSurfaceControl->isValid()); in SetUp()
1015 fillSurfaceRGBA8(mFGSurfaceControl, RED); in SetUp()
1023 t.setLayer(mFGSurfaceControl, INT32_MAX - 1); in SetUp()
1024 t.setPosition(mFGSurfaceControl, 64, 64); in SetUp()
1025 t.show(mFGSurfaceControl); in SetUp()
1053 mFGSurfaceControl = 0; in TearDown()
1092 ts.setPosition(mFGSurfaceControl, 128, 128); in Test_LayerMove()
1099 fillSurfaceRGBA8(mFGSurfaceControl, GREEN); in Test_LayerMove()
[all …]