28c5b4d50889a52fa769652704c899b5e4e570b9 |
|
25-Oct-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Fallback hyphenation for minority Indic languages Minority Indic languages now fallback to available patterns for an existing major language written in the same script, since the Indic patterns are script-based anyway. Change-Id: Ie04b97904e2b7d1b4c1fcd2f3cfc41f76ed8c7d9 Fixes: 67751731 Test: mmm -j frameworks/base/core/jni
/frameworks/base/core/jni/android_text_Hyphenator.cpp
|
7e04dd1859f51c77e5a24f79bcb909b91da48c4b |
|
14-Oct-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Enable patterns for Belarusian and Latin languages The native frameworks code now knows about Belarusian and Latin patterns. Also, the fontchain_lint tool needed to know the script for any hyphenation patterns added, and now it does. Bug: 65626527 Test: make -j fontchain_lint Change-Id: I747cbb5ea3d36ca63335bfe6b337fad1e75ee79b
/frameworks/base/core/jni/android_text_Hyphenator.cpp
|
f90c9b6437304d95344a1b29448ed1a0f2b95f76 |
|
09-Oct-2017 |
Seigo Nonaka <nona@google.com> |
Move hyphenator mapping to native code. This CL contains the following changes: - Replace Hyphenator mapping in Java with minikin::HyphenatorMap. - Remove locale tracking code from StaticLayout.java - Stop creating Hyphenator pointer array in StaticLayout. Bug: 65024629 Bug: 67319341 Test: bit CtsTextTestCases:* Test: bit FrameworksCoreTests:android.text. Test: bit FrameworksCoreTests:android.widget.TextViewTest Change-Id: Ib88c8e816c70959057abe296cc434ddb70bc397a
/frameworks/base/core/jni/android_text_Hyphenator.cpp
|
44a1df2cf3857692ca95149d4fa70017982f2211 |
|
01-Sep-2017 |
Seigo Nonaka <nona@google.com> |
Keep locale info in Hyphenator. Even if the same data file is used, different hyphenation is applied based on the locale. Now Hyphenator keeps locale and use it for hyphenation. Bug: 65024629 Test: bit CtsTextTestCases:android.text.cts.StaticLayoutTest Test: bit CtsTextTestCases:android.text.cts.DynamicLayoutTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Change-Id: I7e2ece979181d12ac1adbede14995ec9b7b87d21
/frameworks/base/core/jni/android_text_Hyphenator.cpp
|