question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blur Algorithm and Android 13

See original GitHub issue

Please include:

  1. 2.0.1
  2. Pixel 6 with Android 13

We are using blurview to perform blurred overlay behind loader and dialog. It works perfectly fine until Android 13. On Android 13 when a textfield is shown and focused within Dialog with blurred background, we got a blinking background… (the blinking/redraw seems to occurred when a letter is drawn or when the cursor blink) We are using RenderScriptBlur .setBlurAlgorithm(RenderScriptBlur(rootview.context)) but it is now deprecated. We try to switch to RenderEffectBlur (that is also deprecated ?) with setBlurAlgorithm(RenderEffectBlur(this, RenderEffectPrecision.EXACT)) and it seems to work fine (RenderEffectPrecision.DOWNSCALED make a blinks each time in every case).

My question is what script we must used ? the all two are now deprecated and android 13 seems to be tricky 😦 The visual render is a little bit different between the two scripts ?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Dimeziscommented, Jul 19, 2022

Ah, for some reason Jitpack decided to execute some unrelated tasks. Weird. Try fetching the 2.0.2 now

1reaction
Dimeziscommented, Jul 18, 2022

@GuillaumeBourge Version 2.0.2 undeprecates the RenderEffectBlur back 😅 It’s now completely rewritten in a much more efficient (and sane) way

Read more comments on GitHub >

github_iconTop Results From Across the Web

Window blurs | Android Open Source Project
Background blur allows you to create windows with blurred backgrounds, creating a frosted glass effect. Blur behind allows you to blur the ...
Read more >
Blurring the Lines. Android RenderEffects #1 - Medium
Blurring the Lines · First, A Word about Drawing on Android · And Then There is RenderEffect · Blurred Vision · Example.
Read more >
Android 13 changelog: A deep dive by Mishaal Rahman
This is everything you need to know about new Android 13 features, its release date, and API changes for developers.
Read more >
Pixel 7 camera features: Macro Focus, Cinematic Blur, and more
You can even apply this to existing images within Google Photos app on Pixel 7 and 7 Pro. Enhanced machine learning algorithms are...
Read more >
The Google Pixel 7 can unblur your photos after you've taken ...
It can remove blur from pictures, even from other phones. ... paired with a machine learning algorithm to ensure that pictures look as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found