diff options
author | Raph Levien <raph@google.com> | 2014-06-15 17:33:29 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2014-06-19 09:49:50 -0700 |
commit | 3d28a3fcebfed4744d1ef0307a8bdc8fc01e364c (patch) | |
tree | f0de08356315147c20a916d6dc56f66a4774a0e7 /libs/minikin/Android.mk | |
parent | bb601b67dd05947f92cc23092bfb8a059c2e3377 (diff) | |
download | android_frameworks_minikin-3d28a3fcebfed4744d1ef0307a8bdc8fc01e364c.tar.gz android_frameworks_minikin-3d28a3fcebfed4744d1ef0307a8bdc8fc01e364c.tar.bz2 android_frameworks_minikin-3d28a3fcebfed4744d1ef0307a8bdc8fc01e364c.zip |
Implement grapheme cluster breaking
This patch includes an implementation of grapheme cluster breaking,
which is especially useful for repositioning the cursor for left and
right arrow key presses. The implementation is closely based on Unicode
TR29, and uses the ICU grapheme cluster break property, but is tailored
to more closely match the existing implementation and expected behavior.
Part of a fix for b/15653110 Improve behavior of arrow keys in EditText
Change-Id: I8eb742f77039c9ab7b2838285018cf8a8fc88343
Diffstat (limited to 'libs/minikin/Android.mk')
-rw-r--r-- | libs/minikin/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/minikin/Android.mk b/libs/minikin/Android.mk index a1d88c2..fd949c2 100644 --- a/libs/minikin/Android.mk +++ b/libs/minikin/Android.mk @@ -23,6 +23,7 @@ LOCAL_SRC_FILES := \ CssParse.cpp \ FontCollection.cpp \ FontFamily.cpp \ + GraphemeBreak.cpp \ Layout.cpp \ MinikinInternal.cpp \ MinikinRefCounted.cpp \ |