Progress: implement the flat end for the value bar
This change implements the flat end for the value bar based on the latest design. Instead of using drawRoundRect to draw rounded value bar, this change uses drawRect to draw the flat end and uses clipRRect to have rounded corners at both ends of the track. This change also addresses the issue where the value bar is not rendered correctly when the value is very small (see the associated bug for details) Bug: 997873 Change-Id: I2f6e9704e6092ea274c9cb9dbe7b2d7b8a7b8c18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1858437Reviewed-by:Kent Tamura <tkent@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Alex Keng <shihken@microsoft.com> Cr-Commit-Position: refs/heads/master@{#705826}
Showing





