~/talk

Adding Stylus support to your Android app

Talkat Android Dev Summit 2022: Form Factors · on Wednesday, 2022-11-09· [android]
links:none on file
slides:none on file

Android shows how to cut stylus lag by half or more using the Low-Latency Jetpack Library that combines front- and multi-buffered rendering, targeted at the 270 million large-screen Android devices. Implementation uses GLFrontBufferedRenderer callbacks — onDrawFrontBufferedLayer for incremental strokes and onDrawDoubleBufferedLayer to re-render on commit — plus calling renderFrontBufferedLayer during moves and commit on lift. It warns to use this only for stylus ink, not full UI.

AI-written summary · about

  1. 0:00Start
  2. 0:16android dev summit
  3. 0:55Latency Sources
  4. 1:08Multi-Buffered Rendering
  5. 1:26Front-Buffered Rendering
  6. 1:50Low-Latency Jetpack Library
  7. 3:59Best Practices
~/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.