Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTransitionAnimatorTest.kt81 val backgroundLayer = GradientDrawable().apply { alpha = 0 } in <lambda>() constant
82 val animator = setUpTest(backgroundLayer, isLaunching = true) in <lambda>()
84 val recordedMotion = recordMotion(backgroundLayer, animator) in <lambda>()
91 val backgroundLayer = GradientDrawable().apply { alpha = 0 } in <lambda>() constant
92 val animator = setUpTest(backgroundLayer, isLaunching = false) in <lambda>()
94 val recordedMotion = recordMotion(backgroundLayer, animator) in <lambda>()
101 val backgroundLayer = GradientDrawable().apply { alpha = 0 } in <lambda>() constant
103 setUpTest(backgroundLayer, isLaunching = true, fadeWindowBackgroundLayer = false) in <lambda>()
105 val recordedMotion = recordMotion(backgroundLayer, animator) in <lambda>()
112 val backgroundLayer = GradientDrawable().apply { alpha = 0 } in <lambda>() constant
[all …]
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerLifecycleManager.cpp234 RequestedLayerState* backgroundLayer = newLayers.back().get(); in applyTransactions() local
235 backgroundLayer->bgColorLayer = true; in applyTransactions()
236 backgroundLayer->handleAlive = false; in applyTransactions()
237 backgroundLayer->parentId = layer->id; in applyTransactions()
238 backgroundLayer->z = std::numeric_limits<int32_t>::min(); in applyTransactions()
239 backgroundLayer->color = layer->bgColor; in applyTransactions()
240 backgroundLayer->dataspace = layer->bgColorDataspace; in applyTransactions()
241 layer->bgColorLayerId = backgroundLayer->id; in applyTransactions()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp1091 renderengine::LayerSettings backgroundLayer; in fillBufferAndBlurBackground() local
1092 backgroundLayer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillBufferAndBlurBackground()
1093 backgroundLayer.geometry.boundaries = fullscreenRect().toFloatRect(); in fillBufferAndBlurBackground()
1094 SourceVariant::fillColor(backgroundLayer, 0.0f, 1.0f, 0.0f, this); in fillBufferAndBlurBackground()
1095 backgroundLayer.alpha = 1.0f; in fillBufferAndBlurBackground()
1096 layers.emplace_back(backgroundLayer); in fillBufferAndBlurBackground()
1136 renderengine::LayerSettings backgroundLayer; in fillSmallLayerAndBlurBackground() local
1137 backgroundLayer.sourceDataspace = ui::Dataspace::V0_SRGB_LINEAR; in fillSmallLayerAndBlurBackground()
1138 backgroundLayer.geometry.boundaries = fullscreenRect().toFloatRect(); in fillSmallLayerAndBlurBackground()
1139 SourceVariant::fillColor(backgroundLayer, 1.0f, 0.0f, 0.0f, this); in fillSmallLayerAndBlurBackground()
[all …]
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp732 renderengine::LayerSettings backgroundLayer; in fillBufferAndBlurBackground() local
733 backgroundLayer.geometry.boundaries = fullscreenRect().toFloatRect(); in fillBufferAndBlurBackground()
734 SourceVariant::fillColor(backgroundLayer, 0.0f, 1.0f, 0.0f, this); in fillBufferAndBlurBackground()
735 backgroundLayer.alpha = 1.0f; in fillBufferAndBlurBackground()
736 layers.push_back(&backgroundLayer); in fillBufferAndBlurBackground()
/frameworks/native/services/surfaceflinger/tests/
DLayerTypeAndRenderTypeTransaction_test.cpp668 sp<SurfaceControl> backgroundLayer; in TEST_P() local
669 ASSERT_NO_FATAL_FAILURE(backgroundLayer = createLayer("background", size, size)); in TEST_P()
670 ASSERT_NO_FATAL_FAILURE(fillLayerColor(backgroundLayer, Color::GREEN, size, size)); in TEST_P()