You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Walk the widget's twelve sizes on a real launcher, at two font scales #113
Part of #109. Outstanding since #82, and the reason it is still outstanding is that a launcher is not something a cloud session has.
Why it needs doing twice over, not once. Two separate defects live at the two ends of this:
Round every block in the widget to the surface that holds it #82 made every block inside the widget round itself to the padding of its size class. The twelve rungs differ by a factor of two, so a rounding defect is invisible at one size and obvious at another. The corner half needs Android 31 or later to exist at all.
Audit nine areas, and fix the twenty-four defects it found #83 added the font-scale axis: the ladder measures in dp and its type sizes are in sp, which at «Настройки → Экран → Размер шрифта» turned to its largest are about twice apart. The old build chose a rung for about twice the content it could draw — «ПЕРЕ…» for the state word, chips over a third of the surface, the bottom rows off the edge.
The walkthrough: drop the widget small, look at the corners and at the seven day chips; drag it to four cells wide and tall and look again; then turn the system font to its largest and repeat both.
What an emulator can and cannot do here. It can pin the widget and screenshot it, and the font scale is a setting like any other. Resizing is a launcher gesture, so it is hands-on either way. And note that a Glance widget is drawn by the launcher's process: dumpsys gfxinfo on the app says nothing about it, so «does it feel slow» is not measurable from the app side at all.
WidgetSizeClassTest reproduces the launcher's nearest-breakpoint rule and passes; what it cannot see is what the chosen rung actually looks like.
Four launcher sizes seen on an emulator (AVD Pixel_10_Pro_XL, API 37 (google_apis_playstore, x86_64, 1344×2992 at 480 dpi), 26–27 September 2026), not twelve rungs. The Pixel launcher resizes by cells, and the home screen had neighbours:
2×1: «ДЗ на послезавтра · 3 предмета».
2×2, about 195×226 dp, which lands on LARGE and cuts «Алгебра в 08:…».
The picker's preview was «Couldn't add widget.» on every launcher from API 31 — #167, fixed in #186. A redraw inside a live Glance session drew the old snapshot — #168, fixed. The one-line sizes said «0 предметов» — #173, fixed.
Left open for the other eight rungs and for the corner radii on a real launcher.
Activity
lumenpearson commentedon Sep 26, 2026
Four launcher sizes seen on an emulator (AVD
Pixel_10_Pro_XL, API 37 (google_apis_playstore, x86_64, 1344×2992 at 480 dpi), 26–27 September 2026), not twelve rungs. The Pixel launcher resizes by cells, and the home screen had neighbours:The picker's preview was «Couldn't add widget.» on every launcher from API 31 — #167, fixed in #186. A redraw inside a live Glance session drew the old snapshot — #168, fixed. The one-line sizes said «0 предметов» — #173, fixed.
Left open for the other eight rungs and for the corner radii on a real launcher.