/frameworks/base/core/tests/coretests/src/android/view/ |
D | BlurAggregatorTest.java | 67 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/ |
D | LayerSettings.h | 166 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/ |
D | LayerFE.cpp | 150 layerSettings.blurRegions = mSnapshot->blurRegions; in prepareClientCompositionInternal() 157 layerSettings.blurRegions = mSnapshot->blurRegions; in prepareClientCompositionInternal() 371 return mSnapshot->backgroundBlurRadius > 0 || mSnapshot->blurRegions.size() > 0; in hasBlur()
|
D | ScreenCaptureOutput.cpp | 122 layer.blurRegions.clear(); in generateClientCompositionRequests()
|
D | Layer.cpp | 598 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()
|
D | Layer.h | 181 std::vector<BlurRegion> blurRegions; member
|
D | SurfaceFlinger.cpp | 4926 if (layer->setBlurRegions(s.blurRegions)) flags |= eTraversalNeeded; in setClientStateLocked()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | LayerFECompositionState.cpp | 81 if (!blurRegions.empty()) { in dump() 83 for (const auto& region : blurRegions) { in dump()
|
D | Output.cpp | 915 if (compState->backgroundBlurRadius > 0 || compState->blurRegions.size() > 0) { in findLayerRequestingBackgroundComposition()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.cpp | 115 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()
|
D | LayerSnapshotBuilder.cpp | 829 snapshot.blurRegions = requested.blurRegions; in updateSnapshot() 830 for (auto& region : snapshot.blurRegions) { in updateSnapshot() 858 requested.blurRegions.size() > 0 || snapshot.stretchEffect.hasEffect(); in updateSnapshot()
|
D | RequestedLayerState.cpp | 490 return backgroundBlurRadius > 0 || blurRegions.size() > 0; in hasBlur()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFECompositionState.h | 139 std::vector<BlurRegion> blurRegions; member
|
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
D | BackgroundBlurDrawable.java | 417 private void handleDispatchBlurTransactionLocked(long frameNumber, BlurRegion[] blurRegions, in handleDispatchBlurTransactionLocked() argument 420 getBlurRegionsForFrameLocked(frameNumber, blurRegions, forceUpdate); in handleDispatchBlurTransactionLocked()
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 165 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()
|
D | SurfaceComposerClient.cpp | 1562 const sp<SurfaceControl>& sc, const std::vector<BlurRegion>& blurRegions) { in setBlurRegions() argument 1569 s->blurRegions = blurRegions; in setBlurRegions()
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaRenderEngine.cpp | 213 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/ |
D | LayerStateTest.cpp | 932 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()
|
D | CachedSetTest.cpp | 949 mTestLayers[2]->layerFECompositionState.blurRegions.push_back( in TEST_F()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.cpp | 178 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/ |
D | LayerState.h | 329 std::vector<BlurRegion> blurRegions; member
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | LayerState.h | 463 return layer->getLayerFE().getCompositionState()->blurRegions;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 4796 layer2.layerFEState.blurRegions.push_back(region); in TEST_F()
|