Dispatches / a short note
Don't wreck your display scaling
There is a logic behind the smallest width number. bad ratios trigger upscaling and stresses your GPUs unnecessarily with apps
To state it once and for all:
“Smallest width: 375”
THIS ISN’T DPI.
Smallest width setting sets your shorter display side length in dp units. The goal of this setting is to simulate same display size on various screens, no matter their resolution and actual size, as long as the smallest width value set by you is the same.
This means that setting your smallest width to round values is incorrect and counterproductive. It’ll cause your dpi (which is what you can look up by wm density) to move away from the values the rasterized app assets were shipped for, resulting in unnecessary scaling.
Back when smallest width wasn’t present in dev settings, CyanogenMod used to have a setting for actual dpi, equal to setting it in wm density.
What smallest width actually is is:
`px / (dpi / 160)``
So for example, the classic:
1080 / (480 / 160) = 360
So, what are the recommended actual dpi values if what you care about is for no assets to be additionally scaled?
120, 140, 160, 180, 200, 220, 240, 280, 320, 360, 400, 420, 480, 560 and 640.
Spread the awareness 🥺
Content taken from source: https://t.me/TadiBlog/584