commit | 96860dea80caa34a5459ccc6609302678e4b9671 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <[email protected]> | Tue Sep 22 23:40:18 2020 -0700 |
committer | Seigo Nonaka <[email protected]> | Mon Oct 12 16:56:58 2020 -0700 |
tree | 23bdefd0a57912ef3b624f3c2365653bb2d022c1 | |
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