commit | 3c44a029be135cf36633c0ad4bbb3696864dca12 | [log] [tgz] |
---|---|---|
author | Ana Salazar Maldonado <anasalazar@google.com> | Wed Nov 13 10:58:45 2024 -0800 |
committer | Ana Salazar Maldonado <anasalazar@google.com> | Fri Nov 15 10:14:13 2024 -0800 |
tree | 4d62984740be674e6080e1a45a59f5825c7667ab | |
parent | bda5d70e03b1bd364df79c2c7b238dfde80aa6e6 [diff] |
Draw contrast tile around the text If the BubbletTextView should have an app contrast tile, account for some padding between the tile and the text when measuring the view, so that the text is guaranteed to be inside of the bubble. In a similar way, recalculate the bounds of the tile to only surround the app title as needed. Bug: 341217082 Flag: com.android.launcher3.enable_contrast_tiles Test: Manual, visual change Change-Id: I9e8b149ade3fa4522e62b89c2332195f648b190f