Each Library rebuild combined every loaded page, filtered playlist tracks
and regrouped the in-memory History snapshot up to three times, so the
section cache never hit and every row's month was formatted again. The
results are now memoized per input identity, with identical output.
The Library's letter and month sections showed their label in a chip
centered between two rails, which sat away from the rows it names.
Material headers are the start-aligned primary title again, as in
Mornye, and the sections no longer carry the month data that only the
chip used.
M3EButtonGroup autofocuses its first segment. On desktop that took focus
from the shortcuts' idle node, so Space pressed the segment instead of
toggling playback on the Library songs and albums pages, in Settings rows
with a segmented choice and in the equalizer.
MaterialExpressiveScope can now keep its child from taking focus as it
mounts. The group's segments stay unfocusable until the mounting frame's
autofocus pass has run, then Tab and clicks reach them as before.
Also drops two unneeded imports from the songs table test.
DESIGN.md asks Material library toolbars for a connected button group
instead of loose buttons, date-grouped lists for a centered date chip
between short rails, and related controls to share one silhouette.
- Sort, Filters and the list/grid switch on the Songs, Singles and
Albums pages form one connected M3EButtonGroup with nothing selected.
Sort keeps the current order as its label, Filters keeps its label,
badge and long-press reset, and the view switch keeps its tooltip.
The group is 44dp on phones and 40dp on desktop, and a padded hit
area keeps the 48dp target. The desktop sort menu still opens below
the sort button. Mornye and reduced motion keep separate buttons.
- Section headers become a centered chip on secondaryContainer between
two outlineVariant rails, with primaryContainer for the current month.
Sections remember their month, so the header does not parse labels.
The header stays opaque for pinning and keeps its header semantics.
- Material empty Library pages drop the Home button, which repeats the
navigation destination; the empty Playlists page offers Create
playlist instead.
Use directional insets, alignments, positions and borders so Arabic and
other RTL locales lay out from the right. Mornye chevrons use the
CupertinoIcons glyphs that match text direction, synced lyric voices
align to start and end, and transport controls, seek bars and progress
stay left to right as media timelines do.
The Library Songs page shows the desktop table, sorted through the Library sort modes, and song rows and cards select on click, play on double click and open the selection's menu on right-click. Playlists, folders, albums, artists and queued downloads get menus, album tiles show a play button on hover, and the sort and filter choices open as menus on desktop.
Reduce repeated artwork readbacks, lyric layout and subscriptions, and animation rebuilds. Virtualize Library sections and Settings search, bound artwork decoding, batch queue restoration, and honor reduced motion.
Add shared player benchmarks with 60/90/120 Hz budgets and regression coverage for lifecycle, scrolling, and accessibility. Verified with 337 host tests, six Android profile suites, scoped analysis, formatting, and diff checks.
The month-year DateFormat was rebuilt for every loaded row and every
fast-scroller drag label; it is now cached per locale tag. Constant-pattern
RegExp objects built per call (or per word) are now static or top-level.