Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bcd39307 authored by Jernej Virag's avatar Jernej Virag
Browse files

Animate clock fonts with fewer discrete steps

Currently we're churning a big amount of memory allocating many
variations of font glyphs as we're transitioning between clock states.
That causes a significant amount of allocations, jank possibilities and
memory bloat.

This reduces the amount of taken font variations to, at most, 30 which
significantly increases the amount of font cache hits in
FontInterpolator and reduces the amount of memory we allocate for
glyph paths.

Visually, the difference isn't noticable.

Bug: 275486055
Test: tested visually on foldable and Cheetah on udc-dev builds
Change-Id: I99dd4108eef34156c4f8f79bbb042703325ed82d
parent 247df587
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment