~/talk

Foldables - WindowManager with MotionLayout

Talkat Google I/O 2021 · 2021-05-18..05-20· [android]
slides:none on file

Concrete recipe: use WindowManager to detect Tabletop posture and compute the fold rectangle, use MotionLayout with a ReactiveGuide to reflow the player, and keep video with ExoPlayer. The code checks foldingFeature state and horizontal orientation, intersects the fold rect with the view, offsets coordinates to view origin, handles overlap and adds the bedding in the math, then animates the guide so the player avoids the hinge.

AI-written summary · about

~/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.