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

Skip to content
Commit ef7cce26 authored by Xiaowen Lei's avatar Xiaowen Lei
Browse files

Stretch and rescale segments to satisfy minimum width requirement.

The same function also returns the location of the progress on the
rescaled progress bar, which is used to calculate the tracker position.

The fallback option (for when it's impossible to satisfy the segment
minimum width) will be implemented in a separate CL following this one.

Flag: android.app.api_rich_ongoing
Bug: 372908709
Bug: 383566179
Bug: 383564913
Test: NotificationProgressBarTest
Test: Post ProgressStyle notifs via test app
Test: patch ag/30006048 and run ProgressStyleNotificationScreenshotTest
Change-Id: Ieb551182a9823d7231db345fcdf4a8d09ad4acaa
parent ddd8f08c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment