~/talk

Android Graphics: Blurring the Lines

Talkat droidcon London 2022 · 2022-10-27..10-28· [android, web-animation]
slides:none on file

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

  1. 0:00Introduction and talk overview
  2. 2:52How drawing works on Android
  3. 8:25Introduction to pixel shaders
  4. 16:48Blurs and frosted glass effects in UIs
  5. 22:25Combining blurs and shaders for UI effects
  6. 24:53Future of Android graphics APIs
  7. 25:35Q&A and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.