summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2016-01-08 19:55:17 +0900
committerRaph Levien <raph@google.com>2016-01-11 14:32:55 -0800
commit5bff01d72f2a49add74dd36c8d1ed5038611f20b (patch)
tree5ca27537938802692fbe4c65c3a167c35264383d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent720edf95db6c908f87dbbb33c6bde67aedb36899 (diff)
Respect grapheme clusters in Layout#getOffsetForHorizontal.
TextUtils#getOffsetAfter was used for getting the next offset in Layout#getOffsetForHorizontal. However, this method doesn't treat grapheme clusters properly. Changed to use TextLine#getOffsetToLeftRightOf instead of TextUtils#getOffsetAfter. Bug: 25375561 Change-Id: I96c9e6e5da65adfb5266446ecab852c52628dbb5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions