Home
last modified time | relevance | path

Searched refs:blurRegions (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DBlurAggregatorTest.java67 final BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in createTestBackgroundBlurDrawable() local
68 mAggregator.getBlurRegionsToDispatchToSf(TEST_FRAME_NUMBER, blurRegions, hasUpdates); in createTestBackgroundBlurDrawable()
79 BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded() local
80 assertEquals(0, blurRegions.length); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
85 blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
86 assertEquals(1, blurRegions.length); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
87 assertEquals(TEST_BLUR_RADIUS, blurRegions[0].blurRadius); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
96 BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testAlphaUpdatePropagatesToRenderThreadIfNeeded() local
97 assertEquals(1, blurRegions.length); in testAlphaUpdatePropagatesToRenderThreadIfNeeded()
98 assertEquals(20 / 255f, blurRegions[0].alpha); in testAlphaUpdatePropagatesToRenderThreadIfNeeded()
[all …]
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h164 std::vector<BlurRegion> blurRegions; member
206 if (lhs.blurRegions.size() != rhs.blurRegions.size()) {
209 const auto size = lhs.blurRegions.size();
211 if (lhs.blurRegions[i] != rhs.blurRegions[i]) {
302 for (auto blurRegion : settings.blurRegions) { in PrintTo()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp81 if (!blurRegions.empty()) { in dump()
83 for (const auto& region : blurRegions) { in dump()
DOutput.cpp786 if (compState->backgroundBlurRadius > 0 || compState->blurRegions.size() > 0) { in findLayerRequestingBackgroundComposition()
/frameworks/native/libs/gui/
DLayerState.cpp157 SAFE_PARCEL(output.writeUint32, blurRegions.size()); in write()
158 for (auto region : blurRegions) { in write()
286 blurRegions.clear(); in read()
299 blurRegions.push_back(region); in read()
428 blurRegions = other.blurRegions; in merge()
DSurfaceComposerClient.cpp1174 const sp<SurfaceControl>& sc, const std::vector<BlurRegion>& blurRegions) { in setBlurRegions() argument
1181 s->blurRegions = blurRegions; in setBlurRegions()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h137 std::vector<BlurRegion> blurRegions; member
/frameworks/native/services/surfaceflinger/
DEffectLayer.cpp151 return getBackgroundBlurRadius() > 0 || getDrawingState().blurRegions.size() > 0; in hasBlur()
DSurfaceInterceptor.cpp143 addBlurRegionsLocked(transaction, layerId, layer->mDrawingState.blurRegions); in addInitialSurfaceStateLocked()
361 const std::vector<BlurRegion>& blurRegions) { in addBlurRegionsLocked() argument
364 for (const auto blurRegion : blurRegions) { in addBlurRegionsLocked()
454 addBlurRegionsLocked(transaction, layerId, state.blurRegions); in addSurfaceChangesLocked()
DLayer.cpp424 compositionState->blurRegions = drawingState.blurRegions; in prepareBasicGeometryCompositionState()
496 if (isHdrY410() || drawShadows() || drawingState.blurRegions.size() > 0 || in preparePerFrameCompositionState()
599 layerSettings.blurRegions = getBlurRegions(); in prepareClientComposition()
607 layerSettings.blurRegions = getBlurRegions(); in prepareClientComposition()
977 bool Layer::setBlurRegions(const std::vector<BlurRegion>& blurRegions) { in setBlurRegions() argument
978 mDrawingState.blurRegions = blurRegions; in setBlurRegions()
1914 auto regionsCopy(getDrawingState().blurRegions); in getBlurRegions()
DLayer.h235 std::vector<BlurRegion> blurRegions; member
DSurfaceFlinger.cpp4068 if (layer->setBlurRegions(s.blurRegions)) flags |= eTraversalNeeded; in setClientStateLocked()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DLayerStateTest.cpp896 layerFECompositionState.blurRegions.push_back(sBlurRegionOne); in TEST_F()
904 layerFECompositionStateTwo.blurRegions.push_back(sBlurRegionTwo); in TEST_F()
914 layerFECompositionState.blurRegions.push_back(sBlurRegionOne); in TEST_F()
921 layerFECompositionStateTwo.blurRegions.push_back(sBlurRegionTwo); in TEST_F()
954 layerFECompositionState.blurRegions.push_back(sBlurRegionOne); in TEST_F()
DCachedSetTest.cpp786 mTestLayers[2]->layerFECompositionState.blurRegions.push_back( in TEST_F()
/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp796 for (auto region : layer->blurRegions) { in drawLayers()
935 for (auto region : layer->blurRegions) { in drawLayers()
1239 if (layer->backgroundBlurRadius > 0 || layer->blurRegions.size()) { in layerHasBlur()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h422 return layer->getLayerFE().getCompositionState()->blurRegions;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp4285 layer2.layerFEState.blurRegions.push_back(region); in TEST_F()