summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-04-13 14:33:40 -0700
committerRoozbeh Pournader <roozbeh@google.com>2015-04-13 15:01:43 -0700
commitb51222a3010abdf3236cb00fd401b7062c28831e (patch)
tree17dc414c68c6f3e5d5bb1fc55f5f3c9e41b6af77 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7d43893bb998cb0909e021a9968ad3097246e43e (diff)
Add more firstStrong alternatives for textDirection.
The current firstStrong value of textDirection is locale-dependent, and can create problems when consistent display of text across locales of potentially different direction is desired. This adds two new values for textDirection, firstStrongLtr and firstStrongRtl, which don't use the locale or the view's direction as fallback, but explicit values of LTR or RTL. Using firstStrongLtr also guarantees the exact algorithm defined in the Unicode Bidirectional Algorithm to be used for determining direction. Bug: 13428339 Change-Id: I450d4f6b5197763ace7f9506c72cf87a90da4218
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions