commit | efd38dd5046b659bd39bded00e40882e1495749e | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Sep 22 23:40:18 2020 -0700 |
committer | Seigo Nonaka <nona@google.com> | Wed Sep 23 20:09:52 2020 -0700 |
tree | 8b74747aab90a528bc8ebb01a81293957b81e6a1 | |
parent | 3c99024fdbdceeb72f6545275c68eade284b9ebb [diff] |
Call minikin::getBounds instead of using Layout. 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: I3f77d2cc3843ac504c7475c7800f2526b403d933