Android Graphics: Blurring the Lines
summary
Android now exposes a render effect API to apply system blurs and color ops to whole views, plus an AGSL runtime shader that runs per pixel; a demo combines a system blur, a custom box-blur sampling shader and a translucent gradient “frost” to make caption text readable over images. Important gotchas: passing a blur radius of zero crashes; blurring a transparent TextView doesn’t capture background pixels. The final solution uses two render nodes and an optional compositing layer and it works.
AI-written summary · about
chapters (7)
- 0:00Introduction and talk overview
- 2:52How drawing works on Android
- 8:25Introduction to pixel shaders
- 16:48Blurs and frosted glass effects in UIs
- 22:25Combining blurs and shaders for UI effects
- 24:53Future of Android graphics APIs
- 25:35Q&A and closing remarks
related talks
16mAndroid Graphics
36mThe Evolution of Android Graphics in Android 12/13
42mAndroid Graphics: the Path to [UI] Riches
43mPixel with Superpowers: Modern Android UI with AGSL Shaders
40mAndroid Graphics Performance
40mThe Evolution of Android Graphics
34mUnlocking the Power of Shaders in Android with AGSL and Jetpack Compose
51mHow Android Rendering Works ...
