diff options
| author | 2020-09-22 23:40:18 -0700 | |
|---|---|---|
| committer | 2020-10-12 16:56:58 -0700 | |
| commit | 96860dea80caa34a5459ccc6609302678e4b9671 (patch) | |
| tree | 23bdefd0a57912ef3b624f3c2365653bb2d022c1 /libs/androidfw/ResourceUtils.cpp | |
| parent | 9d6c55961016822bd728af5c13a9a7e23329efef (diff) | |
Call minikin::getBounds instead of using Layout.
This is a 2nd attempt of I3f77d2cc3843ac504c7475c7800f2526b403d933
The bounding box is not necessary for drawing text, so it is
no longer stored in the Layout object. Instead, calculate by
minikin::getBounds function.
Bug: 169114687
Test: atest PaintTest
Test: atest Paint_TextBoundsTest
Change-Id: Ib7c132b1d65369af54b636155c3bdb675415ea55
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions