You may not believe it, You take a blurred frosted glass image as a foreground image, place it on top of the image that needs to be blurred, scroll this image, and you can see the "real-time blurring" effect. The correct method is to intercept the rect in real time as the calculated area, and use renderscript's blur algorithm to calculate the return display, which is ok, and the response speed is also okay
You may not believe it,
You take a blurred frosted glass image as a foreground image, place it on top of the image that needs to be blurred, scroll this image, and you can see the "real-time blurring" effect.
The correct method is to intercept the rect in real time as the calculated area, and use renderscript's blur algorithm to calculate the return display, which is ok, and the response speed is also okay
Portal: github: Search - android blur
p.s. If you need to dynamically set the blur level, it is not advisable to directly use the image as a mask.