commit | f307adc83eaa33a9fdf5e58f4134c4ff3a500deb | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Fri Oct 19 19:10:02 2018 -0700 |
committer | Seigo Nonaka <nona@google.com> | Fri Oct 26 10:31:33 2018 -0700 |
tree | 26e6b85c0b46462f742c8236b8015ad3fd15191c | |
parent | ffe3226069984e6c8e3f7bf08941d74c2afd3fdc [diff] |
Do not pass context to minikin in case of Canvas.drawText Canvas.drawText don't use context info, just draw the given slice of text. By this change the performance for the long text gets back. android.text.CanvasDrawTextTest drawText_LongText_SmallWindow : 94,526 us -> 11,268 us Bug: 111638688 Test: atest CanvasDrawTextTest Change-Id: I69f8cbf4ff361d213f5d041148dbcc41ebd16c84