Searched refs:rightLayer (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/ |
D | EffectLayer_test.cpp | 121 sp<SurfaceControl> rightLayer = createColorLayer("Right", Color::GREEN); in TEST_F() local 131 t.setLayer(rightLayer, mLayerZBase + 2); in TEST_F() 132 t.reparent(rightLayer, mParentLayer); in TEST_F() 133 t.setCrop(rightLayer, rightRect); in TEST_F() 135 t.show(rightLayer); in TEST_F()
|
D | LayerTypeAndRenderTypeTransaction_test.cpp | 475 sp<SurfaceControl> rightLayer; in TEST_P() local 490 rightLayer = createLayer("Right", rightRect.getWidth(), rightRect.getHeight())); in TEST_P() 492 fillLayerColor(rightLayer, Color::RED, rightRect.getWidth(), rightRect.getHeight())); in TEST_P() 497 .setLayer(rightLayer, mLayerZBase + 2) in TEST_P() 498 .setPosition(rightLayer, rightRect.left, rightRect.top) in TEST_P()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 4321 Layer rightLayer; in TEST_F() local 4328 rightLayer.mOutputLayerState.clearClientTarget = false; in TEST_F() 4329 rightLayer.mOutputLayerState.visibleRegion = Region(Rect(1000, 0, 2000, 1000)); in TEST_F() 4330 rightLayer.mLayerFEState.isOpaque = true; in TEST_F() 4331 rightLayer.mLayerSettings.source.solidColor = {0.f, 1.f, 0.f}; in TEST_F() 4337 .WillRepeatedly(Return(&rightLayer.mOutputLayer)); in TEST_F() 4372 EXPECT_CALL(rightLayer.mOutputLayer, requiresClientComposition()).WillRepeatedly(Return(true)); in TEST_F() 4373 EXPECT_CALL(rightLayer.mOutputLayer, needsFiltering()).WillRepeatedly(Return(false)); in TEST_F() 4374 EXPECT_CALL(*rightLayer.mLayerFE, prepareClientCompositionList(Eq(ByRef(rightLayerSettings)))) in TEST_F() 4375 .WillOnce(Return(std::vector<LayerFE::LayerSettings>({rightLayer.mLayerSettings}))); in TEST_F() [all …]
|