Lines Matching refs:layer2
1521 sp<SurfaceControl> layer2; in setAlphaBasicHelper() local
1523 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer("test 2", 32, 32, layerType)); in setAlphaBasicHelper()
1525 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerType, layer2, {0, 64, 0, 255}, 32, 32)); in setAlphaBasicHelper()
1531 .setAlpha(layer2, 0.75f) in setAlphaBasicHelper()
1532 .setPosition(layer2, 16, 0) in setAlphaBasicHelper()
1533 .setLayer(layer2, mLayerZBase + 1) in setAlphaBasicHelper()
1539 .setAlpha(layer2, 0.75f) in setAlphaBasicHelper()
1541 .setFrame(layer2, Rect(16, 0, 48, 32)) in setAlphaBasicHelper()
1542 .setLayer(layer2, mLayerZBase + 1) in setAlphaBasicHelper()
2546 sp<SurfaceControl> layer2; in TEST_P() local
2548 layer2 = createLayer("test", 32, 32, ISurfaceComposerClient::eFXSurfaceBufferState)); in TEST_P()
2559 ASSERT_NO_FATAL_FAILURE(fillBufferStateLayerColor(layer2, Color::BLUE, 32, 32)); in TEST_P()
2561 Transaction().setFrame(layer2, Rect(0, 0, 32, 32)).apply(); in TEST_P()
2579 ASSERT_NO_FATAL_FAILURE(fillBufferStateLayerColor(layer2, Color::WHITE, 32, 32)); in TEST_P()
3476 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3478 ASSERT_NO_FATAL_FAILURE(layer2 = createBufferStateLayer()); in TEST_F()
3487 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F()
3494 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3497 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
3503 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3505 ASSERT_NO_FATAL_FAILURE(layer2 = createBufferStateLayer()); in TEST_F()
3514 err = fillTransaction(transaction2, &callback2, layer2, false, true); in TEST_F()
3521 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3524 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F()
3531 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3533 ASSERT_NO_FATAL_FAILURE(layer2 = createBufferStateLayer()); in TEST_F()
3542 err = fillTransaction(transaction2, &callback2, layer2, false, true); in TEST_F()
3549 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3553 expected.addSurface(ExpectedResult::Transaction::PRESENTED, layer2, in TEST_F()
3559 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3561 ASSERT_NO_FATAL_FAILURE(layer2 = createBufferStateLayer()); in TEST_F()
3570 err = fillTransaction(transaction2, &callback, layer2); in TEST_F()
3579 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
3616 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3619 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer(client2, "test", 0, 0, in TEST_F()
3629 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F()
3636 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3639 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
3735 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3737 ASSERT_NO_FATAL_FAILURE(layer2 = createBufferStateLayer()); in TEST_F()
3747 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F()
3754 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3757 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F()
3774 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3777 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer(client2, "test", 0, 0, in TEST_F()
3788 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F()
3795 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3798 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F()
3815 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3818 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer(client2, "test", 0, 0, in TEST_F()
3830 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F()
3837 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3840 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
3870 sp<SurfaceControl> layer1, layer2; in TEST_F() local
3873 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer(client2, "test", 0, 0, in TEST_F()
3885 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F()
3892 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3895 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F()
3912 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F()
3914 expected.addSurface(ExpectedResult::Transaction::NOT_PRESENTED, layer2, in TEST_F()