diff options
| author | 2022-10-04 11:36:07 +0000 | |
|---|---|---|
| committer | 2022-10-24 10:07:20 +0000 | |
| commit | ecf8e840eb410839301feffa497a3b88c003ff50 (patch) | |
| tree | c701c01b835b53a33a2a0066232e387c4905ec77 /libs/androidfw/StringPool.cpp | |
| parent | b0d018239d08e92f8c65b87885332211dfc210c2 (diff) | |
Add support for rounded notification in groups
- Added `NotificationTargetsHelper` helps to find viewBefore/viewAfter for notifications inside of a group
- Added `Roundable` interface could be applied to Views and ViewWrappers
Interface that allows to request/retrieve top and bottom roundness (a value between 0f and 1f).
To request a roundness value, an `SourceType` must be specified.
In case more origins require different roundness, for the same property, the maximum value will always be chosen.
It also returns the current radius for all corners (`updatedRadii`).
Test: atest NotificationTargetsHelperTest
Test: Manual tests (phone and large screens)
Bug: 184682172
Change-Id: I39b96f79a00fa358b80e62dbb090f01f60b8d718
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions