mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
The discrete tick-slider UI lands Default at the slider's mid-point, which matches how every other size control on a TV (volume, brightness, font-size sliders) works. The previous four-level asymmetric layout (two shrink steps, one growth step) was a discrete-picker decision that didn't translate well once the UI became a slider: at four slots Default sat at slot 2 of 4, off-centre. DisplaySizeLevel proto enum gains EXTRA_LARGE = 4. The Kotlin enum ordering already iterates UNRECOGNIZED last so existing UNRECOGNIZED clamps still work. The string-array and individual level string resources gain the Extra large entry. Percentages are re-tuned to be symmetric around Default with growth headroom slightly larger than shrink headroom (matches the demand signal from the upstream discussion thread): - Text: XS 82 S 92 Default 100 L 110 XL 120 - Card: XS 78 S 90 Default 100 L 115 XL 130 - Spacing: XS 75 S 88 Default 100 L 118 XL 135 The scaledSp lookup is regenerated for the new percentages and gains an XL column. The formula fallback (rounded integer math) handles any base sp not in the table. Tests assert the new Card LARGE (115%) and Spacing LARGE (118%) percentages against the dp math. |
||
|---|---|---|
| .. | ||
| config | ||
| schemas/com.github.damontecres.wholphin.data.AppDatabase | ||
| src | ||
| .gitignore | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||