History log of /frameworks/minikin/tests/perftests/GraphemeBreak.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b01028d1d7bc3906ef71c72ad985919f79304b5e 14-Mar-2017 Roozbeh Pournader <roozbeh@google.com> Break grapheme clusters after viramas if they end a cluster

Previously, we stayed on the conservative side and disallowed any
grapheme breaks (and thus cursoring) where a virama was followed by a
letter, since we did not know if the virama would be forming a
cluster with the letter or not. This created problems with Indic
languages with infrequent conjuncts, such as Tamil.

Now we use the information in calculated advances to find if a
cluster is formed. If there is no cluster, we break the grapheme and
allow cursoring after the virama.

Test: Unit tests added to GraphemeBreakTests and MeasurementTests.
Test: Also manually tested Tamil sequences.
Bug: 35721792
Change-Id: Ib159edb94b3ad6f693f0d3dad016b332b2cef447
/frameworks/minikin/tests/perftests/GraphemeBreak.cpp
815bc4a8fed3670682f4af3bff7df7b582bb2f4b 14-Nov-2016 Martijn Coenen <maco@google.com> Fix calls to deprecated range_x.

Test: fixes master build.
Change-Id: I8b2822d310c0cf423b15834e6d6ae3a9ea64233b
/frameworks/minikin/tests/perftests/GraphemeBreak.cpp
0ca4fb6d44160245ad2333851ac18a13fc553ec9 14-Jun-2016 Seigo Nonaka <nona@google.com> Add more native perf tests to minikin.

This CL introduces performance tests for following three modules:
- Hyphenator
- WordBreaker
- GraphemeBreak

During using UnicodeUtils, need to decouple it from gtest since
perftest doesn't have gtest dependencies.

Bug:29142734
Change-Id: I700c662fa7d0a52f19d8e93150ad1a85dc28769f
/frameworks/minikin/tests/perftests/GraphemeBreak.cpp