commit | 4c1f12efcf24e404df40f19075eb95a148a9d6a1 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Mon Mar 02 16:29:23 2015 -0800 |
committer | Raph Levien <raph@google.com> | Thu Mar 05 10:07:33 2015 -0800 |
tree | ceea0bfa44ab8d9ca188325bcf42487d867c6e1f | |
parent | d3ab692d28018825578ff05832644cfad60233fb [diff] |
Add JNI StaticLayout.Builder This patch adds a native C++ Builder object for StaticLayout to complement the Java one introduced in a previous patch. The Builder object contains state used in constructing a layout, as well as temporary buffers, to avoid having to allocate such. In particular, it holds a break iterator, so avoids the cost of constructing that in the common case of a single locale. Change-Id: I1125103b7ccf00b8674c1586c3ea8d5d915fdd5b