diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2016-12-13 17:19:58 -0800 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2016-12-14 14:10:46 -0800 |
commit | aa0af8e86278d8b0935c95a5ff06c80532bf7733 (patch) | |
tree | 0dfcabe34d92c9fa7d465b6aed418ad188d6228d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e70c9095b02ec46111c3e3677b43dab1a78e6188 (diff) |
Use TextDirectionHeuristics to detect text direction in Html
Previously, AndroidBidi was used instead, whch did a lot of extra work
just to detect a paragraph's direction. TextDirectionHeuristics stops as
soon as the direction is found, and avoids JNI too.
Bug: 21455837
Test: cts-tradefed run cts-dev --module CtsTextTestCases --test android.text.cts.HtmlTest
Change-Id: Iea196fb5ca43dca99e65a367a2da701b1c1b98b8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions