Lines Matching refs:mFGSurfaceControl
1527 mFGSurfaceControl = mComposerClient->createSurface(String8("FG Test Surface"), 64, 64, in SetUp()
1529 ASSERT_TRUE(mFGSurfaceControl != nullptr); in SetUp()
1530 ASSERT_TRUE(mFGSurfaceControl->isValid()); in SetUp()
1532 fillSurfaceRGBA8(mFGSurfaceControl, 195, 63, 63); in SetUp()
1547 t.setLayer(mFGSurfaceControl, INT32_MAX - 1) in SetUp()
1548 .setPosition(mFGSurfaceControl, 64, 64) in SetUp()
1549 .show(mFGSurfaceControl); in SetUp()
1560 mFGSurfaceControl = 0; in TearDown()
1583 sp<SurfaceControl> mFGSurfaceControl; member in android::LayerUpdateTest
1599 .setRelativeLayer(relative, mFGSurfaceControl->getHandle(), 1) in TEST_F()
1608 Transaction{}.detachChildren(mFGSurfaceControl).apply(); in TEST_F()
1636 void lockAndFillFGBuffer() { fillSurfaceRGBA8(mFGSurfaceControl, 195, 63, 63, false); } in lockAndFillFGBuffer()
1639 sp<Surface> s = mFGSurfaceControl->getSurface(); in unlockFGBuffer()
1645 fillSurfaceRGBA8(mFGSurfaceControl, 195, 63, 63); in completeFGResize()
1650 t.setSize(mFGSurfaceControl, 64, 64); in restoreInitialState()
1651 t.setPosition(mFGSurfaceControl, 64, 64); in restoreInitialState()
1652 t.setCrop(mFGSurfaceControl, Rect(0, 0, 64, 64)); in restoreInitialState()
1653 t.setFinalCrop(mFGSurfaceControl, Rect(0, 0, -1, -1)); in restoreInitialState()
1688 t.setSize(mFGSurfaceControl, 128, 128); in TEST_F()
1689 t.setFinalCrop(mFGSurfaceControl, Rect(64, 64, 127, 127)); in TEST_F()
1701 t.setSize(mFGSurfaceControl, 128, 128); in TEST_F()
1702 t.setGeometryAppliesWithResize(mFGSurfaceControl); in TEST_F()
1703 t.setFinalCrop(mFGSurfaceControl, Rect(64, 64, 127, 127)); in TEST_F()
1731 t.setAlpha(mFGSurfaceControl, 0.75); in TEST_F()
1732 t.deferTransactionUntil(mFGSurfaceControl, mSyncSurfaceControl->getHandle(), in TEST_F()
1737 t.setPosition(mFGSurfaceControl, 128, 128); in TEST_F()
1738 t.deferTransactionUntil(mFGSurfaceControl, mSyncSurfaceControl->getHandle(), in TEST_F()
1761 asTransaction([&](Transaction& t) { t.setAlpha(mFGSurfaceControl, 1.0); }); in TEST_F()
1779 PIXEL_FORMAT_RGBA_8888, 0, mFGSurfaceControl.get()); in TEST_F()
1813 t1.setPosition(mFGSurfaceControl, 128, 128); in TEST_F()
1814 t2.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
1831 PIXEL_FORMAT_RGBA_8888, 0, mFGSurfaceControl.get()); in SetUp()
1853 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
1866 asTransaction([&](Transaction& t) { t.setPosition(mFGSurfaceControl, 0, 0); }); in TEST_F()
1883 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
1884 t.setCrop(mFGSurfaceControl, Rect(0, 0, 5, 5)); in TEST_F()
1899 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
1900 t.setFinalCrop(mFGSurfaceControl, Rect(0, 0, 5, 5)); in TEST_F()
1914 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
1930 asTransaction([&](Transaction& t) { t.setPosition(mFGSurfaceControl, 0, 0); }); in TEST_F()
1939 asTransaction([&](Transaction& t) { t.setMatrix(mFGSurfaceControl, 2.0, 0, 0, 2.0); }); in TEST_F()
1954 fillSurfaceRGBA8(mFGSurfaceControl, 254, 0, 0); in TEST_F()
1961 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
1978 asTransaction([&](Transaction& t) { t.setAlpha(mFGSurfaceControl, 0.5); }); in TEST_F()
1991 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
2005 t.reparentChildren(mFGSurfaceControl, mBGSurfaceControl->getHandle()); in TEST_F()
2024 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
2037 asTransaction([&](Transaction& t) { t.detachChildren(mFGSurfaceControl); }); in TEST_F()
2055 PIXEL_FORMAT_RGBA_8888, 0, mFGSurfaceControl.get()); in TEST_F()
2066 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
2079 asTransaction([&](Transaction& t) { t.detachChildren(mFGSurfaceControl); }); in TEST_F()
2096 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
2108 t.setOverrideScalingMode(mFGSurfaceControl, NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in TEST_F()
2110 t.setSize(mFGSurfaceControl, 128, 128); in TEST_F()
2129 t.setPosition(mFGSurfaceControl, 0, 0); in TEST_F()
2141 asTransaction([&](Transaction& t) { t.setSize(mFGSurfaceControl, 128, 64); }); in TEST_F()
2142 sp<Surface> s = mFGSurfaceControl->getSurface(); in TEST_F()
2146 fillSurfaceRGBA8(mFGSurfaceControl, 195, 63, 63); in TEST_F()
2165 mFGSurfaceControl.get()); in TEST_F()
2169 t.deferTransactionUntil(mChild, mFGSurfaceControl->getHandle(), in TEST_F()
2170 mFGSurfaceControl->getSurface()->getNextFrameNumber()); in TEST_F()
2180 fillSurfaceRGBA8(mFGSurfaceControl, 0, 255, 0); in TEST_F()
2182 fillSurfaceRGBA8(mFGSurfaceControl, 0, 0, 255); in TEST_F()
2184 fillSurfaceRGBA8(mFGSurfaceControl, 255, 0, 0); in TEST_F()
2186 fillSurfaceRGBA8(mFGSurfaceControl, 0, 255, 0); in TEST_F()
2193 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
2224 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
2258 t.setPosition(mFGSurfaceControl, 64, 64); in TEST_F()
2269 asTransaction([&](Transaction& t) { t.reparent(newSurface, mFGSurfaceControl->getHandle()); }); in TEST_F()
2303 .setPosition(mFGSurfaceControl, 0, 0) in TEST_F()
2330 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
2334 0, mFGSurfaceControl.get()); in TEST_F()
2346 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
2350 0, mFGSurfaceControl.get()); in TEST_F()
2364 0, mFGSurfaceControl.get()); in TEST_F()
2380 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
2384 0, mFGSurfaceControl.get()); in TEST_F()
2404 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
2408 0, mFGSurfaceControl.get()); in TEST_F()
2411 PIXEL_FORMAT_RGBA_8888, 0, mFGSurfaceControl.get()); in TEST_F()
2442 0, mFGSurfaceControl.get()); in SetUp()
2449 auto fgHandle = mFGSurfaceControl->getHandle(); in verify()
2461 SurfaceComposerClient::Transaction().hide(mFGSurfaceControl).apply(true); in TEST_F()
2469 SurfaceComposerClient::Transaction().setCrop(mFGSurfaceControl, Rect(0, 0, 1, 1)).apply(true); in TEST_F()
2477 SurfaceComposerClient::Transaction().setMatrix(mFGSurfaceControl, 2, 0, 0, 2); in TEST_F()
2484 SurfaceComposerClient::Transaction().hide(mFGSurfaceControl).apply(true); in TEST_F()
2495 auto fgHandle = mFGSurfaceControl->getHandle(); in TEST_F()
2499 0, mFGSurfaceControl.get()); in TEST_F()
2523 0, mFGSurfaceControl.get()); in TEST_F()
2538 0, mFGSurfaceControl.get()); in TEST_F()