~/talk

Android Graphics: the Path to [UI] Riches

Talkat Android Makers by droidcon 2023 · 2023-04-27..04-28· [android, web-animation]
slides:none on file

Overview of concrete changes and demos: history from Skia (2005) explains why canvas and Paint are stateful and awkward—Paint accumulates 27 constants and tangled text APIs—allocations drove mutable APIs. Canvas moves to GPU (2011); Android adds hardware bitmaps, blend modes (Android 11), RenderEffect blurs (12) and runtime shaders (13). Kotlin + Jetpack bring clearer APIs and backports (path iterator to API 21). New Graphics Shapes library (alpha) produces rounded polygons and constrained morphing that actually animates; demos and GitHub code run and illustrate outcomes.

AI-written summary · about

  1. 0:00Android Graphics APIs intro
  2. 1:08Origins of Android’s Graphics APIs
  3. 2:14Immediate Mode vs Stateful Canvas
  4. 3:18Paint class overload issues
  5. 4:42Stateful Canvas and Paint side effects
  6. 6:04Bitmap Shader inconsistencies
  7. 7:07Legacy allocation constraints
  8. 9:58Primitive types and binary compat
  9. 10:39View drawing in Android 1.0
  10. 11:00Fake 3D in Skia
  11. 12:03Opaque objects missing info
  12. 13:28Undocumented APIs and Camera
  13. 14:12Poorly Documented Path Effects
  14. 14:55Color Matrix documentation
  15. 15:16Hidden Canvas features
  16. 16:45Path measurement and animation
  17. 17:07Boolean operations on paths
  18. 17:49Color filters explained
  19. 20:37Live demo: Color filters
  20. 22:01Gradients creative uses
  21. 23:03Evolution of Graphics APIs
  22. 23:44GPU acceleration and bitmaps
  23. 24:25Blend modes and Porter-Duff
  24. 25:29Blur effects in Android 12
  25. 25:50Runtime shaders for effects
  26. 27:33Modern Android graphics with Kotlin
  27. 28:16Kotlin for Graphics APIs
  28. 29:41Jetpack graphics extensions
  29. 31:46Canvas in Jetpack Compose
  30. 32:51Path Inspection API in U
  31. 33:56Graphics Shapes Library
  32. 37:45Shape morphing automation
  33. 39:52Future path features
  34. 40:55Stateless Canvas redesign
  35. 41:15Conclusion
~/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.