~/talk

Advanced Android Canvas APIs

Talkat Droidcon London 2023 · 2023-10-26..10-27· [android]
slides:none on file

A canvas recorder is implemented to intercept and save Canvas commands for Android session replay, forwarding commands to the real Canvas while recording; a material button produces 12 drawing commands on View-based UI versus 49 calls in Jetpack Compose in the example; coordinate-space conversion uses matrix.setPolyToPoly instead of manual math; a bubble packer plus animation uses an inverted progress with postRotate/postScale to map points and draw circles.

AI-written summary · about

  1. 0:00Introduction and sponsor
  2. 3:20Session replay on Android
  3. 4:44What is Canvas API
  4. 6:56Canvas state management
  5. 7:18Performance optimizations
  6. 10:08Canvas operations in practice
  7. 12:39Jetpack Compose canvas calls
  8. 13:20Bubble chart example
  9. 15:07Matrix transformations
  10. 16:13Animated matrix effects
  11. 17:15Advanced drawing techniques
  12. 18:00Conclusion and resources
~/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.