diff options
author | Raph Levien <raph@google.com> | 2015-03-04 10:41:30 -0800 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2015-03-13 10:11:57 -0700 |
commit | 70616ecd22fafccf2fab7565ccfbb3b5f91c5580 (patch) | |
tree | a564de1bc1b4dc9d764b2d7ba2f5958f6c634a41 /tools/aapt2/JavaClassGenerator_test.cpp | |
parent | 044644c71722c8094a69d7bc8e68f73032bf5c7c (diff) |
Start moving text measurement into native code
We want to move text measurement into native code, mostly so that
alternate measurement for hyphens can be performant. This patch begins
that migration, in the main StaticLayout case, but still surfaces the
widths array to Java (for ellipsis calculation), and also includes a
hack (used mostly for testing) for computing widths in Java and sending
them down to native code when TextPaint is subclassed.
Change-Id: I476c9e8b3aa8e4e3552eb18f66c4bcd5683f3a72
Diffstat (limited to 'tools/aapt2/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions