Problem
CONST.AVATAR_SIZE has confusing, overlapping names (LARGE_NORMAL < MEDIUM, LARGE_BORDERED = 80px + border baked in, one-off sizes used once). This makes avatar sizing hard to reason about and blocks clean primitive APIs.
Solution
Rename/consolidate CONST.AVATAR_SIZE to a consistent ordinal scale. Remove rarely-used sizes by mapping call sites to nearest existing size. Separate border width from size enum (e.g. LARGE_BORDERED → X_LARGE size + border via StyleUtils, not size + 8px).
PR
#95275
Origin
#94682 (comment)
Dependencies
Independent of M1/M3/M4 but touches many of the same files — coordinate merge/rebase with M1.
Issue Owner
Current Issue Owner: @jmusial
Problem
CONST.AVATAR_SIZEhas confusing, overlapping names (LARGE_NORMAL<MEDIUM,LARGE_BORDERED= 80px + border baked in, one-off sizes used once). This makes avatar sizing hard to reason about and blocks clean primitive APIs.Solution
Rename/consolidate
CONST.AVATAR_SIZEto a consistent ordinal scale. Remove rarely-used sizes by mapping call sites to nearest existing size. Separate border width from size enum (e.g.LARGE_BORDERED→X_LARGEsize + border viaStyleUtils, not size + 8px).PR
#95275
Origin
#94682 (comment)
Dependencies
Independent of M1/M3/M4 but touches many of the same files — coordinate merge/rebase with M1.
Issue Owner
Current Issue Owner: @jmusial