summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Xiaowen Lei <xilei@google.com> 2025-01-02 18:34:47 +0000
committer Xiaowen Lei <xilei@google.com> 2025-01-08 07:55:56 +0000
commitef7cce266ca0592f7f7cef61c63e2eea56552393 (patch)
tree56108b33c703ceacd5cc45e3c8d257f16ab84caf /libs/androidfw/StringPool.cpp
parentddd8f08c0d6d59ae2c30db925f54dd0a9659736b (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions