Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DBlurAggregatorTest.java67 final BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in createTestBackgroundBlurDrawable() local
68 mAggregator.getBlurRegionsForFrameLocked(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.h166 std::vector<BlurRegion> blurRegions; member
218 if (lhs.blurRegions.size() != rhs.blurRegions.size()) {
221 const auto size = lhs.blurRegions.size();
223 if (lhs.blurRegions[i] != rhs.blurRegions[i]) {
326 if (settings.blurRegions.size()) { in PrintTo()
328 for (auto blurRegion : settings.blurRegions) { in PrintTo()
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp150 layerSettings.blurRegions = mSnapshot->blurRegions; in prepareClientCompositionInternal()
157 layerSettings.blurRegions = mSnapshot->blurRegions; in prepareClientCompositionInternal()
371 return mSnapshot->backgroundBlurRadius > 0 || mSnapshot->blurRegions.size() > 0; in hasBlur()
DScreenCaptureOutput.cpp122 layer.blurRegions.clear(); in generateClientCompositionRequests()
DLayer.cpp598 snapshot->blurRegions = drawingState.blurRegions; in prepareBasicGeometryCompositionState()
662 if (isHdrY410() || drawShadows() || drawingState.blurRegions.size() > 0 || in preparePerFrameCompositionState()
667 snapshot->blurRegions = drawingState.blurRegions; in preparePerFrameCompositionState()
1067 bool Layer::setBlurRegions(const std::vector<BlurRegion>& blurRegions) { in setBlurRegions() argument
1070 if (mDrawingState.blurRegions.size() == 0 || blurRegions.size() == 0) { in setBlurRegions()
1073 mDrawingState.blurRegions = blurRegions; in setBlurRegions()
2065 auto regionsCopy(getDrawingState().blurRegions); in getBlurRegions()
4233 return getBackgroundBlurRadius() > 0 || getDrawingState().blurRegions.size() > 0; in hasBlur()
DLayer.h181 std::vector<BlurRegion> blurRegions; member
DSurfaceFlinger.cpp4926 if (layer->setBlurRegions(s.blurRegions)) flags |= eTraversalNeeded; in setClientStateLocked()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DLayerFECompositionState.cpp81 if (!blurRegions.empty()) { in dump()
83 for (const auto& region : blurRegions) { in dump()
DOutput.cpp915 if (compState->backgroundBlurRadius > 0 || compState->blurRegions.size() > 0) { in findLayerRequestingBackgroundComposition()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp115 return backgroundBlurRadius > 0 || blurRegions.size() > 0; in hasBlur()
193 if (blurRegions.size() > 0) reason << " blurRegions.size()=" << blurRegions.size(); in getIsVisibleReason()
394 requested.blurRegions.size() > 0 || stretchEffect.hasEffect(); in merge()
DLayerSnapshotBuilder.cpp829 snapshot.blurRegions = requested.blurRegions; in updateSnapshot()
830 for (auto& region : snapshot.blurRegions) { in updateSnapshot()
858 requested.blurRegions.size() > 0 || snapshot.stretchEffect.hasEffect(); in updateSnapshot()
DRequestedLayerState.cpp490 return backgroundBlurRadius > 0 || blurRegions.size() > 0; in hasBlur()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h139 std::vector<BlurRegion> blurRegions; member
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java417 private void handleDispatchBlurTransactionLocked(long frameNumber, BlurRegion[] blurRegions, in handleDispatchBlurTransactionLocked() argument
420 getBlurRegionsForFrameLocked(frameNumber, blurRegions, forceUpdate); in handleDispatchBlurTransactionLocked()
/frameworks/native/libs/gui/
DLayerState.cpp165 SAFE_PARCEL(output.writeUint32, blurRegions.size()); in write()
166 for (auto region : blurRegions) { in write()
300 blurRegions.clear(); in read()
313 blurRegions.push_back(region); in read()
556 blurRegions = other.blurRegions; in merge()
DSurfaceComposerClient.cpp1562 const sp<SurfaceControl>& sc, const std::vector<BlurRegion>& blurRegions) { in setBlurRegions() argument
1569 s->blurRegions = blurRegions; in setBlurRegions()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp213 if (layer.backgroundBlurRadius > 0 || layer.blurRegions.size()) { in layerHasBlur()
727 for (auto region : layer.blurRegions) { in drawLayersInternal()
767 if (layer.blurRegions.size()) { in drawLayersInternal()
855 for (auto region : layer.blurRegions) { in drawLayersInternal()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DLayerStateTest.cpp932 layerFECompositionState.blurRegions.push_back(sBlurRegionOne); in TEST_F()
940 layerFECompositionStateTwo.blurRegions.push_back(sBlurRegionTwo); in TEST_F()
950 layerFECompositionState.blurRegions.push_back(sBlurRegionOne); in TEST_F()
957 layerFECompositionStateTwo.blurRegions.push_back(sBlurRegionTwo); in TEST_F()
990 layerFECompositionState.blurRegions.push_back(sBlurRegionOne); in TEST_F()
DCachedSetTest.cpp949 mTestLayers[2]->layerFECompositionState.blurRegions.push_back( in TEST_F()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp178 for (auto& region : layer.blurRegions) { in toProto()
445 layer.blurRegions.reserve(static_cast<size_t>(proto.blur_regions_size())); in fromProto()
449 layer.blurRegions.push_back(region); in fromProto()
/frameworks/native/libs/gui/include/gui/
DLayerState.h329 std::vector<BlurRegion> blurRegions; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h463 return layer->getLayerFE().getCompositionState()->blurRegions;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp4796 layer2.layerFEState.blurRegions.push_back(region); in TEST_F()