Home
last modified time | relevance | path

Searched refs:leftLayer (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DEffectLayer_test.cpp120 sp<SurfaceControl> leftLayer = createColorLayer("Left", Color::BLUE); in TEST_F() local
128 t.setLayer(leftLayer, mLayerZBase + 1); in TEST_F()
129 t.reparent(leftLayer, mParentLayer); in TEST_F()
130 t.setCrop(leftLayer, leftRect); in TEST_F()
134 t.show(leftLayer); in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp474 sp<SurfaceControl> leftLayer; in TEST_P() local
482 ASSERT_NO_FATAL_FAILURE(leftLayer = in TEST_P()
485 fillLayerColor(leftLayer, Color::BLUE, leftRect.getWidth(), leftRect.getHeight())); in TEST_P()
496 .setLayer(leftLayer, mLayerZBase + 1) in TEST_P()
552 sp<SurfaceControl> leftLayer; in TEST_P() local
553 ASSERT_NO_FATAL_FAILURE(leftLayer = createLayer("left", size / 2, size)); in TEST_P()
554 ASSERT_NO_FATAL_FAILURE(fillLayerColor(leftLayer, Color::RED, size / 2, size)); in TEST_P()
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp738 renderengine::LayerSettings leftLayer; in fillBufferAndBlurBackground() local
739 leftLayer.geometry.boundaries = in fillBufferAndBlurBackground()
741 SourceVariant::fillColor(leftLayer, 1.0f, 0.0f, 0.0f, this); in fillBufferAndBlurBackground()
742 leftLayer.alpha = 1.0f; in fillBufferAndBlurBackground()
743 layers.push_back(&leftLayer); in fillBufferAndBlurBackground()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp966 renderengine::LayerSettings leftLayer; in fillBufferAndBlurBackground() local
967 leftLayer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillBufferAndBlurBackground()
968 leftLayer.geometry.boundaries = in fillBufferAndBlurBackground()
970 SourceVariant::fillColor(leftLayer, 1.0f, 0.0f, 0.0f, this); in fillBufferAndBlurBackground()
971 leftLayer.alpha = 1.0f; in fillBufferAndBlurBackground()
972 layers.push_back(&leftLayer); in fillBufferAndBlurBackground()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp4320 Layer leftLayer; in TEST_F() local
4323 leftLayer.mOutputLayerState.clearClientTarget = false; in TEST_F()
4324 leftLayer.mOutputLayerState.visibleRegion = Region(Rect(0, 0, 1000, 1000)); in TEST_F()
4325 leftLayer.mLayerFEState.isOpaque = true; in TEST_F()
4326 leftLayer.mLayerSettings.source.solidColor = {1.f, 0.f, 0.f}; in TEST_F()
4335 .WillRepeatedly(Return(&leftLayer.mOutputLayer)); in TEST_F()
4354 EXPECT_CALL(leftLayer.mOutputLayer, requiresClientComposition()).WillRepeatedly(Return(true)); in TEST_F()
4355 EXPECT_CALL(leftLayer.mOutputLayer, needsFiltering()).WillRepeatedly(Return(false)); in TEST_F()
4356 EXPECT_CALL(*leftLayer.mLayerFE, prepareClientCompositionList(Eq(ByRef(leftLayerSettings)))) in TEST_F()
4357 .WillOnce(Return(std::vector<LayerFE::LayerSettings>({leftLayer.mLayerSettings}))); in TEST_F()
[all …]